Bug 1876020

Summary: Unable to encrypt btrfs partition
Product: [Fedora] Fedora Reporter: Nick Bebout <nb>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 33CC: anaconda-maint-list, bugzilla, davide, jkonecny, jonathan, kellin, michel, ngompa13, vanmeeuwen+fedora, vponcova, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-05 00:28:33 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:

Description Nick Bebout 2020-09-04 23:12:10 UTC
I was attempting to test btrfs in Fedora 33 20200904 compose and any time I select btrfs as the filesystem, it does not allow me to Encrypt that partition.

Comment 1 Neal Gompa 2020-09-04 23:45:32 UTC
I just attempted with the Fedora Workstation live media to install with encryption with automatic partition (i.e. btrfs), and it seemed to work fine. What workflow were you trying where this failed? Could you provide reproducer steps?

Comment 2 Chris Murphy 2020-09-05 00:28:33 UTC
1. Custom part
2. Btrfs preset, create partitions automatically
3. Click on /home or /
4. The "Encrypt" checkbox to the right of Device Type Btrfs, is grayed out
This is not a bug, it's expected. To encrypt:
5. To the right of Device Type, is Volume. Click on the Modify button underneath, check encrypt here.

It's not possible (yet) to encrypt individual subvolumes. We can only encrypt the entire Btrfs volume.

Comment 3 Nick Bebout 2020-09-05 00:30:33 UTC
Oh Ok, thanks Chris!  I will do it that way.