partman-auto recipe: lvm: min.size of PV added to min.sizes of LVs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-base (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Got the following recipe for a one disk /boot + LVM setup (2 partitions, 2nd one is PV for VG, 3-4 LVs):
256 256 256 ext4
12032 12032 1000000000 ext4
2048 2048 2048 linux-swap
5120 5120 5120 ext4
4864 4864 5120 ext4
0 0 1000000000 ext4
When I have a disk < ~24GB partman fails with "available disk space (...) too small for expert recipe (24320)". the last number indicates that partman calculates the total size of the recipe by adding all minimal sizes together (256+12032+
Btw: It works if I specify minmal size 0 for the physical volume
PS: Using Ubuntu 16.04 Server iso image
description: | updated |