Bug 1254066 - Should be able to have a btrfs fs within an lvm volume
Should be able to have a btrfs fs within an lvm volume
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Anaconda Maintenance Team
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2015-08-17 01:49 EDT by Ian Kelling
Modified: 2015-08-18 00:36 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-08-17 14:58:56 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ian Kelling 2015-08-17 01:49:36 EDT
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:

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 14:58:56 EDT
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 00:36:30 EDT
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.