1 |
On Sat, Nov 28, 2009 at 2:30 AM, andrey larin <ubergitler@××××××.ru> wrote: |
2 |
> let suppose |
3 |
> sda and sdb is raid 1 md1 |
4 |
> and new sdc |
5 |
> remove sdb from raid |
6 |
> mdadm /dev/md1 -f /dev/sdb |
7 |
> mdadm /dev/md1 -r /dev/sdb |
8 |
> then create degraded raid 5 |
9 |
> don't forget md1 is still running |
10 |
> mdadm --create /dev/md2 --level 5 -n 3 /dev/sdb /dev/sdc missing |
11 |
> then copy all data from md1 to md2 |
12 |
> fix /etc/fstab and /boot/grub/grub.conf |
13 |
> destroy md1 |
14 |
> and add sda to md2 |
15 |
|
16 |
Excellent. All I need to know is that there is indeed a mechanism for |
17 |
doing this and that I am not crazy. Man pages should fill in the |
18 |
rest. |
19 |
|
20 |
Thanks for your help, Andrey |