Increase/refresh the size of the FreeBSD's main partition
- by Lucas
I am using VirtualBox and have my FreeBSD mounted on a virtual drive, which recently ran out of space (10 GB) so I have increased the Virtual Drive size up to the 15 GB - started my FreeBSD and its still out of space, because it doesnt "refresh" the main partition size:
# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ada0p2 9.3G 9.3G -711M 108% /
devfs 1.0k 1.0k 0B 100% /dev
How can I set the partition size to the virtual drive size?