Bug 962143 - RFE: add support for resize of btrfs filesystems
Summary: RFE: add support for resize of btrfs filesystems
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blivet
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vojtech Trefny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: newui-container
: 1327003 1855292 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-12 00:26 UTC by Chris Murphy
Modified: 2023-04-26 12:05 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Chris Murphy 2013-05-12 00:26:54 UTC
Description of problem:
Guide partitioning's "Reclaim Disk Space" dialog, under Reclaimable Space, lists Btrfs volumes as Not Resizeable.

Version-Release number of selected component (if applicable):
anaconda 19.25-1

How reproducible:
Always

Steps to Reproduce:
1. Create a single or multiple device Btrfs file system.
2. Run installer, and select the option to get to the Reclaim Disk Space dialog.
  
Actual results:
Btrfs volumes are listed as Not Resizeable.

Expected results:
Btrfs volumes can be grown or shrunk since 2008. If anaconda isn't going to support this, then the column should read "Resize Unsupported" rather than stating the file system isn't resizable.

Additional info:

Comment 1 Chris Murphy 2013-05-12 20:07:18 UTC
The bigger consequence of this bug, is that it's not possible to do back to back Guided Partitioning if Btrfs was used first and set to leave less than 6GB of unresizable space. Guided partitioning cannot proceed a 2nd time because there isn't enough space, and the installer presently lacks the ability to resize Btrfs volumes, or place /boot on Btrfs via Guided partitioning.

Comment 2 David Lehman 2013-05-14 15:03:06 UTC
Because a btrfs volume can span multiple block devices of arbitrary type the installer is not going to support resizing of btrfs for the foreseeable future. The workaround available to you is to do the resize yourself. You can do it before starting the installer or you can do it while the installer is running, as long as you make sure to tell the installer to rescan the storage setup afterwards.

Comment 3 Chris Murphy 2013-05-14 16:13:25 UTC
a.) "Not resizeable" is still incorrect in that it's untrue, and should be "Resize unsupported" or similar.

b.) Basically what you're saying is Guided partitioning isn't going to handle a side by side installation of a new version of Fedora along side the previous version if the file system is Btrfs. Whereas with ext4 this was possible.

It seems to me eventually something will have to give (resizing or /boot on Btrfs) before Btrfs as a file system can become a default; or the consequence is literally everyone will be relegated to using only Manual partitioning because Guided will be totally incapable of dealing with the situation.

Comment 4 David Lehman 2013-05-14 16:48:34 UTC
(In reply to comment #3)
> a.) "Not resizeable" is still incorrect in that it's untrue, and should be
> "Resize unsupported" or similar.

Pedantic. It's not resizable in the installer.

> 
> b.) Basically what you're saying is Guided partitioning isn't going to
> handle a side by side installation of a new version of Fedora along side the
> previous version if the file system is Btrfs. Whereas with ext4 this was
> possible.

Correct, given some assumptions about available disk space, other partitions, &c.

> 
> It seems to me eventually something will have to give (resizing or /boot on
> Btrfs) before Btrfs as a file system can become a default; or the
> consequence is literally everyone will be relegated to using only Manual
> partitioning because Guided will be totally incapable of dealing with the
> situation.

Eventually, yes -- something will have to change. We only have so much time per release to spend on btrfs' specialness.

Comment 5 Chris Murphy 2013-05-14 16:53:53 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > a.) "Not resizeable" is still incorrect in that it's untrue, and should be
> > "Resize unsupported" or similar.
> 
> Pedantic. It's not resizable in the installer.

It's not pedantic to be accurate. The present label implies the file system is not resizable more than it indicates an unwillingness by the installer. Resize unsupported more clearly attributes the limitation to the installer.

Comment 6 Fedora End Of Life 2015-01-09 22:06:59 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 Fedora Admin XMLRPC Client 2015-09-28 20:24:53 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 8 David Lehman 2016-02-22 15:15:50 UTC
Bugzilla just reminded me of this bug. I would like to go ahead and set expectations here. The installer team has no plans to work on BTRFS support in the foreseeable future. It is a low-priority area and there is a lot to be done elsewhere.

Comment 9 Vojtech Trefny 2016-04-14 08:32:21 UTC
*** Bug 1327003 has been marked as a duplicate of this bug. ***

Comment 10 Vojtech Trefny 2020-07-23 08:46:34 UTC
*** Bug 1855292 has been marked as a duplicate of this bug. ***

Comment 11 Fedora Admin user for bugzilla script actions 2023-04-26 00:29:42 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 12 Fedora Admin user for bugzilla script actions 2023-04-26 12:05:40 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.


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