512MB nano install partitioning question
-
I'm seeing the following for mounts on the 2.1 512 nano install:
Filesystem Size Used Avail Capacity Mounted on /dev/ufs/pfsense0 215M 165M 33M 83% / devfs 1.0k 1.0k 0B 100% /dev /dev/ufs/cf 49M 1.2M 44M 3% /cf /dev/md0 38M 186k 35M 1% /tmp /dev/md1 57M 17M 35M 33% /var devfs 1.0k 1.0k 0B 100% /var/dhcpd/dev
That accounts for about 360MB. Where is the other ~153MB?
Reason I'm asking is that I can no longer fit the three packages I had installed on my 2.0.x installed on the same 512MB CF.
Obviously 2.1 takes up a bit more space.
-
The nanoBSD install has 2 copies of FreeBSD in 2 partitions on the CF card. This lets you switch back and forth between version of pfSense/FreeBSD if necessary. That is where the missing space has gone. On the CF card there will also be /dev/ufs/pfsense1 - not mounted.
-
Excellent. I think I just found my new /usr partition :)
Thanks for the info!
-
When you upgrade nanoBSD, it writes the new pfSense-FreeBSD OS upgrade image to the opposite partition to the one in use, then swaps the selected boot partition and reboots. So the use of both /dev/ufs/pfsense0 and /dev/ufs/pfsense1 is built deep into the system maintenance scheme. You will break all that if you scrub /dev/ufs/pfsense1 and re-use it for general data.
It is time to make the investment in a bigger CF card.
And probably time that the pfSense documentation states that only base systems with only minimal "real" packages are supported on 512MB CF cards.
("real" packages are those that have actual PBI kits that install binaries and stuff - PHP-only packages like cron, don't count) -
Ah - also good to know. Thanks again.