Recently when dealing with a virtualbox, came across a specific VM that ended up getting low on disk space. Used up almost all of the space in the allocated disk. Now one can add an additional disk, or expand the existing. This post will deal with the latter ‘expand an existing virtual disk drive’.
Power down the VM, then do the following:
track down the virtual disk drive, then increase it. The following virtual disk drive indicated here is a 40GB drive. We will increase it to 50GB.
vboxmanage modifyhd testdisk.vdi --resize 51200
The above works on a .vdi file which is dynamically allocated in size. If you are dealing with another type of disk image (such as a VMDK or VHD) then you will need to convert the disk image before you can resize it.
Here are the steps to modify a similar vmdk disk to 50GB.
vboxmanage clonehd "test001.vmkd" "cloned.vdi" --format vdi
vboxmanage modifyhd "cloned.vdi" --resize 51200
vboxmanage clonehd "cloned.vdi" "test001.vmdk" --format vmdk
Thank you, I’ve just been searching for information about this subject for a long time and yours is the greatest I have discovered so far. But, what concerning the bottom line? Are you certain in regards to the source?
Spot on with this write-up, I really think this website wants rather more consideration. I’ll in all probability be once more to read way more, thanks for that info.