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
↧
Re: Problems in creating virtual disk from the command line
↧