Resizing Virtual Hard Disk on WMWare Workstation
Friday, September 14th, 2007I love my Virtual Subversion. Except the hard drive size. 120G is ridiculously large for a virtual machine. Especially when I broke it by 2G peaces to run it off a flash-drive: I just couldn’t stand looking at these 60 .vmdk files!And I don’t think my repo would ever take 120G. If you think you would, check this out.
So I decided to resize the Virtual Hard drive to make it smaller, say 10 Gb instead of 120Gb. Resizing the drive is easy, as long as you expand it. But shrinking the virtual hard disk is as hard as then shrinking a physical one. Vmware-vdiskmanager can only expand. And don’t confuse –k option: it does shrinks the vmdk file, but doesn’t alter the Hard Disk size.
(more…)