I tried to use this link to solve my problem but to no avail; Expanding the disk size on pfsense under VMWare ESXi.
I'm using pfSense and I wish to increase the disk drive from 11 GB to 200 GB.
Steps followed:
View the initial partition sizes:
# gpart show => 63 419430337 da0 MBR (200G) 63 1 - free - (512B) 64 419430336 1 freebsd [active] (200G) => 0 419430336 da0s1 BSD (200G) 0 23068672 1 freebsd-ufs (11G) 23068672 1257472 2 freebsd-ufs (614M) 24326144 395104192 - free - (188G)Resize
da0:# gpart resize -i 1 da0 da0s1 resizedView the new partition sizes:
# gpart show da0 => 63 419430337 da0 MBR (200G) 63 1 - free - (512B) 64 419430336 1 freebsd [active] (200G)Tried to edit the value onto the size of c: line and got error message below:
# bsdlabel -e /dev/da0s1 bsdlabel: cannot open provider /dev/da0s1 for writing label: Operation not permitted bsdlabel: Try to use gpart(8). re-edit the label? [y]:
Please advise.
I also want to increase the swap to 20 GB.