mdadm phantom drive and info discrepencies
Server with 4 disk partitions in an RAID 5 array using md.
Yesterday the array failed with two devices showing as faulty. After rebooting from rescue, I was able to force the assembly and start the array and everything looks to be okay as far as the data goes, but when I run: Code:
mdadm --examine /dev/sda3 Code:
Raid Level : raid5 Code:
mdadm --detail /dev/md1 Code:
Array Size : 2172292608 (2071.66 GiB 2224.43 GB) a - 0 b - 1 c - 2 d - 4 (!) The first number 'Array Size' from examine is twice as big as sit should be based on the output from detail and comparing to twinned server, and why does the 'Array State' and 'Array Slot' from examine indicate there's a 5th device that's not indicated anywhere else? And how do I fix this? |
The command
Code:
mdadm --manage /dev/md1 --remove failed Remember that --examine (IIRC) is going to give you the RAID metadata from one device while --detail gives you what the RAID manager thinks. The fact that there's a discrepancy bothers me too, but I'm not sure what you would do about that short of forcing the rewrite of the RAID's metadata. Perhaps the remove command above will help? |
Good suggestion, but no luck. I've been considering updating the device superblock/meta-data and will likely do so this weekend.
|
All times are GMT -5. The time now is 10:56 AM. |