]> git.proxmox.com Git - pve-installer.git/commit
create lvm: align LV size down to 4MB boundary for non-pve products
authorStoiko Ivanov <s.ivanov@proxmox.com>
Mon, 28 Nov 2022 20:41:10 +0000 (21:41 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 29 Nov 2022 04:51:34 +0000 (05:51 +0100)
commit5a5e17427ddb3b7c429ec7e11b247a4b921ed8b6
tree22433dc533a3167f952ba1fe987de112db659df5
parent7bf9ff28fcdff0307de94fcd251115347b50a4bf
create lvm: align LV size down to 4MB boundary for non-pve products

Following commit 1a5fa7b0936381314f613e525255078093f7f258 but for
the non-PVE code path we also need to align down to 4 MB with the
adapted auto-sizing, especially on smaller disks.

For PMG and PBS installations. Without it installation fails due to
one missing extent when creating the root LV. Minimally tested on a
VM of mine

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
 [ T: reworded commit message a bit ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
proxinstall