On 6/24/2011 10:17 AM, Iordan Iordanov wrote:
Hi Maurice,
..
R10 has different layouts. There are two components to the layout -
where the chunks are located on the different devices (near, offset,
far), and number of copies of the data. The near/offset/far part of
the layout does not play a role in reliability, just in performance.
So, the number of copies is the only thing that matters to this
discussion.
If you have R10 with 3 disks and 3 copies, it is equally reliable to
R1 with 3 disks, as they have an equal number of copies. In both R10
and R1 in this case, two disks can fail, and you still have 1 intact
copy remaining.
From what I read, assuming I want to optimize this for READ
performance, I would want "R10 far".
As I understand this, if I wanted the R10, I could set aside one disk of
the R1 with my existing data,
and use on of the old disks, along with the new one, to create the R10 ?
I believe the way to accomplish this is as follows:
Set aside (disconnect) 1 of the existing 2 disks.
Boot from emergency recovery media, making sure the md version is
relatively current ( newer than 3.0 ?)
Create the R10 with the other 2 disks ( 1 old and 1 new) with 1 of the 3
disks missing.
I think I have to wipe the superblock on the disk that was formerly part
of the RAID1 set.
Reconnect the old R1 reserved disk.
Copy the data from the single member of the old R1 to the new R10
On the old disk of the R1 set wipe the superblock.
Lastly add the 3rd disk to the R10 set.
Run grub to put the boot block on all 3 of the disks.
Assuming that this sequence is correct, what I need now is the correct
syntx for these steps.
Or, perhaps, I have it wrong!
--
Cheers,
Maurice Hilarius
eMail: /mhilarius@xxxxxxxxx/
--
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