how to synchronize two devices (RAID-1, but not really?)

2007-05-15 Thread Tomasz Chmielewski
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,

Re: how to synchronize two devices (RAID-1, but not really?)

2007-05-15 Thread Peter Rabbitson
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. Your

Re: how to synchronize two devices (RAID-1, but not really?)

2007-05-15 Thread Tomasz Chmielewski
Peter Rabbitson schrieb: 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

Re: how to synchronize two devices (RAID-1, but not really?)

2007-05-15 Thread Gordon Henderson
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

Re: how to synchronize two devices (RAID-1, but not really?)

2007-05-15 Thread David Greaves
Tomasz Chmielewski wrote: Peter Rabbitson schrieb: 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

Re: how to synchronize two devices (RAID-1, but not really?)

2007-05-15 Thread Tomasz Chmielewski
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,

Re: how to synchronize two devices (RAID-1, but not really?)

2007-05-15 Thread Tomasz Chmielewski
David Greaves schrieb: (...) So I want to synchronize /dev/LVM2/my-volume (ext3) with /dev/sdr (now empty; bigger than /dev/LVM2/my-volume). (sda2, sdb2, sdc2, sdd2) - RAID-10 - LVM-2 - my volume - ext3 I've not used iSCSI but I wonder about using nbd : network block device Use nbd to

Re: removed disk md-device

2007-05-15 Thread Goswin von Brederlow
Bill Davidsen [EMAIL PROTECTED] writes: Bernd Schubert wrote: Yep, thats exactly what I'm talking about and its not only limited to usb, but happens with sata as well. And real SCSI hot plug drives if you pull the wrong one. The right thing to do would be to change the raid superblock

Re: how to synchronize two devices (RAID-1, but not really?)

2007-05-15 Thread Neil Brown
On Tuesday May 15, [EMAIL PROTECTED] wrote: Now, is there a way I can synchronize the contents of RAID-10, or /dev/md10, with the contents of RAID-5, or /dev/sdr, when /dev/sdr is bigger then /dev/md10, and /dev/md10 has to be synchronized on /dev/sdr, not the way around (I would expand

Re: how to synchronize two devices (RAID-1, but not really?)

2007-05-15 Thread Tomasz Chmielewski
Neil Brown schrieb: (...) You will want to test this of course - I cannot guarantee that I have that command exactly right. If the remote device fails (link breaks) it should get marked faulty in the array. Once you have it working again you can use mdadm to remove (--remove) and re-add

Re: how to synchronize two devices (RAID-1, but not really?)

2007-05-15 Thread Tomasz Chmielewski
Neil Brown schrieb: (...) An external bitmap means that if the link goes down, it keeps track of which blocks are in sync and which aren't, and when the link comes back up you re-add the missing device and the rebuild continues where it left off. mdadm --build /dev/md22 --level=1

Re: how to synchronize two devices (RAID-1, but not really?)

2007-05-15 Thread Neil Brown
On Tuesday May 15, [EMAIL PROTECTED] wrote: Neil Brown schrieb: (...) An external bitmap means that if the link goes down, it keeps track of which blocks are in sync and which aren't, and when the link comes back up you re-add the missing device and the rebuild continues where it

Re: how to synchronize two devices (RAID-1, but not really?)

2007-05-15 Thread Neil Brown
On Tuesday May 15, [EMAIL PROTECTED] wrote: Interesting lecture, thanks a lot. I'm gonna take that path. :-) I have one more question, though. I want to migrate: - from 4x400GB HDD RAID-10 - to 4x400GB HDD RAID-5 Obviously, I need 8 disks for that, but I have only 6. So my idea

Re: how to synchronize two devices (RAID-1, but not really?)

2007-05-15 Thread Tomasz Chmielewski
Neil Brown schrieb: On Tuesday May 15, [EMAIL PROTECTED] wrote: Neil Brown schrieb: (...) An external bitmap means that if the link goes down, it keeps track of which blocks are in sync and which aren't, and when the link comes back up you re-add the missing device and the rebuild continues

Re: how to synchronize two devices (RAID-1, but not really?)

2007-05-15 Thread Gregory Seidman
On Tue, May 15, 2007 at 11:27:16AM +0200, Tomasz Chmielewski wrote: Peter Rabbitson schrieb: 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

Re: Software raid0 will crash the file-system, when each disk is 5TB

2007-05-15 Thread Michal Piotrowski
[Ingo, Neil, linux-raid added to CC] On 16/05/07, Jeff Zheng [EMAIL PROTECTED] wrote: Hi everyone: We are experiencing problems with software raid0, with very large disk arrays. We are using two 3ware disk array controllers, each of them is connected 8 750GB harddrives. And we build a