Re: Another RAID level migration question

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

 



On Thursday August 9, davidsen@xxxxxxx wrote:
> I have an array on two drives which was set up as a RAID-0, because I 
> needed the space and performance. Now I have another identical drive, 
> ideally I would like to get to RAID-5, but I don't think that is going 
> to fly, so how about RAID-4? I could create with a missing parity drive, 
> then add the drive and see if it will rebuild.
> 
> I hope to test this using loop devices, but time is fairly short right now.

Providing the two drives are exactly the same size (which rounded down
to a multiple of 64K), this  will work.  The parity drive is the last
in the list so
   mdadm -C /dev/mdX -l4 -n3 -c WHATEVER /dev/sda1 /dev/sdb1 missing

is the sort of thing you want.

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