Hi there:
I installed red-hat6.2 and raidtools are within
it.
I made a raid5:
my /etc/raidtab
raiddev
/dev/md0
raid-level 5 nr-raid-disks 3 nr-spare-disks 0 persistent-superblock 1 chunk-size 4 parity-algorithm
left-symmetric
device
/dev/sda7
raid-disk 0 device /dev/sdb1 raid-disk 1 device
/dev/sdc1
raid-disk 2 it works fine.
Then, I wanna try the reconstruction of raid5.
So I fdisk /dev/sdc, and kill the partition sdc1. Reboot and see what will
happen.
But I got the /proc/mdstat
Personalities : [raid5]
read_ahead 1024 sectors md0 : active raid5 sdb1[1] sda7[0] 1720064 blocks level 5, 4k chunk, algorithm 2 [3/2] [UU_] unused devices: <none> I think that means the sdc1 is not in raid array now. So I try
to fdisk /dev/sdc and make a partition sdc1 as the same size it was.
And
I set it to fd type. But after I reboot,
the /proc/mdstat was the same as above.
So cound you teach me what's the exact way to recontruct the
raid5 if one disk failed.
Thank you!
---
Kevin
|