]> git.proxmox.com Git - pve-manager.git/commitdiff
ceph: set allowed minimal pg_num down to 1
authorAlwin Antreich <a.antreich@proxmox.com>
Tue, 20 Apr 2021 08:15:17 +0000 (10:15 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 20 Apr 2021 16:20:35 +0000 (18:20 +0200)
In Ceph Octopus the device_health_metrics pool is auto-created with 1
PG. Since Ceph has the ability to split/merge PGs, hitting the wrong PG
count is now less of an issue anyhow.

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

index 014e6be7fb394b6dffdbec5f59cd54f94ba21ea6..939a1f8a36cc0d9ef53dc816f59d928de5336e33 100644 (file)
@@ -175,7 +175,7 @@ my $ceph_pool_common_options = sub {
            type => 'integer',
            default => 128,
            optional => 1,
-           minimum => 8,
+           minimum => 1,
            maximum => 32768,
        },
        pg_num_min => {