RAID 5 with mdadm "spare" and "active sync" confusion
I am testing my RAID5 setup, and get confused on
"spare" and "active sync" For md0, every drive has status "active sync", but md1 has one drive as "spare". I use the same mdadm cmd to build these 2 RAIDs, but not sure why it difference. My question is whether all 4 drives are used in the RAID array, or it indicates that one drive is failed. Any help would be great. Code:
# mdadm --create /dev/md0 --level=raid5 --raid-devices=6 /dev/sdb[1-4] /dev/sde[1-2] Code:
# cat /proc/mdstat Here the output from # mdadm --verbose --examine --scan for md0 and md1 respectively Code:
|
well mdadm is clever enough.
you only see one spare, which is SHARED between the 2 arrays (someone correct me if you think this is wrong).. so it will not render 2/10 drives spare and waste your money :) meanwhile you do seem to have a faulty drive there .. |
All times are GMT -5. The time now is 03:50 PM. |