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

    Disk reported as 2GB but is 8GB

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    5 Posts 3 Posters 620 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.
    • E
      echinida
      last edited by

      I have a Fujitsu s920 with an 8Gb mSATA disk drive and a functioning 23.05.1 pfSense+ install. The disc usage is reported as 70% of 1.8Gb and I guess this is because the / partition is not sized to use the whole 8Gb of the disk. I'm concerned that if I add a few packages, eg openvpn adguard home, I will run into memory problems.
      Is my diagnosis correct and if so how can I change the partition size non destructively?

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @echinida
        last edited by

        @echinida said in Disk reported as 2GB but is 8GB:

        I change the partition size non destructively?

        Most probably : possible.
        But the time it takes go get skilled at 'GPT' or 'MBR' editing is .... not worth it.
        Not part of the "pfSense : do this and you'll be fine" documentation, as far as I know.

        If you have to insist on 'non destructive' part, then you should know that I already know that your small drive (8 is also small) will get used .... and it will die anyway.
        replacing == destructive.

        What about : remove the drive, add it to a classic PC, get a tool like Partitio Magic and now you'll have the full GUI power at your finger tips.
        Probably not worth it neither as even this option will take far more time.

        I always though that the pfSense (ZFS) installer just takes all the space that is available, leaving some space for a boot partition and a swap partition.
        When I did a clean install with 22.05 (to go to ZFS) on my 4200 MAX, I accepted default values.
        If you have a "2 Gbytes" then that was an admin's choice.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

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

          If the rest of the drive is actually empty you can use growfs to fill it. But it's probably using the reset for SWAP etc.
          Try running: gpart show

          Steve

          E 1 Reply Last reply Reply Quote 0
          • E
            echinida @stephenw10
            last edited by

            @stephenw10
            Thanks, the output from that is
            => 40 15622064 ada0 GPT (7.4G)
            40 409600 1 efi (200M)
            409640 1024 2 freebsd-boot (512K)
            410664 984 - free - (492K)
            411648 2097152 3 freebsd-swap (1.0G)
            2508800 13111296 4 freebsd-zfs (6.3G)
            15620096 2008 - free - (1.0M)

            Which I guess is what it should be?

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

              Are you running Plus? Check System > Boot Environments. You probably have a bunch of old ZFS snaps you can remove to free space.

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