vmkfstools -c <size_in_bytes> -a lsilogic /vmfs/volumes/datastore_name/vmname/vmname.vmdk Then edit the new descriptor file to point to the existing -flat.vmdk :
echo "RW <sectors> VMFS \"vmname-flat.vmdk\"" > /tmp/desc.txt But the cleaner way – use vmkfstools -i to clone the flat file to a new descriptor (safer for beginners): recover vmdk from flat file
vmkfstools -c <size_in_bytes> -a lsilogic /vmfs/volumes/datastore_name/vmname/vmname.vmdk Then edit the new descriptor file to point to the existing -flat.vmdk :
echo "RW <sectors> VMFS \"vmname-flat.vmdk\"" > /tmp/desc.txt But the cleaner way – use vmkfstools -i to clone the flat file to a new descriptor (safer for beginners):