]> git.proxmox.com Git - pve-manager.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)
commit11d74274002f69d231d79f71ce8acec71e5added
treea4cf7c6d6eb41169e4e020ac80ad1bd9ed37e844
parentae793232503bad930691b8e20b3e637a21e4ebc0
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