Bug 1254066

Summary: Should be able to have a btrfs fs within an lvm volume
Product: [Fedora] Fedora Reporter: Ian Kelling <ianowl>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-17 18:58:56 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 Ian Kelling 2015-08-17 05:49:36 UTC
Description of problem: btrfs volumes in anaconda cannot be on an lvm partition. It's perfectly reasonable to want to have some volumes be btrfs and some not:

This page agrees:
https://btrfs.wiki.kernel.org/index.php/FAQ#Btrfs_has_subvolumes.2C_does_this_mean_I_don.27t_need_a_logical_volume_manager_and_I_can_create_a_big_Btrfs_filesystem_on_a_raw_partition.3F

In my case, I was planning to setup my / as ext4 and a data partition as btrfs, both within an lvm volume group. Different filesystems have different strengths, but if the btrfs is not on lvm, it's hard to resize partitions between them.

I decided the workaround was to use ext4 on the partition which was intended for btrfs, then after installation, umount, then mkfs.btrfs. As the commands are only trivially different for making an ext4 and btrfs filesystem, this limitation seems very silly and artificial.

Comment 1 David Shea 2015-08-17 18:58:56 UTC
You can configure this layout manually, either before running anaconda or by switching to tty2 for a console, and anaconda will detect the btrfs volumes and be able to assign them mountpoints. Not every possible filesystem configuration can be created from within anaconda.

Comment 2 Ian Kelling 2015-08-18 04:36:30 UTC
I did not know there were these alternate methods. Thanks.