Increase/refresh the size of the FreeBSD's main partition

Posted by Lucas on Server Fault See other posts from Server Fault or by Lucas
Published on 2013-11-09T11:49:25Z Indexed on 2013/11/09 15:57 UTC
Read the original article Hit count: 196

Filed under:
|
|
|

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?

© Server Fault or respective owner

Related posts about freebsd

Related posts about virtualbox