VMware Cloud Community
haverer
Contributor
Contributor
Jump to solution

Copying Virtual Machine from External Drive to SAN

Hi,

I am looking for advice on the best way to copy a Virtual Machine and its files from a USB External Drive onto an ESX Datastore (The Datastore is a LUN on the SAN which is attached to the ESX Server).

I was going to log onto a PC on the same VLan, attach the USB Drive to this PC then load vSphere Client, browse to the Datastore and then choose 'Upload Folders'. Is this the recommended option? I remember reading somewhere before about formatting the USB Drive at FAT32 then mounting it onto the ESX Server?

Thanks.

0 Kudos
1 Solution

Accepted Solutions
piaroa
Expert
Expert
Jump to solution

Forget about mounting the USB to the ESX host.Just use vSphere client to upload your files, or enable SSH access to your host and use SCP (WinSCP or FastSCP are excellent options) to transfer your files to your datastores.

If this post has been helpful/solved your issue, please mark the thread and award points as you see fit. Thanks!

If this post has been helpful/solved your issue, please mark the thread and award points as you see fit. Thanks!

View solution in original post

0 Kudos
9 Replies
piaroa
Expert
Expert
Jump to solution

Forget about mounting the USB to the ESX host.Just use vSphere client to upload your files, or enable SSH access to your host and use SCP (WinSCP or FastSCP are excellent options) to transfer your files to your datastores.

If this post has been helpful/solved your issue, please mark the thread and award points as you see fit. Thanks!

If this post has been helpful/solved your issue, please mark the thread and award points as you see fit. Thanks!
0 Kudos
marcelo_soares
Champion
Champion
Jump to solution

I would recommend the Datastore Browser way. Mounting USB devices on ESX may be sometimes hard, not to say impossible. Also, copying with linux commands (cp, mv, etc.) may not have the desired result.

Marcelo Soares

VMWare Certified Professional 310/410

Virtualization Tech Master

Globant Argentina

Consider awarding points for "helpful" and/or "correct" answers.

Marcelo Soares
AWo
Immortal
Immortal
Jump to solution

You have some options:

1. Veeam FastSCP: http://www.veeam.com/vmware-esxi-fastscp.html for simply copying the files.

2. Was that already a ESX guest? You may have to convert it. In this case you can use the free VMware Converter Standalone: http://downloads.vmware.com/d/info/datacenter_downloads/vmware_vcenter_converter_standalone/4_0

3. or the Converter which is integrated into vCenter.

However, if you have copied the guest with FastSCP or any other copy tool you still can convert the virtual disks with a command line tool (vmkfstools) but you may have to create a new virtual hardware around that disks.


AWo

VCP 3 & 4

\[:o]===\[o:]

=Would you like to have this posting as a ringtone on your cell phone?=

=Send "Posting" to 911 for only $999999,99!=

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
haverer
Contributor
Contributor
Jump to solution

Thanks Guys, I will use the Datastore Browser method and if that is too slow I will try the SCP method.

This VM is 40Gb HDD (with no disks attached as yet), however I have noticed the following file exists:

CLU1-1_1-rdmp.vmdk

This file is 73Gb!! I have no idea what it is?

0 Kudos
haverer
Contributor
Contributor
Jump to solution

A quick Google search says its a Raw Device Mapping to the Lun. I didn't think I had any RDM with this VM, will go back and check!

0 Kudos
schepp
Leadership
Leadership
Jump to solution

Its a file that is created for a Raw device you mapped to the VM. It's shown the size of the raw device but it only needs a few bytes on the datastore.

0 Kudos
haverer
Contributor
Contributor
Jump to solution

Brilliant. Phew, thought I was copying over the whole 73Gb RDM.

Thanks again, brilliant help as usual.

0 Kudos
haverer
Contributor
Contributor
Jump to solution

Currently copying the files over. It's now copying the flat.vmdk file (40Gb) which Im assuming is the HDD File. It's showing as over 1000 minutes remaning! We are on a 100Mb Line here so would have expected a 40Gb File to copy much quicker?

0 Kudos
piaroa
Expert
Expert
Jump to solution

40 GB should transfer in a little over an hour on a 100mbps link. Bear in mind that those estimates usually "jump ahead" and end being a lot faster than estimated.

Have you checked that you are running in Full duplex mode?

If this post has been helpful/solved your issue, please mark the thread and award points as you see fit. Thanks!

If this post has been helpful/solved your issue, please mark the thread and award points as you see fit. Thanks!
0 Kudos