Bug 766919
| Summary: | RFE: Block size of hard drive should be available | ||
|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | Marian Ganisin <mganisin> |
| Component: | inventory | Assignee: | Dan Callaghan <dcallagh> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Amit Saha <asaha> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 0.7 | CC: | asaha, atodorov, bpeck, ebaak, llim, mcsontos, pcahyna, rmancy, stl |
| Target Milestone: | 0.12 | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | Inventory | ||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-04-11 04:57:11 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Marian Ganisin
2011-12-12 19:35:46 UTC
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? http://www.gnu.org/software/parted/api/struct__PedDevice.html (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? > > http://www.gnu.org/software/parted/api/struct__PedDevice.html 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: http://gerrit.beaker-project.org/1653 http://gerrit.beaker-project.org/1654 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. |