Solved

2 Million files, 48 hours to copy

Posted on 2013-12-19
4
249 Views
Last Modified: 2013-12-19
Recently I had to move a large number of files from one 64bit win system to another.  I was moving around 2 million files, 300kb to 16mb in size, most were around 4mb.  About 1.4tb total.  And I was trying to do it with a simple copy and paste over a weekend.  That worked about as well as you might guess...

The reasons for moving the data, were simple, we were out of space on that server.  I moved the data from a number of 600gb 10k drives, to a number of 4tb 7.2k drives.  The rate of growth was such that it just didn't make sense to leave the files on original setup, in the server that they were housed in.  Eventually i'll have to do this again, as we move them to a larger scale SAN.

This process took 3 weekends, because the process failed over and again, then didn't leave me enough time to get in another run at it.  It would get part way through the files (16-30 hours in) and just crash out.  I looked at couple other programs, and eventually used SyncToy to avoid making it 4 weekends, by simply copying what hadn't been copied already.  However even with only copying a lesser amount of the total files, it crashed out as well, and I eventually gave up on trying to do it in one set, and broke up the group of files in to 100k file increments (ish).  And that worked, I could verify that the files came across, that I had the same amount of files on both sides upon completion, and that the size was the same as well (also ran chkdsk against the files).

So getting back to "Eventually i'll have to do this again...", I don't want to break the files up, I want to start the job and it finish on its own.  I don't want to go in every 3 hours and start a new batch of 100k files.  Do you have any recommendations for moving a large amount of files from one 64 bit windows system to another?
0
Comment
Question by:CoffeeBlack
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 26

Assisted Solution

by:pony10us
pony10us earned 167 total points
ID: 39729547
Question:  Are you backing up all these files? Wouldn't it be easier to do a restore to the new location?
0
 
LVL 70

Assisted Solution

by:Qlemo
Qlemo earned 167 total points
ID: 39729563
Use RoboCopy, a commandline utility coming with recent MS OS. It allows for moving/ copying/mirroring, including attributes and securiy descriptors (if needed), is robust against failures, allows for retry definitions, ...

So you can tailor it to your needs with high probability.

A simple usage would be:
  robocopy c:\ \\server\c$\ /r:2 /w:5
to wait for a max. of 3 x 5 seconds if a file can't get copied, and only copying new(er)/changed files. That does not remove meanwhile deleted files - for having exact duplicates, use the /MIR switch.
0
 
LVL 4

Accepted Solution

by:
amclaughlin01 earned 166 total points
ID: 39729574
A couple options might be to use one of the following programs:

DeltaCopy - http://www.thegeekstuff.com/2012/05/rsync-for-windows-deltacopy/

or

Robocopy - http://sourceforge.net/projects/robocoprobocopy/


Benefits to using one of these is that if you do run into a problem during the copy, you can start it again and it will only copy new or changed files.

It is a great backup program for large directories because it doesn't have to copy the entire directory, but just the changed files.
0
 

Author Closing Comment

by:CoffeeBlack
ID: 39729629
Thx guys, I will get more info on those and get that ready for when the SAN is in place.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Have you ever had a hard drive that you can't boot into, but need to change the registry? Here is the solution! This article guides you through accessing and editing a registry of a non-primary drive. To read registry information on a non-prim…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

738 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