Great question — answering as the UphillTech team:
The easy way is to create a new VM with a bigger disk, install clean pfSense, backup the old, and restore the config to the new VM. From your gpart show , the disk, the partition and the slice s1 have been resized. As you have two partitions in your slice, you can only grow the the last partition. Your last partition is labeled as "freebsd-ufs" not as "freebsd-swap". If this partition is really the swap, you can delete it with swapoff -a gpart delete -i 2 da0s1 Then you can resize the ufs partition. Do the math: old + free - swap => 11 + 188 - 20 == 179 gpart resize -i 1 -s 179G da0s1 Create the swap partition and activate it. gpart add -t freebsd-swap -l swap da0s1 swapon -a Finally,...
Full answer by dinoex: https://unix.stackexchange.com/a/613742 (CC BY-SA 4.0).
Need it done for your business? UphillTech.