Bug 2236433
| Summary: | anaconda only able to use btrfs volumes created for one mount point | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | lnie <lnie> | ||||||||||||||
| Component: | anaconda | Assignee: | anaconda-maint | ||||||||||||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||
| Severity: | medium | Docs Contact: | |||||||||||||||
| Priority: | unspecified | ||||||||||||||||
| Version: | 39 | CC: | anaconda-maint, vslavik, vtrefny, w | ||||||||||||||
| 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: | 2023-09-05 08:26:20 UTC | 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: | 2143445 | ||||||||||||||||
| Attachments: |
|
||||||||||||||||
|
Description
lnie
2023-08-31 09:13:41 UTC
Created attachment 1986270 [details]
anaconda.log
Created attachment 1986271 [details]
storage.log
Created attachment 1986272 [details]
screenshot
I have to rename one of the two btrfs volume to have it work. I think the gtk ui's user experience is much better:create sub volumes accordingly when users try to use that btrfs volume for different mount points.At least,blivet-gui should use different names when users create more than one brtfs volume. Besides,I see bugs time from time if I use the work around in #Comment4,just as the attached screencast show: anaconda complaints that blivet is not valid, but after I look into the modify storage page,I find blivet is there,the re-named (and encrypted?) volume is gone,but I failed to find the reproducer :( Created attachment 1986491 [details]
screencast
Proposed as a Freeze Exception for 39-beta by Fedora user lnie using the blocker tracking app because: This kind of violates: https://fedoraproject.org/wiki/Fedora_39_Beta_Release_Criteria#Custom_partitioning I am closing this as "notabug" because from my point of view, Anaconda is behaving here as expected -- single btrfs volume without subvolumes is a "single device" and cannot be mounted twice, you need to create subvolumes to be able to do this. The WebUI in Anaconda is not able to create new devices (this includes btrfs subvolumes that are technically not devices) at all so users needs to create all devices manually (with blivet-gui, in terminal etc.) before entering the mount point assignment. The issue with duplicate names when creating multiple volumes is tracked in https://bugzilla.redhat.com/show_bug.cgi?id=2237379 > The WebUI in Anaconda is not able to create new devices
Thanks for your info,but can't it somehow call blivet to do the favor? Just like in gtk ui custom page.
I don't know the code of anaconda/blivet/blivet-gui, as a user,I *thought* it's not hard to have web ui "create sub volumes accordingly when users try to use that btrfs volume for different mount points" because of two reasons:
1)In gtk custom ui page,when you click "+" button,create a btrfs volume for "/",and then create another btrfs volume for "/home",the two volume will be merged to one,
so I thought web ui could do vice verse:create sub volumes accordingly.As you may know,or you can see from the attached screencast,the volume name shown to user are the same:the parent volume' name
and I thought anaconda could,or call blivet to create sub volumes when the single volume name is called more than once.
2)When I'm saying "I think the gtk ui's user experience is much better:create sub volumes accordingly when users try to use that btrfs volume for different mount points" I mean in blivet-gui,when users click "+" and set mount point more than once on the same volume,sub volumes will be created accordingly(screencast2),I mistook "+" as set mount point button when I was drawing that conclusion,sorry.
Created attachment 1987438 [details]
screencast1
Created attachment 1987439 [details]
screencast2
|