VMware

This Question is Answered

2 "helpful" answers available (6 pts)
7 Replies Last post: Dec 16, 2008 3:12 AM by sumanmshan  

syntax for vmware-mount.exe posted: Apr 24, 2008 4:08 PM

Click to view continuum's profile Guru 12,680 posts since
Dec 18, 2003


I'd like to mount a vmdk on an ESX 3.5 and try something like
vmware-mount.exe Q: /h:10.0.0.35 /u:root /s:password /i: ???? xp-sp2.vmdk
How do I specify /i ?

What does
Unable to get a Vim ticket for this virtual machine
mean ?

___________________________________

description of vmx-parameters: http://sanbarrow.com/vmx.html
VMware-liveCD: http://sanbarrow.com/moa.html

Re: syntax for vmware-mount.exe

1. Apr 24, 2008 4:34 PM in response to: continuum
Click to view sudarsan's profile Expert 263 posts since
Sep 20, 2006
/i is the inventory path of the vm.

Also the disk path should include the datastore name like "storage2 yourvm/harddisk1.vmdk"

The attached picture should clarify the above - it shows an example with VC - Note the vm after the datacenter name.

For ESX, it is similar, but the datacenter name is always ha-datacenter. So the path would look like ha-datacenter/vm/<vm path>

Thanks
Sudarsan
Attachments:

Re: syntax for vmware-mount.exe

3. Apr 24, 2008 5:05 PM in response to: continuum
Click to view sudarsan's profile Expert 263 posts since
Sep 20, 2006
What is esx305.localdomain in your command line?

I am guessing this would work:

vmware-mount Q: /i:"ha-datacenter/vm/xp-sp2" "local12gigs xp-sp2/xp-sp2.vmdk" /h:10.0.0.35 /u:root /s:password /v:1

-Sudarsan

Re: syntax for vmware-mount.exe

4. Apr 24, 2008 5:07 PM in response to: sudarsan
Click to view sudarsan's profile Expert 263 posts since
Sep 20, 2006
[ seems special, so let us try this again.

vmware-mount Q: /i:"ha-datacenter/vm/xp-sp2" "[local12gigs] xp-sp2/xp-sp2.vmdk" /h:10.0.0.35 /u:root /s:password /v:1

Re: syntax for vmware-mount.exe

6. Dec 10, 2008 3:23 AM in response to: sudarsan
Click to view singhpdeep's profile Lurker 2 posts since
Oct 3, 2008
I'm also facing same problem and I want to use this command pl. help me out how I can use this command I'm not understanding this so if possblie help me out in details how to use this command.

PS

Re: syntax for vmware-mount.exe

7. Dec 16, 2008 3:12 AM in response to: sudarsan
Click to view sumanmshan's profile Lurker 1 posts since
Dec 16, 2008

Hi all,

I am trying to mount a remote disk(.vmdk) to my local machine which is also linux.

Iam using the follwoing command to mount the disk:

vmware-mount -v ha-datacenter/vm/TestVM -h 10.0.0.1 -u root -F password "DataStoreName TestVM/TestVM.vmdk" /mountPoint

But its not mounting the disk and throwing the following error:

Failed to open disk: Unknown error (1)
Failed to mount disk "DataStoreName TestVM/TestVM.vmdk" : Cannot open the virtual disk

can anyone help me out at this stage, where do I go wrong???

Thank you.

Suman


Developer Social Media

Communities