Solved

VMWare Linux Commands

Posted on 2010-09-02
7
445 Views
Last Modified: 2012-05-10
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

0
Comment
Question by:PeterHing
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
7 Comments
 
LVL 3

Expert Comment

by:bobalob
ID: 33585625
Try putting the source and destination in single quotes....
0
 
LVL 2

Author Comment

by:PeterHing
ID: 33585643
Hi bobalob,

Still no joy: DiskLib_Check() failed for source disk The system cannot find the file specified (25).
0
 
LVL 3

Expert Comment

by:bobalob
ID: 33585758
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?
0
Schedule a Tour of the ATEN booth at InfoComm 2017

Tour the ATEN booth to see the the Latest Addition to the Modular Matrix Switch Series, New 4K HDMI Over IP Extender and more! Enter ATEN's Ultimate Giveaway Sweepstakes for a chance to win one of several great prizes, including an ATEN US7220 2-Port Thunderbolt 2 Sharing Switch!

 
LVL 3

Expert Comment

by:bobalob
ID: 33585771
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.
0
 
LVL 3

Expert Comment

by:bobalob
ID: 33585852
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
0
 
LVL 2

Author Comment

by:PeterHing
ID: 33600983
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!
0
 
LVL 3

Accepted Solution

by:
bobalob earned 250 total points
ID: 33602467
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] ...
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question