Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1075288
Summary: | RFE: please consider using the GPT partition type IDs from the discoverable partitions spec | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lennart Poettering <lpoetter> | |
Component: | python-blivet | Assignee: | Vojtech Trefny <vtrefny> | |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | rawhide | CC: | anaconda-maint-list, bcl, berrange, cglombek, crobinso, dlehman, g.kaviyarasu, jonathan, kraxel, maxim.suraev, vanmeeuwen+fedora, vtrefny | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | python-blivet-3.7.0-1.fc38 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1201814 2160074 (view as bug list) | Environment: | ||
Last Closed: | 2023-02-08 13:18:22 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: | 1201814, 2160074 |
Description
Lennart Poettering
2014-03-12 02:10:16 UTC
All the changes described above look like a python-blivet changes to me. Reassigning. Meh, I wanted to say: "Note that the partition types suggested in 1.-3. should only be used if the partition contains a simple file system like btrfs, ext2,3,4, xfs, ..., possibly encrypted with LUKS. It should not be used if LVM, mdraid or btrfs *RAID* is used for the partition." Simple single-volume btrfs should use the GPT type ids suggested here, just btrfs raid should not. Note that this is going to require upstream changes in parted and pyparted so we can set the partition GUID directly. Note that at least gdisk and Karel's libfdisk support arbitrary GUIDs directly. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Ping. What is the status here? This has the potential to simplify the boot loader configuration alot, specifically the initrd can find the root filesystem without needing a machine-specific root=UUID=<id> on the kenel command line. (In reply to Brian Lane from comment #3) > Note that this is going to require upstream changes in parted and pyparted > so we can set the partition GUID directly. Fast forward 8 years, and parted 3.5 finally includes APIs for setting/getting the GPT partition GUID, and I've just proposed a pyparted binding at https://github.com/dcantrell/pyparted/pull/95 I'm going to explore upstream blivet code to see if I can learn enough about it to do something useful with this RFE. (In reply to Daniel Berrangé from comment #7) > (In reply to Brian Lane from comment #3) > > Note that this is going to require upstream changes in parted and pyparted > > so we can set the partition GUID directly. > > Fast forward 8 years, and parted 3.5 finally includes APIs for > setting/getting the GPT partition GUID, and I've just proposed a pyparted > binding at https://github.com/dcantrell/pyparted/pull/95 This is merged > I'm going to explore upstream blivet code to see if I can learn enough about > it to do something useful with this RFE. This is proposed as: https://github.com/storaged-project/blivet/pull/1080 (In reply to Daniel Berrangé from comment #9) > (In reply to Daniel Berrangé from comment #7) > > I'm going to explore upstream blivet code to see if I can learn enough about > > it to do something useful with this RFE. > > This is proposed as: > > https://github.com/storaged-project/blivet/pull/1080 This is now merged for the 3.7-devel branch of blivet The next step is to figure out what we want from Anaconda wrt usage of discoverable partitions. Thank you again for the patches Daniel, we plan to release blivet 3.7.0 in time for Fedora 38. |