Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Drive Space Incorrect Raid 5

    Scheduled Pinned Locked Moved Hardware
    19 Posts 4 Posters 986 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DaddyGoD
      DaddyGo @chrisfox75
      last edited by DaddyGo

      @chrisfox75

      Hi,

      how did you set up RAID 5?

      • by H710 RAID setup? (Press CTRL-R during boot)
      • or with the pfSense installer? (FreeBSD)

      What do you want to achieve with TBs on pfSense?

      it is absolutely unnecessary, because:
      https://docs.netgate.com/pfsense/en/latest/book/hardware/minimum-hardware-requirements.html

      in most cases we use 16GB / 32GB SSDs (unfortunately they are no longer available), so they remained 64 /128 vagy 256 GB

      RAID is not absolutely necessary, unless it is a high-availability environment...

      by the way, if you are already running such a powerful machine for pfSense
      why not configured with ZFS RAID? (via pfSense installer)

      Note:

      1. the hardware (H710) is supported under FreeBSD 11.3, this should not be a problem
      2. pfSense is not a database server....😉

      +++++edit:
      suggestion, visit here and perform tests:

      d5eeab2f-4ced-4c1c-8f8a-8e7e4a79e0a2-image.png

      Cats bury it so they can't see it!
      (You know what I mean if you have a cat)

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        @DaddyGo said in Drive Space Incorrect Raid 5:

        What do you want to achieve with TBs on pfSense?

        That is a very good question - curious minds want to know ;)

        When you install pfsense it will create the partition on your disk/array for its use.. This is what df would show.. That partition size.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          The output of geom disk list might be more useful here.

          C 1 Reply Last reply Reply Quote 0
          • C
            chrisfox75 @stephenw10
            last edited by

            @stephenw10

            This is interesting geom disk list reports the correct size even though df -h does not.

            Geom name: mfid0
            Providers:
            1. Name: mfid0
               Mediasize: 9000103968768 (8.2T)
               Sectorsize: 512
               Mode: r2w2e7
               descr: (null)
               ident: (null)
               rotationrate: unknown
               fwsectors: 63
               fwheads: 255
            
            DaddyGoD 1 Reply Last reply Reply Quote 0
            • DaddyGoD
              DaddyGo @chrisfox75
              last edited by DaddyGo

              @chrisfox75

              because everything is fine with the disks / array 😂
              take this into account @johnpoz "When you install pfsense it will create the partition on your disk/array for its use.. This is what df would show.. That partition size." !!!!

              Cats bury it so they can't see it!
              (You know what I mean if you have a cat)

              1 Reply Last reply Reply Quote 0
              • C
                chrisfox75
                last edited by

                The partition size on installation was the full size of the array when installed so why the discrepency.. As i wrote in my first post, this happened 2 different times 2 different machines and different drives. Partition size reflects array size but DF -H does not report the correct partition size.

                DaddyGoD 1 Reply Last reply Reply Quote 0
                • DaddyGoD
                  DaddyGo @chrisfox75
                  last edited by

                  @chrisfox75

                  then again, back here:

                  "how did you set up RAID 5?

                  by H710 RAID setup? (Press CTRL-R during boot)
                  or with the pfSense installer? (FreeBSD)"

                  Cats bury it so they can't see it!
                  (You know what I mean if you have a cat)

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    chrisfox75 @DaddyGo
                    last edited by

                    @DaddyGo said in Drive Space Incorrect Raid 5:

                    H710 RAID setup?

                    H710 RAID setup

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      chrisfox75 @chrisfox75
                      last edited by

                      Advanced Properties
                      Status	 
                      Name	Virtual Disk 0
                      Device Description	Virtual Disk 0 on Integrated RAID Controller 1
                      State	Online
                      Layout	RAID-5
                      Size	8382.00 GB
                      Span Count	1
                      Block Size	512 bytes
                      Bus Protocol	SAS
                      Media Type	HDD
                      Operational State	Not Applicable
                      Read Policy	Adaptive Read Ahead
                      Write Policy	Write Back
                      Stripe Size	64K
                      Disk Cache Policy	Default
                      Enhanced Cache	Not Applicable
                      Progress	Not Applicable
                      Bad Blocks Found	No
                      Secured	No
                      Remaining Redundancy	1
                      T10 PI Status	Disabled
                      Controller	PERC H710 Mini (Embedded)
                      View Physical Disks
                      
                      DaddyGoD 1 Reply Last reply Reply Quote 0
                      • DaddyGoD
                        DaddyGo @chrisfox75
                        last edited by DaddyGo

                        @chrisfox75

                        it depends on a hardware-based RAID and Dell card
                        configure ZFS arrays (RAID 5) with pfSense installer

                        +++++edit:

                        genuine Dell stuff is not supported under FreeBSD - by Dell
                        do you see FreeBSD OP system somewhere here?

                        23f1907e-4d82-4a56-bb67-2a615a60f184-image.png

                        9a5f19c3-d4d3-4753-a3f3-25bd224dec4b-image.png

                        Cats bury it so they can't see it!
                        (You know what I mean if you have a cat)

                        C 2 Replies Last reply Reply Quote 0
                        • C
                          chrisfox75 @DaddyGo
                          last edited by

                          @DaddyGo

                          My Perc H710 does not have IT mode enabled its running as a dell card, i dont see a benefit in running ZFS software raid when the hardware raid runs just fine

                          I wonder if i went wrong was with the partition scheme during setup

                          I used MBR - Dos Partitions not sure how that would matter unless there is a size limit on the partition that i dont know about and really what option should be used? But after selecting MBR i did see all of the partitions and their correct sizes that they should have been, if the array is reporting correctly why isnt the OS reporting the same

                          Someone else has had to run into this before. Doubt it has anything to do with pfSense, its all FreeBSD

                          1 Reply Last reply Reply Quote 0
                          • C
                            chrisfox75 @DaddyGo
                            last edited by

                            @DaddyGo said in Drive Space Incorrect Raid 5:

                            @chrisfox75

                            it depends on a hardware-based RAID and Dell card
                            configure ZFS arrays (RAID 5) with pfSense installer

                            +++++edit:

                            genuine Dell stuff is not supported under FreeBSD - by Dell
                            do you see FreeBSD OP system somewhere here?

                            23f1907e-4d82-4a56-bb67-2a615a60f184-image.png

                            9a5f19c3-d4d3-4753-a3f3-25bd224dec4b-image.png

                            If FreeBSD is not compatible then tell me why for one it is running and why you just said

                            " It depends on a hardware-based RAID and Dell card
                            configure ZFS arrays (RAID 5) with pfSense installer "

                            So now your saying if i reconfigure the partitions as ZFS it will report correctly and run fine when your paste of the controller said the opposite?

                            DaddyGoD 1 Reply Last reply Reply Quote 0
                            • DaddyGoD
                              DaddyGo @chrisfox75
                              last edited by DaddyGo

                              @chrisfox75

                              We run Dell R210II hardwares (3 pcs.) with PERC H200 in native mode...

                              the ZFS is a high-security file system, that’s a fact
                              therefore, we use RAID 5 mode on these pfSense devices

                              and yes we configured the RAID mode with the pfSense installer
                              works fantastic

                              BTW:
                              FreeBSD supports this card (H710)
                              otherwise, Dell will not address FreeBSD compatibility

                              I think no one in this world...
                              have not yet installed TBs (gigamegaterrepeta) of HDD / SSDs for pfSense
                              pointless and damn unsafe
                              large hard drives consume a lot of power

                              this is an NGFW / router!

                              Cats bury it so they can't see it!
                              (You know what I mean if you have a cat)

                              C 1 Reply Last reply Reply Quote 0
                              • C
                                chrisfox75
                                last edited by

                                So basically if i dont conform and rebuild this box using ZFS this thing will never report the correct drive space to the OS. Obviously something is just strange here..

                                DaddyGoD 1 Reply Last reply Reply Quote 0
                                • DaddyGoD
                                  DaddyGo @chrisfox75
                                  last edited by

                                  @chrisfox75

                                  Juppp,

                                  okay, I don't think anyone can answer that for you
                                  because no one makes such a crazy configuration
                                  everyone here deals with the basic (advanced) operation of the firewall and gives advice

                                  so experiment as described above

                                  I’ve worked with Dell a lot in the past, so my opinion is that the issue here is this hardware RAID software RAID

                                  if you want to be absolutely sure, throw up a FreeBSD 12 ..... on this "iron" and see what happens

                                  I don't think so(!!!!!), but it could also be that pfSense itself doesn't see it anymore.....TBs
                                  because it makes no sense, anyway

                                  Cats bury it so they can't see it!
                                  (You know what I mean if you have a cat)

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    chrisfox75 @DaddyGo
                                    last edited by

                                    @DaddyGo

                                    I think no one in this world...
                                    have not yet installed TBs (gigamegaterrepeta) of HDD / SSDs for pfSense
                                    pointless and damn unsafe
                                    large hard drives consume a lot of power

                                    this is an NGFW / router!

                                    I have built numerous Checkpoint Firewalls over the years running TB's of storage for customers, and for at the time the largest ISP in the world UUNET before MCI Worldcom bought them and everything ran great for Gigabytes and Terabytes of storage so i wouldnt say nobody in this world has done it, and im sure im not the only one running a Dell R720 with a few TB of storage on the unit, you work with the hardware you have and make the best out of it, im not planning on going out and buying a brand new server with a few gigs of storage for a firewall/router and most people understand that.

                                    I appreciate your help and direction but could do without the direction of the best way you think it should be done when everyone has their own, and besides why im doing it this way was completely irrelevant to the initial question i posted as to why the OS is reporting the wrong size for the partitions

                                    First by posting this that was not helpful at all

                                    "genuine Dell stuff is not supported under FreeBSD - by Dell
                                    do you see FreeBSD OP system somewhere here?"

                                    and then stating

                                    "BTW:
                                    FreeBSD supports this card (H710)
                                    otherwise, Dell will not address FreeBSD compatibility"

                                    Which completely through me for a loop not understanding if it was or it wasnt. Just cause it works sometimes doesnt mean its completely compatible.

                                    Again, the help is appreciated, after all the confusion i found a site that explained the whole process to me regarding partitions on FreeBSD then what i got outta being confused.

                                    Being nice goes a long way with others..
                                    Thanks for your assistance @DaddyGo
                                    Have a blessed day.

                                    DaddyGoD 1 Reply Last reply Reply Quote 0
                                    • DaddyGoD
                                      DaddyGo @chrisfox75
                                      last edited by DaddyGo

                                      @chrisfox75 said in Drive Space Incorrect Raid 5:

                                      Being nice goes a long way with others..

                                      allow me one last word - my friend!

                                      you probably misunderstand me, because of my shitty english (sorry, I speak three languages and English is not the primary)

                                      I dissolve the confusion pictures in your head:

                                      "BTW:
                                      FreeBSD supports this card (H710) =
                                      https://www.freebsd.org/cgi/man.cgi?query=mrsas&sektion=4

                                      "genuine Dell stuff is not supported under FreeBSD - by Dell
                                      do you see FreeBSD OP system somewhere here?" =

                                      bb097ad7-1ffa-4c06-9d86-2cd0512668fb-image.png

                                      BTW:
                                      I still don't understand what TBs storage capacity is needed on pfSense ???

                                      Have a nice day!

                                      Cats bury it so they can't see it!
                                      (You know what I mean if you have a cat)

                                      1 Reply Last reply Reply Quote 0
                                      • stephenw10S
                                        stephenw10 Netgate Administrator
                                        last edited by

                                        Try geom part list.

                                        It looks like mounted slice just isn't any bigger that 2TB.

                                        Steve

                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post
                                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.