This short tutorial by user gregoryo shows us how to increase your disk space in FreeBSD.
I use gpart to manage disk partitions in FreeBSD, because it works, and is much easier than the old bsdlabel shenanigans. Increasing the size of the last partition on a disk is easy:
- Power down
- resize disk (e.g. increase virtual machine’s disk allocation)
- boot into single user modegpart recover da0 gpart show -p da0 gpart resize -i 5 da0 gpart show -p da0 growfs /dev/da0p5