Solved

2 Million files, 48 hours to copy

Posted on 2013-12-19
4
251 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

Turn Insights into Action

Communication across every corner of your business is essential to increase the velocity of your application delivery and support pipeline. Automate, standardize, and contextualize your communication processes with xMatters.

Question has a verified solution.

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

Good afternoon all, We are running a VM infrastructure on a clustered ESX environment with two DELL R710's.  One of our IT Application Support Engineers contacted me and asked if it was possible to extend the partition of a certain Windows 2003 S…
Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
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). …
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

691 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