Re: Array member "role numbers" in /proc/mdstat

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

 



On 09/23/2013 12:39 PM, Ian Pilcher wrote:
> On 09/23/2013 11:36 AM, Benjamin ESTRABAUD wrote:
>> Are you referring to the particular mention"Any device with "n" or
>> higher are spare disks. 0,1,..,n-1 are for the working array." in the
>> Mdstat wiki page?
> 
> I was really thinking of the sentence before that, which states:
> 
>   The raid role numbers [#] following each device indicate its role, or
>   function, within the raid set.

The wiki is wrong.  The number in brackets is the device's index into
the *table* of roles in the superblock.  In a new array, table entries
are allocated sequentially, which makes it *look* like the role numbers.

Phil
--
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