Bug 1487031
| Summary: | [GSS][RFE]The Ceph disk type is unknown then we run the command "fdisk -l" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | liuwei <wliu> | ||||
| Component: | util-linux | Assignee: | Karel Zak <kzak> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Radka Brychtova <rskvaril> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 7.3 | CC: | bhubbard, ovasik, rskvaril | ||||
| Target Milestone: | pre-dev-freeze | Keywords: | FutureFeature | ||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | util-linux-2.23.2-44.el7 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-04-10 17:25:50 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1465901 | ||||||
| Attachments: |
|
||||||
|
Description
liuwei
2017-08-31 05:50:57 UTC
Created attachment 1320455 [details]
unknown picture
In rhel7 the partition GUID is clearly set correctly and matches https://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs $ sudo sgdisk --info=1 /dev/sdb Partition GUID code: 4FBD7E29-9D25-41B8-AFD0-062C0CEFF05D (Unknown) <----NOTE Partition unique GUID: 008B0A93-F321-487B-AA95-021F4D1397A5 First sector: 4196352 (at 2.0 GiB) Last sector: 583983070 (at 278.5 GiB) Partition size: 579786719 sectors (276.5 GiB) Attribute flags: 0000000000000000 Partition name: 'ceph data' The fact that fdisk (and sgdisk for that matter) on rhel7 do not recognise this partition GUID code is a deficiency in the versions of the tools on rhel7 IMHO. If we compare this behaviour to Fedora 25 for example we see the following. $ sudo sgdisk --info=1 /dev/vdb Partition GUID code: 4FBD7E29-9D25-41B8-AFD0-062C0CEFF05D (Ceph OSD) <----NOTE Partition unique GUID: B9897115-9FAD-49BA-8481-FE1907EB1067 First sector: 10487808 (at 5.0 GiB) Last sector: 419430366 (at 200.0 GiB) Partition size: 408942559 sectors (195.0 GiB) Attribute flags: 0000000000000000 Partition name: 'ceph data' $ sudo fdisk -l /dev/vdb Disk /dev/vdb: 200 GiB, 214748364800 bytes, 419430400 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: FCCB72B7-95B8-4A87-979E-FA7ACBAC6FD2 Device Start End Sectors Size Type /dev/vdb1 10487808 419430366 408942559 195G Ceph OSD /dev/vdb2 2048 10487807 10485760 5G Ceph Journal I would suggest changing this bug to be against fdisk (and sgdisk). Fixed by upstream commit 5aa8d13b13c3c8eddbd9176ef493dfa70a10616b. It's trivial change. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0936 |