Re: Linux RAID migration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday August 7, saeed.bishara@xxxxxxxxx wrote:
> > 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.

Create the new raid5 on sda[12] (same 2 devices as the raid1) and it
will work.  Then grow to make it raid5 on 3 drives if you want.

> >
> > > - 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 :(

A 2-disk raid5 and a 2-disk raid1 put the data in exactly the same
place - is that what you wanted to know?

NeilBrown
-
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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux