vmdk file is larger
I have converted vmware machine to virtulbox by the procedure mentioned below.
http://www.howtogeek.com/125640/how-to-convert-virtual-machines-between-virtualbox-and-vmware/
It is converted and I am able to use it.
The problem is, the drive size is only 30 gb when i login to machine but the vmdk file size is 82 gb.
Can anyone tell how to reduce this.
But vm c:\ is only 34 gb.
4 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
EdT
7 years ago
Posted by:
anonymous_9363
7 years ago
The virtual disk will have been created from the original source, using the full size of the partition. It shows 30Gb in Windows because that's the amount of actual space that the content is using.
Anyway, VB provides a command line tool to manage disks:
Anyway, VB provides a command line tool to manage disks:
vboxmanage clonehd "source-disk.vmdk" "new-disk.vmdk" --existingTry Googling 'virtualbox shrink vmdk' and take your pick.
Comments:
-
Yeah I tried these commands but still same issue. - ur00361883 7 years ago
Posted by:
ur00361883
7 years ago
May be this is not the feasible approach, I did the below steps to reduce the size.
1. With Acronis true image I took a backup of the drive as a tib file in network.
2. After that I created a new VM with no OS intalled.
3. When I tried to restore this archive the hard disk is not visible, so I created a basic OS of win 7 without any customization and restored this tib file on top of that partition.
4. Now my backed up OS is restored on the new VM.
5. The size of the new VM is 35 GB.
VBoxManage clonehd aaaa.vmdk --format VDI aaaa.vdi
But the converted VHD also having same size. - ur00361883 7 years ago
We are trying to minimize the size to upload the vmdk or vhd file to onedrive. - ur00361883 7 years ago