Software RAID issue in RHEL5
hi friends,
I have created RAID 1 containing 3 partitions in the same hard disk. Code:
#mdadm --create /dev/md0 --level=1 --raid-devices=3 /dev/hda{11,12,13} Code:
#mdadm --set-faulty /dev/md0 /dev/hda13 #mdadm --detail /dev/md0, it shows the following: Code:
Number Major Minor RaidDevice State Why is this so..? Even if I add a new hot spare and reboot the system, only /dev/hda11 and /dev/hda12 could be seen.. the new hot spare is not permamently sitting there in the raid array... please help..! |
Dear sagar
do you creating RAID 1 with three disk ? |
what is wrong in creating raid 1 with 3 disks...?
by the way, the same error occurs for RAID 5 also. |
Try this
#mdadm --create /dev/md0 --level=1 -x 1 --raid-devices=3 /dev/hda{11,12,13} Thanks |
vishesh,
thanks for your response. i will try that and respond to you. thanks a lot. |
hi vishesh,
I tried with the -x option, it accepts the command and works, but..once I fail one of raid array disks, this spare becomes active and the failed one becomes a faulty spare, ...then once i reboot the machine and issue the mdadm --detail /dev/md0 both the faulty spare and the new active device(which we configured as a spare before)are removed. the same thing happens for raid5. can u help with this....? thanks. |
Is there any relevant messages in log files.
Thanks |
vishesh,
I will check out and let u know. |
All times are GMT -5. The time now is 03:29 PM. |