Bug 2189899 - Blivet-GUI: A btrfs partition can't be reformatted
Summary: Blivet-GUI: A btrfs partition can't be reformatted
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: blivet-gui
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Vojtech Trefny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: https://discussion.fedoraproject.org...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-26 10:44 UTC by Kamil Páral
Modified: 2023-09-04 18:11 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.