OPNsense Forum

English Forums => General Discussion => Topic started by: passeri on December 09, 2023, 02:21:32 AM

Title: Install missed 35% of disk space?
Post by: passeri on December 09, 2023, 02:21:32 AM
Yesterday I installed Opnsense on a spare little Intel 3160 box for use internally, 4x1Gb ports, 8GB / 32 GB memory and storage.

Dashboard, du and zfs list all show 20GB total available. While that is ample for my purposes (96% free before any logs), I am wondering what happened to the other 12 GB??

Does FreeBSD not "clear out" the disk before installing, eliminating existing partitions? It did not present an option. Is there some overhead in zfs or reading of zfs information I am missing?

I can try a reinstall or any shell or console actions that might help to inform or to fix.
Title: Re: Install missed 35% of disk space?
Post by: Patrick M. Hausen on December 09, 2023, 01:22:03 PM
8 Gigabyte of swap, probably, plus the OPNsense software itself.
Title: Re: Install missed 35% of disk space?
Post by: passeri on December 09, 2023, 10:32:13 PM
Sorry, my error, it is 20GB total with 19 GB available (5% used). Opnsense is less than 1 GB.

I will check Console for boot partitions, then probably boot from a live USB to have a better look at the disk. I suspect that 10+ gB is in a second partition with the old OS. My recollection now is that the commercial product partitioned Linux into a reserved space for its routing software and a scratch and user space for docker containers.

I shall investigate. Thank you for the clue that I should otherwise see all of the space.
Title: Re: Install missed 35% of disk space?
Post by: Patrick M. Hausen on December 09, 2023, 10:39:59 PM
gpart show will tell you without booting into another OS.
Title: Re: Install missed 35% of disk space?
Post by: passeri on December 10, 2023, 12:17:36 AM
Thank you. I can see I need to spend more time with FreeBSD.
Title: Re: Install missed 35% of disk space?
Post by: passeri on December 10, 2023, 03:42:36 AM
Yes, that is what gpart show showed. I had not expected the system to be quite so generous with the swap space. Dashboard shows about 7% of actual memory used. Question is resolved. This little unit will never push its boundaries, so time to give it a couple of rules and put it to work.