[blivet][master/rhel7-branch] Fixes for the bug #978266

Vratislav Podzimek vpodzime at redhat.com
Wed Sep 17 07:14:15 UTC 2014

When doing BTRFS autopart on many small disks (hate you DASDs!) we may get into
a situation that the implicitly scheduled partitions for the BTRFS scheduled one
on each disk with size request of 500 MiB don't leave any big enough free space
to fit in swap and /boot which cannot be on BTRFS. The result is autopart
failing on a machine with e.g. >18 GiB (8 x 2.34 GiB) because of not enough free

Patches 1/3 and 2/3 build the base for the PATCH 3/3 which fixes the issue by
making the smallest one implicitly scheduled partition smaller to make enough
space for the autopart-requested partitions.

Vratislav Podzimek (3):
  Work with free region sizes instead of parted.Geometry objects
  Move implicit partition creation into a separate function
  Make sure autopart requests fit in somewhere (#978266)

 blivet/partitioning.py | 86 ++++++++++++++++++++++++++++++++++----------------
 1 file changed, 59 insertions(+), 27 deletions(-)


More information about the anaconda-patches mailing list