On 8/7/07, Tuomas Leikola <tuomas.leikola@xxxxxxxxx> wrote: > On 8/7/07, saeed bishara <saeed.bishara@xxxxxxxxx> wrote: > > Hi, > > I'm looking for a method for doing RAID migration while keeping the > > data available. > > the migrations I'm interested with are: > > 1. Single drive ->RAID1/RAID5 > > 2. RAID1 -> RAID5. > > > > 1. is a bit complicated, as a raid device on a disk is slightly > smaller than the original device. you might need to copy data > manually. I think I can overcome this problem by creating linear raid on the initial disk. > > 2. should be simple as (offline) re-creating the raid as raid5. this didn't work, I created raid1 array on sda[12], then stopped it, and created new raid5 on sda[123], the data on the raid1 was not preserved. > > > - can I really assume that RAID 5 on 2 hdds (degraded mode) will > > function as raid 5? > > You should test by using loopback devices and files. But why degraded? > raid5 of two disks should look like raid1. I meant to ask whether raid 5 on 2 disks will function as raid1 :( > > > - how to build raid while keeping the contents of an existing drive available? > > Normally the array is available when building/rebuilding. > > - tuomas > - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html