Pages

Tuesday, July 19, 2005

Expanding a VMWare vmdk file

I needed to expand a 16 gig drive on a VM today and found this tool:

syntax: vmkfstools -X [new size]M [path]:[vmdk file]


Then boot the box and run diskpart:
diskpart
select Volume X
extend
exit.


The only catch is that you cant seem to extend a boot partition..... :(

1 comment:

  1. Oh, and if you convert a disk to dynamic.... don't use the vmkfstools command to shrink the disk back.... BSOD!

    ReplyDelete