Description of problem:
New hard drives use 4kB blocks instead of 512B. We need to be able to find particular disks for testing purpose.
Additionally, there are 2 sorts of realization. There are native 4kB drives, 4k blocks are exposed to system. There is also backward compatible option, 4k blocks are used internally in drive, however 512B blocks are exposed to system.
Any hints on where we could get this information from? We are currently using libparted to find disk info -- would this be the sector_size and phys_sector_size fields in the PedDevice struct?
(In reply to comment #1)
> Any hints on where we could get this information from? We are currently using
> libparted to find disk info -- would this be the sector_size and
> phys_sector_size fields in the PedDevice struct?
Yes, these are the values.
James has done most of the work for this, I think we should get it released.
One thing not implemented by James was the ability to search by disk size (and sector size) in the web UI and in hostRequires.
The disk info collection itself was merged a while back, these two patches (which apparently I forgot to post here) add search:
Beaker 0.12 has been released.
*** Bug 609513 has been marked as a duplicate of this bug. ***
FYI it seems that filtering by logical sector size never worked, it has been equivalent to physical sector size. Therefore one can not distinguish between native 4kB and 512 emulated.