Hi there,
I have problems in creating a vmdk using the command line method, I'm quite sure my command format syntax is correct but I keep getting the irritating message "Extra arguments at the end of the command line."
Target vmdk file name without bracket:
vmkfstools -c 73g –d zeroedthick sample.1.vmdk
Extra arguments at the end of the command line.
Target vmdk file name with 'sample.1.vmdk' bracket:
vmkfstools -c 73g –d zeroedthick 'sample.1.vmdk'
Extra arguments at the end of the command line.
Target vmdk file name with "sample.1.vmdk" bracket:
vmkfstools -c 73g –d zeroedthick "sample.1.vmdk"
Extra arguments at the end of the command line.
So basically I really have no idea what went wrong, target storage is a shared storage managed by vcenter
Thanks
Do you use those commands in a script ?
I would expect to see the errors you get when you use Windows notepad and then upload them to ESXi, chmod to 755 and then execute it.
The commands itself are ok and should work.
If you upload a script you can identify bad line endings by viewing the script by doubleclicking it in WinSCP
Do you use those commands in a script ?
I would expect to see the errors you get when you use Windows notepad and then upload them to ESXi, chmod to 755 and then execute it.
The commands itself are ok and should work.
If you upload a script you can identify bad line endings by viewing the script by doubleclicking it in WinSCP
vmkfstools -c 73g –d zeroedthick sample.1.vmdk
It looks like the command line was created in Word or another application like this which has "autocorrection" enabled.
Please take a closer look at the highlighted dash!
André
Thanks, you are correct, for some reason the character has some difference from typing it in the console directly rather than copy and paste from notepad
Thanks for the suggestion, you are correct!