Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure autopart requests fit in somewhere
When doing LVM/BTRFS autopart we implicitly schedule one partition on each disk as a device for LVM/BTRFS. Those implicitly scheduled partitions are requested to be at least 500 MiB big and grow if possible. That's fine and works well until we have many small disks (e.g. DASDs) and need to fit another partition (for e.g. swap) that is in combination with the 500MiB implicit partition bigger than any disk we have. Thus we need to make sure all our partition requests fit somewhere with the implicitly scheduled partitions by making the latter ones smaller or by removing them if needed. Related: rhbz#1202877 (cherry picked from commit a6d17f9) Conflicts: blivet/devices.py blivet/partitioning.py
- Loading branch information
Showing
2 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters