Solved

VMWare Linux Commands

Posted on 2010-09-02
7
423 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
  • 5
  • 2
7 Comments
 
LVL 3

Expert Comment

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

Author Comment

by:PeterHing
Comment Utility
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
Comment Utility
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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 3

Expert Comment

by:bobalob
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
CHAP for iscsi 4 32
Oracle 12c patching 1 28
login with Vsphere Client 14 42
Vcenter 6.5 install Error 8 50
This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now