]> git.proxmox.com Git - pve-storage.git/commit
calculate reasonable metadatasize for lvm thin pools on creation
authorTim Marx <t.marx@proxmox.com>
Fri, 6 Dec 2019 13:04:45 +0000 (14:04 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 9 Dec 2019 13:04:07 +0000 (14:04 +0100)
commit3ea55f0532944b82b01ba1aae3c77431a9a0cb82
tree9e6103ddece416deb3e544bff82c0a98e3555ff7
parent14c7ede3a3b653e54c813405f893fa86204f901b
calculate reasonable metadatasize for lvm thin pools on creation

Letting LVM set the meta-data size internally was not a good idea, as
it produces really small metadata LVs. Adapts the same logic as the
installer.

Signed-off-by: Tim Marx <t.marx@proxmox.com>
Reviewed-By: Dominik Csapak <d.csapak@proxmox.com>
Tested-By: Dominik Csapak <d.csapak@proxmox.com>
PVE/API2/Disks/LVMThin.pm