Disk reported as 2GB but is 8GB
-
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? -
@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. -
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
-
@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?
-
Are you running Plus? Check System > Boot Environments. You probably have a bunch of old ZFS snaps you can remove to free space.