Liffeyman
Contributor
Contributor

ESXI 5.5.0 clone to thin disk on same datastore?

Folks,

Im trying to clone a disk to thin on the same data store using the following command

vmkfstools –i "/vmfs/volumes/VMFS5_TEST_ENV_3_EMC/GRIDBUP/GRIDBUP-flat.vmdk" "/vmfs/volumes/VMFS5_TEST_ENV_3_EMC/GRIDBUP/GRID_THIN.vmdk" -d thin

I've tried loads of different variations of this command,

vmkfstools –i /vmfs/volumes/VMFS5_TEST_ENV_3_EMC/GRIDBUP/GRIDBUP-flat.vmdk /vmfs/volumes/VMFS5_TEST_ENV_3_EMC/GRIDBUP/GRID_THIN.vmdk -d thin

vmkfstools –i /GRIDBUP-flat.vmdk /GRID_THIN.vmdk -d thin

vmkfstools –i GRIDBUP-flat.vmdk GRID_THIN.vmdk -d thin

and a few more, but keep getting the same error "Extra arguments at the end of the command line."

Can anyone help me out with this one

Many thanks

Paul

0 Kudos
5 Replies
a_p_
Leadership
Leadership

Remove "-flat" from the virtual disk's file name in the command line. vmkfstools expects the header/descriptor .vmdk name and not the data (flat/delta) file name.

André

0 Kudos
Liffeyman
Contributor
Contributor

Capture.JPG

Hi André,

Thanks for the response, but still getting the same error. Any ideas?

0 Kudos
a_p_
Leadership
Leadership

Maybe worth a try:

vmkfstools -i "GRIDBUP.vmdk" "GRID_THIN.vmdk" -d thin

André

0 Kudos
grace27
Enthusiast
Enthusiast

Hi

Welcome to communities.

please make sure you didn't missed any steps.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=102787...

0 Kudos
itbgjm
Contributor
Contributor

Hi,

Not sure if this has been solved yet but this command worked:

vmkfstools -i /vmfs/volumes/datastore1/Template/Template.vmdk /vmfs/volumes/datastore1/E912/OS_1/OS_1_C.vmdk -d thin

0 Kudos