On Sat, 22 Feb 2014 12:11:58 +1100 Eyal Lebedinsky <eyal@xxxxxxxxxxxxxx> wrote: > I am reading the kernel Documentation/md.txt. > > It explains what md the items in sysfs mean. It refers a few times to "sectors". > - Are we talking 512 bytes or the underlying physical disk sector size? Always 512 bytes. > - Do all disks in an array need to have the same sector size? No. > > Seeing how md can be built over physical disks, partitions, loop mounts and more, > I expect that 'sector' is short for '512 bytes' and real disk sector size is not > relevant here. Correct. > > Nevertheless, there is md*/queue/hw_sector_size which gives 512. So there are now > a few sector sizes (the array and the underlying devices) and the text does not > make it clear which is used where. I assume the array cluster size is the one > referred to in this document. I was never happy when 'queue' appeared under md*. It is almost entirely irrelevant. Feel free to post a patch to clarify md.txt. Thanks, NeilBrown > > TIA > > -- > Eyal Lebedinsky (eyal@xxxxxxxxxxxxxx) > -- > 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
Attachment:
signature.asc
Description: PGP signature