linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tomasz Chmielewski <mangoo@wpkg.org>
To: Gordon Henderson <gordon@drogon.net>
Cc: linux-raid@vger.kernel.org
Subject: Re: how to synchronize two devices (RAID-1, but not really?)
Date: Tue, 15 May 2007 11:44:34 +0200	[thread overview]
Message-ID: <46498102.6030005@wpkg.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0705151019070.30502@lion.drogon.net>

Gordon Henderson schrieb:
> On Tue, 15 May 2007, Tomasz Chmielewski wrote:
> 
>> I have a RAID-10 setup of four 400 GB HDDs. As the data grows by 
>> several GBs a day, I want to migrate it somehow to RAID-5 on separate 
>> disks in a separate machine.
>>
>> Which would be easy, if I didn't have to do it online, without 
>> stopping any services.
>>
>>
>> M1 - machine 1, RAID-10
>> M2 - machine 2, RAID-5
>>
>>
>> My first idea was to copy the data with rsync two or three times 
>> (because the files change, I would stop the services for the last run) 
>> - which turned out to be totally unrealistic - I started rsync process 
>> two days ago, and it still calculates files to be copied (over 100 
>> million files, with hardlinks etc.).
> 
> I have recent experience of copying up to 1TB parititions to offsite 
> backup servers via rsync (and a 10Mb line), and it can be done.
> 
> You do need a recent version of rsync and a lot of memory in both 
> servers. I'm really surprised it takes days to do this on your server - 
> although maybe the source server really is busy?

Yes, the server is really busy and reads/writes a lot - that's one. Two, 
it's being done over iSCSI in a pretty complicated scenario:


                     100 Mbit
M1 (RAID-10 storage) <--> very busy virtual machine in Xen
                            /
                           / 1 Gbit
                          /
      machine with rsync process <--> M2 (RAID-5 storage)
                                1 Gbit

So there is a slow point of just 100 Mbit to access the storage, which 
is normally fully filled anyway.

rsync, even 3.0, just doesn't fit here - it has to be done in sort of a 
"mirror" way.


-- 
Tomasz Chmielewski
htp://wpkg.org

  reply	other threads:[~2007-05-15  9:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-15  8:57 how to synchronize two devices (RAID-1, but not really?) Tomasz Chmielewski
2007-05-15  9:16 ` Peter Rabbitson
2007-05-15  9:27   ` Tomasz Chmielewski
2007-05-15  9:41     ` David Greaves
2007-05-15  9:50       ` Tomasz Chmielewski
2007-05-16 17:36       ` Bill Davidsen
2007-05-15 14:22     ` Gregory Seidman
2007-05-15  9:29 ` Gordon Henderson
2007-05-15  9:44   ` Tomasz Chmielewski [this message]
2007-05-15 10:16 ` Neil Brown
2007-05-15 10:36   ` Tomasz Chmielewski
2007-05-15 11:12     ` Neil Brown
2007-05-15 10:41   ` Tomasz Chmielewski
2007-05-15 11:07     ` Neil Brown
2007-05-15 11:21       ` Tomasz Chmielewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46498102.6030005@wpkg.org \
    --to=mangoo@wpkg.org \
    --cc=gordon@drogon.net \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).