Bug 2189899

Summary: Blivet-GUI: A btrfs partition can't be reformatted
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: blivet-guiAssignee: Vojtech Trefny <vtrefny>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 42CC: awilliam, fzatlouk, gmarr, mkolman, robatino, vtrefny
Target Milestone: ---Keywords: CommonBugs
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard: https://discussion.fedoraproject.org/t/89052 RejectedBlocker
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Kamil Páral 2023-04-26 10:44:35 UTC
This is a fork of bug 2186158. That one was changed to cover only Custom partitioning, and this bug is supposed to cover the same use case in Blivet-GUI partitioning.

Btrfs filesystem can't be reformatted, even if you remove all subvolumes which are present on that filesystem. It is expected that I should be able to reformat it in that case, but I still can't.

See the second half of attachment 1957109 [details] for a video demonstration, and bug 2186158 for a more detailed description.

The only workaround seems to be a complete removal of a partition and creation of a new partition.

Reproducible: Always

Steps to Reproduce:
1. Create a default Fedora Workstation 37/38 installation (using btrfs). I only tested BIOS mode, but it doesn't probably matter.
2. Run the installer and try to use the former root partition (vda3 in my case). Reformatting the filesystem is expected.
3. Anaconda doesn't allow you to use the partition, you have to completely re-create it.

Comment 1 Kamil Páral 2023-04-26 10:56:16 UTC
Proposing as a final blocker due to a possible violation of https://fedoraproject.org/wiki/Fedora_38_Final_Release_Criteria#Disk_layouts

Comment 2 Fedora Release Engineering 2023-08-16 08:09:13 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 3 Kamil Páral 2023-08-24 14:05:21 UTC
Tested Fedora-Workstation-Live-x86_64-39-20230823.n.0.iso, no improvements, still can't reformat a partition even after removing all subvolumes.

Comment 4 Geoffrey Marr 2023-08-28 20:13:11 UTC
Discussed during the 2023-08-28 blocker review meeting: [0]

The decision to delay the classification of this as a blocker bug was made as this is a complex area and we're really not too sure how to handle this. It's an awkward experience but it is possible to work with it, and we don't know how practical it is to 'fix' this on the development side. We'll delay the decision and ask anaconda/blivet devs to provide input on that part.

[0] https://meetbot.fedoraproject.org/fedora-blocker-review/2023-08-28/f39-blocker-review.2023-08-28-16.07.txt

Comment 5 František Zatloukal 2023-09-04 18:11:48 UTC
Discussed during the 2023-09-04 blocker review meeting: [1]

The decision to classify this bug as a RejectedBlocker (Final) was made:

"Based on feedback from vtrefny via kparal at https://pagure.io/fedora-qa/blocker-review/issue/1157#comment-872594 , we agree it doesn't make sense to take too strict of an interpretation and make this a blocker. we will document how to handle it as a common bug."

[1] https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2023-09-04/f39-blocker-review.2023-09-04-16.00.log.txt

Comment 6 Aoife Moloney 2024-11-08 10:51:52 UTC
This message is a reminder that Fedora Linux 39 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 39 on 2024-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '39'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 39 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 7 Aoife Moloney 2025-02-26 12:53:38 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.