I've just had to replace the SSD in my firewall as I wanted the smaller drive for another machine where the larger spare I had would have been total overkill (it's for a Raspberry Pi). It's probably more than I need for the firewall but it's better than what my RPI will be i.e. just for Pi-Hole.
Now that it's replaced I have a lot of extra space and was wondering what best to do with it. Do I simply expand the main partition or can I use it for something else. E.g. expand the boot partition or maybe somehow convert to ZFS.
Even on ZFS there is still not much to do with the space. I did think about hosting distro isos for PXE but that's about all.
I'm still loking out for a smaller disk myself to be more efficient too. That is to say we're so lucky that OPN is so light on storage requirements!
gpart show
Password:
=> 40 234441568 ada0 GPT (112G)
40 409600 1 efi (200M)
409640 1024 2 freebsd-boot (512K)
410664 984 - free - (492K)
411648 16777216 3 freebsd-swap (8.0G)
17188864 217251840 4 freebsd-zfs (104G)
234440704 904 - free - (452K)
user@OPNsense:~ % zfs list
NAME USED AVAIL REFER MOUNTPOINT
zroot 1.95G 97.8G 88K /zroot
zroot/ROOT 1.62G 97.8G 88K none
zroot/ROOT/default 1.62G 97.8G 1.62G /
zroot/tmp 1.22M 97.8G 1.22M /tmp
zroot/usr 352K 97.8G 88K /usr
zroot/usr/home 88K 97.8G 88K /usr/home
zroot/usr/ports 88K 97.8G 88K /usr/ports
zroot/usr/src 88K 97.8G 88K /usr/src
zroot/var 333M 97.8G 88K /var
zroot/var/audit 88K 97.8G 88K /var/audit
zroot/var/crash 88K 97.8G 88K /var/crash
zroot/var/log 332M 97.8G 332M /var/log
zroot/var/mail 112K 97.8G 112K /var/mail
zroot/var/tmp 88K 97.8G 88K /var/tmp
Is there any way to convert the UFS to ZFS? Thought maybe with the extra space it would allow me to do that in some way without needing to completely re-install.
https://forum.opnsense.org/index.php?topic=24174.0