Copy large VHD - invalid function.

Simon Cox
Simon Cox used Ask the Experts™
on
I have a hyper-v host that runs our clients SBS server as a virtual. There are 3 VHD drives in use all sitting locally on the host. One is for the OS, one is for Exchange and one for data. We are moving them over to a new host and will be using iscsi as storage. We are copying the VHD's to the new location by using XCOPY & FASTCOPY and we have had success with moving the OS drive 250gb and Exchange 525gb but the data drive just wil not copy, its about 800gb. Each time its failed its said Incorrect Function. Im suspecting there is some corruption somewhere but I could do with getting this copied today so I can ge them working for Monday, an integrety chack can be carried out later. Is there a way to just brute force this copy over to the new server so we can mount and test this weekend?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Distinguished Expert 2017

Commented:
Is the VM running at the time?Try robocopy?
Do you have space where you are moving it to?

Not clear from your description whether the network tines out or something else is interfering ...
Simon CoxTechnical Director

Author

Commented:
Hi Arnold

No the server is turned off so we can access the drives without issues, there is over 8tb free on the drive im copying the to. As i said 2 out of the 3 drives have copied over fine. Ive even tried editing the drive and moving its location, again this fails at some point. Errors are quite vague.

TY Simon
Distinguished Expert 2017

Commented:
Do you ave some process that backs up the VM from the host?
Does your hyper-v setup include hot move of resources?
I.e. While running from the host side you shift the resources.

Do you have two separate networks, one for the iscsi and one for the rest?
The switches do they prioritize iscsi traffic or can be configured for it.
CompTIA Security+

Learn the essential functions of CompTIA Security+, which establishes the core knowledge required of any cybersecurity role and leads professionals into intermediate-level cybersecurity jobs.

Philip ElderTechnical Architect - HA/Compute/Storage

Commented:
What OS version for the Hyper-V host? Is the destination also a Hyper-V host?

If compatible, the simplest way to do this is to enable Hyper-V replication between the old and new host, so long as they are compatible, and then run a planned failover. If successful, delete the replication relationship and run.
Technical Director
Commented:
We found that the drive was corrupted, this was affecting the copy.
Simon CoxTechnical Director

Author

Commented:
Thanks guys, we got there in the end.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial