You are not logged in.

#1 2012-05-30 20:38:38

Lenry
Member
From: Szeged, Hungary
Registered: 2010-03-27
Posts: 66
Website

Converting a RAID1 system to RAID10

One of my machines run on 2x500GB HDDs in a RAID1 setup. I managed to get two more 500GB drives, and want to convert the whole thing to a RAID10 array. The tricky part is that the system is currently boots (via grub-legacy) and runs from these drives.

My plan is the following:
1. Create a degraded 4 disk RAID 10 array with two missing disks.
2. rsync the RAID 1 array with the RAID 10 array.
3. fail and remove one disk from the RAID 1 array.
4. Add the available disk to the RAID 10 array and wait for resynch to complete.
The last step would be to destroy the RAID 1 array and add the last disk to the RAID 10 array, and I presume that this should be done from a liveCD, after that save mdadm.conf, reinstall grub, and after a reboot, everything should be fine, shouldn't it?

Did I miss something? Do anyone have a better idea / method?

Offline

Board footer

Powered by FluxBB