Stuck on resizing partition reddit / freebsd ---------------------------------------------------------------------- mgommeren · 2020-09-22 17:49 Hi r/freebsd I'm running pfsense in a ESXI VM and running out of space. Trying to resize a partition and it's not working well, and google doesn't seem to give me the answer. I'm following [this guide](https://unix.stackexchange.com/questions/117023/expanding-the- disk-size-on-pfsense-under-vmware-esxi). I've managed to update the VM with an extra few G of data. da0 is now 16G, and the freebsd partition is also 16G. so far so good. Now, the da0s1 sector/section has partition 1 and 2, as [per image](https://imgur.com/a/7CTilvr). (p1: freebsd-ufs, 3.8G; p2:freebsd-swap 205M; free 12G) I can't seem to change the swap on this, either with issues with changing the bsdlabel, [same as this stackexchange issue](https://unix.stackexchange.com/questions/554863/increasing- disk-size-on-freebsd-11-2-pfsense-esxi). Or via [the suggested handbook procedure.](https://www.freebsd.org/doc/handbook/disks-growing.html) ​ Any help is greatly appreciated. ---------------------------------------------------------------------- dddddavidddd · 2020-09-22 18:01 What errors do you see? What commands are you trying? You should be able to get rid of the swap partition by simply disabling it (`swapoff /dev/da0s1` -- exact path visible by running `swapinfo`) and deleting it (`gpart delete -i 2 da0s1`). ---------------------------------------------------------------------- mgommeren · 2020-09-22 19:01 Thanks! Swapinfo did the trick. The exact path was wrong. It was /dev/label/swap0 Thanks so much!