Wednesday, June 19, 2013

Recreating the vmdk when you can't find the flat-vmdk size

It is a personal note which I wanted to write it down before I forget because I learn it from a friend on phone.
we all know how to recreate vmdk descriptor files but what if the command
ls -l vmdisk0-flat.vmdk
doesnt return any output or gives no size of the flat.vmdk.
well it turns out, you go to the datastore browser>check the size of the flat.vmdk and multiply it with 1024 and it is the same as
ls -l vmdisk0-flat.vmdk.