Bug 1254066 - Should be able to have a btrfs fs within an lvm volume
Summary: Should be able to have a btrfs fs within an lvm volume
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-17 05:49 UTC by Ian Kelling
Modified: 2015-08-18 04:36 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-08-17 18:58:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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