why copying a virtual machine from one datastore to another is too slow

hi, i have create one raid 1 with two 1tb harddrive and i am copying one virtual machine from another datastore to this new datastore on the 1tb raid 1 mirrored.

Why is too slow. it says it will take > then 2500minutes to finished just copying 170gb of this virtual machine. I am using vsphere client. Pls i need some help on this one.
LVL 1
rafaelrglAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TMekeelCommented:
Is the VM shutdown?
Are you using vmkfstools to copy or the GUI (vSphere client)?

cp is slower than vmkfstools if using CLI.

Also, is this local storage or SAN/NAS?  If not local, is it a 10/100 or 1000Mbps link?
0
rafaelrglAuthor Commented:
hi, i am using vSphere client. and it's local storage. like i sad i created one raid 1 with 2 harddrive and call it datastorage2 and i have this VM on datastorage1 on another Raid in differents harddrives.

what i do is shutdown the VM, then go the the datastorage1, copy and go to the datastorage2 and paste. that's it.
0
TMekeelCommented:
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
If you are using the vSphere Client, you are copying from server to workstation, and workstation to server across the network.

use the cp (copy) command at the console or SSH remotely.

Do you have Read/Write Cache enabled on your storage controller?

how many disks are in your RAID sets?

what speed of disks are being used?

why type of disks are being used?
0
TMekeelCommented:
cp is not as fast as vmkfstools to copy vmdks.

http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01575884&cc=sv&dlc=en&lc=sv

http://magiksys.blogspot.com/2012/09/vmware-esxi-fastcopypy-to-copy-vms.html

I understand why you are asking the speed of the disks, but more than likely it is the network lag that is causing the slow copy.  Command line and either tool would be faster than the vSphere client.
0
rafaelrglAuthor Commented:
hanccocka, i think that will explain the delay since is copying from, server - workstation - server using network. So how do i use the cp or the vmkfstools to copy the follow machine

on datastorage1, virtual machine call it windows8

to

datastorage2

and i want to unregistered the virtual machine on datastorage1 and registered on datastorage2 with the same configurations, and leave the copy on datastorage1 as backup.
0
rafaelrglAuthor Commented:
and also, can i copy while the virtual machine is live or i need to shutdown.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
The VMs must be shutdown!

cp /path/filename /path/filename
0
rafaelrglAuthor Commented:
i notice one thing. it~s taking too long when i click to refresh the datastores using vsphere client. is that normal.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
how long, is long?
0
rafaelrglAuthor Commented:
well, i tried to copy using cp command and after 35min it trows an error saying it can~t be copy. then the datastore does not appear on the lists of datastores available after that. only comes back after i restart the server.

Now, this datastore2 is an raid1 of 2 harddrives that were never used before, 1tb each. I did the raid on the bios and after that i reboot the server and tried to copy with no success doing it. I just don~t know what to do. i really need help on this one.
0
rafaelrglAuthor Commented:
so you think the solution of this would be the VMware vCenter Converter Standalone v2v, so i can copy the virtual machine running on datastore1 to the datastore2?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, v2v is another method of backup/restore or copy.
0
rafaelrglAuthor Commented:
hanccocka, i got error using this method when i click finish on the job creation.
ConverterDiagnostics201310182224.zip
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
at what percentage did it fail?
0
rafaelrglAuthor Commented:
it did not even start. just when i click finish, stay like on that screen and after while freezes and trow error.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
did you install converter on the VM to be converted?
0
rafaelrglAuthor Commented:
no. i did install to my laptop.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Best Practice and Recommended, is to install on computer to be converted!
0
rafaelrglAuthor Commented:
i didn't understand. how can you install on the computer to be converted since i am doing an backup of one virtualmachine that are on datastore1 to the datastore2. and to be copy i have to power off the virtualmachine. explain this situation better then.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
VMware Converter can convert a powered on computer using Shadow Copy.

This is best practice.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Power ON computer to be converted and install converter on it and select Convert Local Machine.
0
rafaelrglAuthor Commented:
hanccocka, heres is what happen, i install the converter on the machine to be convert and select convert local machine. It stop when i click finish and does not go on with the conversion. stay saying submitting job. what's going on?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
ah, Okay, I understand the issue. let me look at the logs, if anything is present.
0
rafaelrglAuthor Commented:
i will wait your comment. i really need help on this.
0
rafaelrglAuthor Commented:
hanccocka, anything new.
0
rafaelrglAuthor Commented:
hanccocka. waiting on your comment.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
0
rafaelrglAuthor Commented:
hanccocka. do you really think is the version?  i tryed to use vsphere client, then cp using putty, then vmware vcenter v2v and all stop working. don't you think is something else and not just version.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
There are many issues in the software, which has now been fixed.

cp should be able to copy the files.
0
rafaelrglAuthor Commented:
yes, just like you sad, cp should be able to copy the files, but like i sad, after while stop working and does not copy
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
if the virtual machine does not copy, there is something wrong and incorrect with your hardware.

is you server supported and on the HCL?

is the storage controller supported and on the HCL?

you could try and use the vmkfstools command.
0
rafaelrglAuthor Commented:
what you mean when you sad HCL
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Select the following link, and use the search form, to find your server and storage controller.

Check the VMware Hardware Compatability Lists HCL here

The VMware Hardware Compatibility List is the detailed lists showing actual vendor devices that are either physically tested or are similar to the devices tested by VMware or VMware partners. Items on the list are tested with VMware products and are known to operate correctly.Devices which are not on the list may function, but will not be supported by VMware.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.