VirtualBox in use, sometimes because of the lack of allocated space caused problems, you can use the following ways to increase the partition space:
First, VirtualBox settings:
1) go to VirtualBox's installation directory to find this command EXE file: Vboxmanage.exe
2) Run command: vboxmanage modifyhd centos_sp.vdi--resize 100000
Resets the virtual machine size to 100G
If you re-mount the existing virtual machine VDI, there will be a problem with the UUID, and the workaround is to use the command:
" F:\VM\CentOS_SP.vdi "
Second, the CentOS setup:
1) Use Fdisk to add space:
fdisk/dev/SDANP3tW
N: New partition, P: Primary partition, 3: Can enter directly, T: also direct return, W: Write
2) Continue the command:
/dev//dev/-L+100g/dev/centos//dev/centos/root
3) View the completed partition space:
DF -hl
Reference article:
Http://serverfault.com/questions/717693/centos-cant-grow-partition
[Linux]-virtualbox-centos dynamically increase the partitioning space method