what should blockdev getbpsz return 4k disks w/512e?

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

 




I just tried blockdev on a HW raid device (/dev/sdb) composed of
4K disks that can (w/performance penalty) emulate 512 byte disk
(i.e. have the 512e feature). It is returning 512.
If the disk is composed of 4K disks, shouldn't the raid show 4K
as well?  Otherwise, how do utils know what alignment to use or
not to use 512 due to penalty costs?  For my formatted disks, I
use 4K allocation units, so for those, I shouldn't see problems,
but some other disk subsystems or raw-disk using progs also need to
know to allocate on 4K boundaries.

Any idea where this info should be showing up?

Thanks!
-linda

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux