#67 Add btrfs resize capability to Anaconda
Opened by chrismurphy. Modified

Anaconda/blivet doesn't currently support Btrfs resize.

Shrink use cases:

  • Create free space as a destination for a new Fedora installation
    • An alternative approach is to not resize, and install Fedora into its own subvolume
  • Raw installation images, e.g. install to a ~20G raw image, shrink to 16G

Grow use cases? (I'm not thinking of any off hand)

Related upstream issues:

Estimating the minimum size a Btrfs can be resized to
https://github.com/kdave/btrfs-progs/issues/271

RFC: btrfs plugin: use libbtrfsutil
https://github.com/storaged-project/libblockdev/pull/999

Related storaged-project issues:

Fix/improve the btrfs_resize function
https://github.com/storaged-project/libblockdev/issues/42

Add function to check if a BTRFS volume is complete help wanted
https://github.com/storaged-project/libblockdev/issues/244

btrfs plugin missing a check for minimum file system size for shrink
https://github.com/storaged-project/libblockdev/issues/548

Consider using libbtrfsutil in the btrfs plugin
https://github.com/storaged-project/libblockdev/issues/552


Metadata