Code: Select all
[tru@sillage2 c5.32]$ uname -a
Linux sillage2.xxx 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
[tru@sillage2 c5.32]$ rpm -qf `which VirtualBox`
VirtualBox-4.0-4.0.2_69518_rhel5-1.x86_64
[tru@sillage2 c5.32]$ VBoxManage showhdinfo c5.32.vdi
UUID: 62a6c462-0214-46cc-a8af-fec9d63eab8e
Accessible: yes
Logical size: 8589934592 MBytes
Current size on disk: 935 MBytes
Type: normal (base)
Storage format: VDI
Format variant: dynamic default
In use by VMs: c5.32 (UUID: a8ab101a-5dce-4608-bb05-267f4d7a5079)
Location: /home/vmware/VirtualBox/Machines/c5.32/c5.32.vdi
[tru@sillage2 c5.32]$ VBoxManage modifyhd c5.32.vdi --resize 10
0%...
Progress state: VBOX_E_NOT_SUPPORTED
VBoxManage: error: Resize hard disk operation for this format is not implemented yet!
[tru@sillage2 c5.32]$ VBoxManage modifyhd 62a6c462-0214-46cc-a8af-fec9d63eab8e --resize 10
0%...
Progress state: VBOX_E_NOT_SUPPORTED
VBoxManage: error: Resize hard disk operation for this format is not implemented yet!
# The --resize option allows you to expand the capacity of an existing image;
this increases the logical size of a virtual disk without affecting the
physical size much.[33] This currently works only for the VDI and VHD formats,
and only for the dynamically expanding variants. For example, if you originally
created a 10G disk which is now full, you can use the --resize command to add
more space to the virtual disk without having to create a new image and copy
all data from within a virtual machine.