let suppose
sda and sdb is raid 1 md1
and new sdc
remove sdb from raid
mdadm /dev/md1 -f /dev/sdb
mdadm /dev/md1 -r /dev/sdb
then create degraded raid 5
don't forget md1 is still running
mdadm --create /dev/md2 --level 5 -n 3 /dev/sdb /dev/sdc missing
then copy all data from md1  to md2
fix /etc/fstab and /boot/grub/grub.conf
destroy md1
and add sda to md2


2009/11/28 Dan Cowsill <[email protected]>

> Hello list,
>
> Currently I have two terabyte hard disks in a RAID1 configuration
> using software RAID.  What I'd like to do is add a third disk and
> arrive at the end with a RAID5 array.  The problem is I have limited
> disk space and not enough room to back up all of the data on the array
> in its current form.  What I'd like to know is if it is possible to
> use two disks to make a degraded RAID5 array, move the data onto it
> from one of the mirror disks, and then add the mirrored disk into the
> new array?
>
> Thanks,
> D
>
>


-- 
Ларин Андрей

тел 89093090949

Reply via email to