Re: raid role number off on one array?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/11/2015 08:54 AM, Phil Turmel wrote:
/proc/mdstat doesn't show role numbers.  It shows slot numbers.  Slot
numbers are the indices into the role number tracking tables in the
superblock.  They happen to match role numbers on a freshly-created
array simply because the slots are allocated starting from zero, just
like the roles.  As you add and remove devices, the slot numbers and
role numbers may no longer match.

Ah hah!

That was the piece of the puzzle I was missing. Thanks you. I guess I'm just a bit overly concerned about making sure I understand everything I'm seeing with my arrays. After having used mdadm for roughly a decade without a single loss, then having that little "no attempt to activate sda7 Oops", I just want to do what I can to avoid a repeat :-)

--
David C. Rankin, J.D.,P.E.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux