Post

The differing numbers you see after the partition identifiers in /proc/mdstat confused me. So I did a little digging: dev_number in the superblock for RAID version 1.2 is always in the 4256th through 4259th bytes in 32-bit little endian. All components of 1 md device are supposed to have

0 reposts0 likes

differing numbers. I think this is set/enforced by mdadm at array creation time, but that'd require reading mdadm's source, and it's late. I just don't really understand why I have an 2-partition array with 0 and 2 as identifiers since I've never had 3 partitions mirrored here.