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

    Netgate 6100 ZFS reinstall disk space

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    2 Posts 2 Posters 534 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.
    • C
      cdturri
      last edited by

      Hi, I have added a custom 512 GB SSD to my Netgate 6100 and reinstalled pfSense ZFS over it. Everything is working fine and I know there is nothing wrong here but I am just trying to understand how the space is reported by each of the tools. diskinfo reports 477GB in bytes and the pfSense zpool list is 472GB. Where are the missing 5 GB? If I look gpart then freebsd-zfs is 475GB and freebsd-swap is 2 GB which adds up to 477GB on nvd0 but that's different than zpool list (472GB). Thanks!

      [22.05-RELEASE][root@pfSense.home.arpa]/root: diskinfo -v nvd0
      nvd0
              512             # sectorsize
              512110190592    # mediasize in bytes (477G)
              1000215216      # mediasize in sectors
              0               # stripesize
              0               # stripeoffset
              WDC PC SN520 SDAPNUW-512G-1014  # Disk descr.
              1939B4800202    # Disk ident.
              Yes             # TRIM/UNMAP support
              0               # Rotation rate in RPM
      
      [22.05-RELEASE][root@pfSense.home.arpa]/root: zpool list
      NAME      SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
      pfSense   472G   765M   471G        -         -     0%     0%  1.00x  ONLINE  -
      [22.05-RELEASE][root@pfSense.home.arpa]/root: geom label status
                        Name  Status  Components
      ufsid/630f6996b58c32c2     N/A  mmcsd0p2
                 label/swap0     N/A  mmcsd0p3
                gpt/efiboot0     N/A  nvd0p1
              msdosfs/EFISYS     N/A  nvd0p1
                gpt/gptboot0     N/A  nvd0p2
      [22.05-RELEASE][root@pfSense.home.arpa]/root: gpart show
      =>        40  1000215136  nvd0  GPT  (477G)
                40      409600     1  efi  (200M)
            409640        1024     2  freebsd-boot  (512K)
            410664         984        - free -  (492K)
            411648     4194304     3  freebsd-swap  (2.0G)
           4605952   995608576     4  freebsd-zfs  (475G)
        1000214528         648        - free -  (324K)
      
      =>      40  30621616  mmcsd0  GPT  (15G)
              40    409600       1  efi  (200M)
          409640  28950527       2  freebsd-ufs  (14G)
        29360167         1          - free -  (512B)
        29360168   1261488       3  freebsd-swap  (616M)
      
      
      
      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        That's the available space in the pool so I would have to say the capacity that appears to be 'lost' is in the filesystem formatting. I've never really looked into that too deeply though.

        Steve

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