All of lore.kernel.org
 help / color / mirror / Atom feed
* what should blockdev getbpsz return 4k disks w/512e?
@ 2017-11-04  9:09 L A Walsh
  2017-11-06 10:19 ` Karel Zak
  0 siblings, 1 reply; 4+ messages in thread
From: L A Walsh @ 2017-11-04  9:09 UTC (permalink / raw)
  To: util-linux


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-11-14 10:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-04  9:09 what should blockdev getbpsz return 4k disks w/512e? L A Walsh
2017-11-06 10:19 ` Karel Zak
2017-11-14  4:37   ` L A Walsh
2017-11-14 10:08     ` Karel Zak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.