]> git.proxmox.com Git - pve-manager-legacy.git/commit
fix: ceph: always set pool size first
authorAlwin Antreich <a.antreich@proxmox.com>
Tue, 20 Apr 2021 08:15:20 +0000 (10:15 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 20 Apr 2021 16:20:35 +0000 (18:20 +0200)
commitd25980fc5f882ab62a75e5367cf41d0043166530
treed721e3b3d977ad01855c475d25e376b895330fa8
parent1638a757908c23615e3993ca6d1a18d9c31f2835
fix: ceph: always set pool size first

Since Ceph Nautilus 14.2.10 and Octopus 15.2.2 the min_size of a pool is
calculated by the size (round(size / 2)). When size is applied after
min_size to the pool, the manual specified min_size will be overwritten.

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/Ceph/Tools.pm