Bug 1892095 - Setting up two different btrfs volumes for two internal disks, shows both as having first disk's size
Summary: Setting up two different btrfs volumes for two internal disks, shows both as ...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 33
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-27 21:23 UTC by Eduardo Silva
Modified: 2020-10-27 21:38 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Eduardo Silva 2020-10-27 21:23:36 UTC
Description of problem:
Setting up two different btrfs volumes for two internal disks on a laptop, shows both as having the same size of the first volume's disk.

Version-Release number of selected component (if applicable):
Fedora 33

How reproducible:
Always.

Steps to Reproduce:
1. Have a laptop with two disks (typically SDD+HDD). 
2. Go to custom partitioning, and click on automatic partitioning with btrfs (which creates one volume across both disks with two mount points, / and /home )
3. Deselect one of the the disks for the single volume, and create another volume with the other disk. Assign one volume for / and the other for /home . 

Actual results:
Both mounts show as having the same space as the first volume's disk (in this case the SSD's size)

Expected results:
Each mount should show the space of their respective disk

Additional info:
Please see the screenshots at https://ask.fedoraproject.org/t/fedora-33-separate-btrfs-partitions-on-ssd-and-hdd/9902 from another user with the same problem as me.
At this time I don't know what the final state of the installated sizes are, as I never went through the install. The "questioner" at that link seems willing to test it, will update bug report with result.

Comment 1 Eduardo Silva 2020-10-27 21:30:13 UTC
According to the ask.fedoraproject.org link, removing the problematic mountpoint (/home) and creating it again, assigning it to the correct btrfs volume and manually sizing it fixes the problem.

Comment 2 Chris Murphy 2020-10-27 21:38:36 UTC
Yep, and the related (original) issue of what Automatic partitioning does, or should do, when two drives are selected is a valid question. What's the expectation? I'd say for sure if the performance of the two drives is very different, then they shouldn't be combined in a single Btrfs volume. (The same thing happened with LVM+ext4 as the Automatic partitioning default.) Maybe it should put boot and sysroot on SSD, and /home on HDD.


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