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: 39CC: mkolman, vtrefny
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
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:
Bug Depends On:    
Bug Blocks: 2143446    

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.