dougdog
asked on
how to mount a vmdk file located on a san
i want to be able to copy a file to a virtual server without powering it on.
i can see how to mount a vmdk file if it was locvated on local storage but how do i do it if its located on a san
i can see how to mount a vmdk file if it was locvated on local storage but how do i do it if its located on a san
You have a VMDK file that is located on a SAN connected to VMWare ESX?
you want to inject a file into a VMDK file without powering on the Virtual Machine, and the Virtual Machine is stored on the SAN?
ASKER
yes
ASKER
fast scp only lets me access local storage on the esx server
What version of VMware ESX or ESXi?
ASKER
vsphere 4.1 esx server
virtual centre server
virtual centre server
The only way I know is using the Virtual Disk Development Kit
http://www.vmware.com/support/developer/vddk/
Check Mounting a Remote Disk in the following pdf document
http://www.vmware.com/support/developer/vddk/vddk12_diskmount.pdf
http://www.vmware.com/support/developer/vddk/
Check Mounting a Remote Disk in the following pdf document
http://www.vmware.com/support/developer/vddk/vddk12_diskmount.pdf
Either mount on Windows host remotely or mount directly on ESX 4.1.
Windows command line
e.g.
vmware-mount K: “[storage1] WinXP/WinXP.vmdk” /i:ha-datacenter/vm/WinXP /h:esx3 /u:root /s:secret
Windows command line
e.g.
vmware-mount K: “[storage1] WinXP/WinXP.vmdk” /i:ha-datacenter/vm/WinXP /h:esx3 /u:root /s:secret
ASKER
what do i need to install?
is storage1 the datastore name?
is storage1 the datastore name?
yes storage1 is the datastore name.
download here
http://www.vmware.com/download/download.do?downloadGroup=VDDK-1-2-1
download here
http://www.vmware.com/download/download.do?downloadGroup=VDDK-1-2-1
ASKER
and what is ha-datacenter/?
the datacentre name in vCenter.
ASKER
is this correct
vmware-mount K: “[datastorename] servername/servername.vmdk ” /i:ha-datacentrename/vm/vm name /h:esx4 /u:root /s:password
vmware-mount K: “[datastorename] servername/servername.vmdk
looks correct
ASKER
ha-datacentrename/vm/vmnam e
is vm and vmname the virtualserver name
is vm and vmname the virtualserver name
yes, in the manual, there full explaination how to find the actual values, strings for your environment starting on Page 8/9, because the actual values need to match exactly.
Just FYI - If your SAN storage is something that is either connected to the host, or if it's a mapped drive to your local workstation, you could use WinSCP or Veeam FastSCP to copy the VMDK to the datastore of your VM since both can 'see' local storage of the workstation the app (WinSCP or FastSCP) is installed on.
~coolsport00
~coolsport00
ASKER
sorry for being stupid what is the exact command if my server name is serverabc and my datacenter name is companyz
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
perfect
ASKER
sorry is there a correct procedure to dismount it??
ASKER
sorted just used /d
yes, you got it. Don't forget to Unmount!
otherwise the VM willbe locked and you'll not be able to start it!
otherwise the VM willbe locked and you'll not be able to start it!