VMWare Linux Commands

Hi All,

I'm trying to run either of the following from the vmware command line, but keep getting an error 'the system cannot find the file specified'.

Can anyone see what I'm doing wrong? The path is definitely correct, but I think I may be missing a syntax.
vmkfstools -i /vmfs/volumes/e00f98e1-2bcc0c91-e7a2-3487611c1557/MY-DATA.domain.com/MY-DATA.domain.com_2.vmdk /vmfs/volumes/4c7ed23a-ae761747-2072-0026554b3490/MY-DATA/MY-DATA.vmdk

vmkfstools -i /vmfs/volumes/VM\ Store\ 1/MY-DATA.domain.com/MY-DATA.domain.com_2.vmdk /vmfs/volumes/VM\ Store\ 2/MY-DATA/MY-DATA.vmdk

Open in new window

Who is Participating?
bobalobConnect With a Mentor Commented:
you can use tab completion on ESX bash so you won't need to type the whole path - this will ensure you have used correct case also.

ie. start typing the path like this:

vmkfst[tab] -i /vmf[tab]/vol[tab]/MY[tab] ...
Try putting the source and destination in single quotes....
PeterHingAuthor Commented:
Hi bobalob,

Still no joy: DiskLib_Check() failed for source disk The system cannot find the file specified (25).
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

how big is this file?:

/vmfs/volumes/VM\ Store\ 1/MY-DATA.domain.com/MY-DATA.domain.com_2.vmdk

and is there a corresponding -flat.vmdk file?
also you can cat the descriptor file (it will usually be about 500bytes-a couple of K) in there it should have a pointer to the -flat.vmdk file. Check to see it's pointing to the correct file.
also, does the folder '/vmfs/volumes/VM\ Store\ 2/MY-DATA' exist yet? as it won't create it - you need to make it before by doing:

mkdir /vmfs/volumes/VM\ Store\ 2/MY-DATA
PeterHingAuthor Commented:
I didn't realise the path was case sensitive. This is why I was getting all thr trouble! The path existed, it just wanted it defined exactly by case. bobalob, thank you for all your input, i'm sorry after all that, this is what it came down to!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.