Correct syntax of vmkfstools command

I am trying to create a virtual disk:

vmkfstools –c 100G –d eagerzeroedthick –a lsilogic xyz.vmdk

I tried to execute this command inside xyz folder of data center (on a ESXI server). It keeps raising error and shows me help:

"Extra arguments at the end of the command line."

Any idea, what am I doing wrong? Is there any alternative to vmkfstools tool that I can use? Thanks in advance!

1 Answer

The problem is due to the "–" characters which are not ASCII dashes (decimal 45):

 $ printf "%d\n" "'-" 45

This may happen when you copy commands from e.g. a blog post.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like