LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-18-2011, 12:17 AM   #1
tikit
Member
 
Registered: Feb 2008
Posts: 85

Rep: Reputation: 16
sychronization/mirroring tool


Hi,

we have a Linux system serving as a storage. As it is running out of free space be bought a new server which should replace the old one. We would like the outage during the migration to be as short as possible. The plan is as follows (actually very similar to XEN live migration):

1. copy the data to the new storage
2. stop access to the old storage
3. synchronization of data
4. set the new storage as the primary one.

I was thinking of rsync, but the first phase (building file list) takes extremely long, because there are milions of files.

Is there any other tool which whould be more suitable for it?

Thanks for helping
 
Old 04-18-2011, 01:23 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Possibly use this http://clonezilla.org/ and just clone the old system to the new one in 3 steps:

1. stop access to old
2. clone old=>new
3. enable access to new
 
Old 04-18-2011, 02:04 AM   #3
tikit
Member
 
Registered: Feb 2008
Posts: 85

Original Poster
Rep: Reputation: 16
Thanks for reply. The problem is that the cloning of the whole storage would take about one day (it is more than 2TB of data). So my plan is to copy everything in the first step then stop access to storage and copy only the changed data.
 
Old 04-18-2011, 07:02 PM   #4
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,305

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by tikit View Post
Thanks for reply. The problem is that the cloning of the whole storage would take about one day (it is more than 2TB of data). So my plan is to copy everything in the first step then stop access to storage and copy only the changed data.
As the data is pretty big (2 TB) it is bound to consume time, you can use rsync follows.

1. copy the data to the new storage
2. synchronization of data
3. stop access to the old storage
4. set the new storage as the primary one
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross-tool 0.42: Tool-chain compilation process fail ueagle Linux From Scratch 2 03-26-2011 03:43 AM
Mirroring a Folder njb Slackware 2 12-03-2010 08:45 AM
Help!!! on Mirroring RMLinux Linux - Newbie 5 04-26-2010 12:25 AM
mirroring fareedreg Linux - Newbie 1 12-19-2007 07:42 AM
Mirroring bkeating Linux - Software 1 06-22-2003 06:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration