Solved

Looking for best method to copy vmdk to USB drive

Posted on 2014-02-25
11
10,952 Views
Last Modified: 2014-03-14
I am in the process of copying vmdk disks off the esxi host onto to an external USB drive.  The process is extremely slow when I attempt to copy the vmdk file from within vCenter to the external disk.

Questions:

If I copy from the esxi host would it be faster?
Is there a best practice for accomplishing this task?

The external disk is currently attached to a utility server on the same subnet.  But, the time it is taking to copy a 400GB vmdk is exorbitant .

Thank you,

lipotech
0
Comment
Question by:lipotech
  • 3
  • 3
  • 2
  • +1
11 Comments
 
LVL 8

Expert Comment

by:Shahnawaz Ahmed
ID: 39885621
Dear lipotech ,

Can you please check the USB drive's file system is it NTFS or FAT 32?
Actully i had came across the same situation and later on i found that USB Drive's file system is FAT 32 which has to be NTFS for huge copy file.

Please check once and let me know
0
 
LVL 7

Expert Comment

by:peea
ID: 39885625
Copy files including vmdk files locally is certainly faster than doing the same thing over the network.

Try SSH onto the ESXi Server - and use the
command line. You can enable SSH access
from vSphere. e.g cp /usb/path/* /vmfs/volumes/datastore1/

FYI

http://serverfault.com/questions/368772/copying-vmdks-onto-esxi-local-disk
0
 
LVL 119
ID: 39885628
USB is not supported as an external datastore for VMFS, so it's not possible.

(FAT32 does have a 2GB/4GB file limit, it will need to be NTFS/ExFat, but it's not supported, and does not work!), ESXi is not LINUX!

Mount the USB on a PC or Server, and use NFS to add this USB disk as a datastore to the ESXi server, and then perform a network copy.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 8

Expert Comment

by:Shahnawaz Ahmed
ID: 39885645
Agreed with Andrew,

You copy across the network from PC/Server you can use XCOPY to copy the huge 400 GB data.
0
 

Author Comment

by:lipotech
ID: 39886440
Ahmed,

The file format is NTFS.
0
 
LVL 8

Expert Comment

by:Shahnawaz Ahmed
ID: 39886452
Dear lipotech,

I recommend you to give a try Andrew's solution.
0
 
LVL 119
ID: 39886618
You cannot attach a USB external disk drive to ESXi, it does not work, and is not supported.
0
 

Author Comment

by:lipotech
ID: 39889621
Andrew,

Please explain your comment "You cannot attach a USB external disk drive to ESXi, it does not work, and is not supported".   Maybe no explanation is needed, but I have seen USB thumb drives mounted to host.  I know we are talking USB External disk in this case. Can you explain in greater detail?

Thank you all for your excellent response to my inquiry.

lipotech
0
 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 39889662
You can connect USB External Hard Disks and USB Flash drives to Virtual Machines.

HOW TO: Add and Connect a USB Device to a Virtual Machine, hosted on VMware vSphere Hypervisor ESX 4.1 ESXi 4.1, ESXi 5.0

But trying to attach and mount a USB external disk or flash drive to ESXi is not supported and does not work, because there are "no mount" commands, there is no service console ion ESXi, it's not Unix or Linux.

and even if you could attach and mount a USB external hard disk, (which can be hacked to do it!), there is NO NTFS supported, only FAT32, so is completely useless, for copying VMDK virtual disks.

External USB drives cannot be used to host a VMFS partition.

VMware vSphere Hypervisor is an enterprise, corporate hypervisor, which just does not support the attachments of USB devices for copy operations.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Migrate VMs to AWS EC2 17 53
Where to look for vmware esxi 6.0 logs 9 69
Citrix UPM Compatibility with XenApp 6.0 4 65
ESXi 4.1.0 host unreachable every morning 1 47
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to install vSphere Update Manager  Console to Windows system:  Install vSphere Update Manager: Configure vSphere Update Manager plug-in in vSphere Client: Verify vSphere Update Manager settings in vSphere Client:
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

831 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