]> git.proxmox.com Git - pve-docs.git/commitdiff
update static/schema info
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 2 May 2022 15:40:50 +0000 (17:40 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 2 May 2022 15:40:59 +0000 (17:40 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
api-viewer/apidata.js
pveceph.1-synopsis.adoc

index cbaba3aa960c734fc84cdc5cbc792fa305fb5094..1423523eb02b442af14ba83a136b12a6f4c8f899 100644 (file)
@@ -33406,6 +33406,15 @@ const apiSchema = [
                                           "optional" : 1,
                                           "title" : "PG Autoscale Target Ratio",
                                           "type" : "number"
+                                       },
+                                       "type" : {
+                                          "enum" : [
+                                             "replicated",
+                                             "erasure",
+                                             "unknown"
+                                          ],
+                                          "title" : "Type",
+                                          "type" : "string"
                                        }
                                     },
                                     "type" : "object"
@@ -33428,7 +33437,8 @@ const apiSchema = [
                                  "additionalProperties" : 0,
                                  "properties" : {
                                     "add_storages" : {
-                                       "description" : "Configure VM and CT storage using the new pool. Always enabled for erasure coded pools.",
+                                       "default" : "0; for erasure coded pools: 1",
+                                       "description" : "Configure VM and CT storage using the new pool.",
                                        "optional" : 1,
                                        "type" : "boolean",
                                        "typetext" : "<boolean>"
@@ -33453,6 +33463,7 @@ const apiSchema = [
                                        "typetext" : "<string>"
                                     },
                                     "erasure-coding" : {
+                                       "description" : "Create an erasure coded pool for RBD with an accompaning replicated pool for metadata storage.",
                                        "format" : {
                                           "device-class" : {
                                              "description" : "CRUSH device class. Will create an erasure coded pool plus a replicated pool for metadata.",
@@ -33461,6 +33472,7 @@ const apiSchema = [
                                              "type" : "string"
                                           },
                                           "failure-domain" : {
+                                             "default" : "host",
                                              "description" : "CRUSH failure domain. Default is 'host'. Will create an erasure coded pool plus a replicated pool for metadata.",
                                              "format_description" : "domain",
                                              "optional" : 1,
@@ -33468,7 +33480,7 @@ const apiSchema = [
                                           },
                                           "k" : {
                                              "description" : "Number of data chunks. Will create an erasure coded pool plus a replicated pool for metadata.",
-                                             "minimum" : 1,
+                                             "minimum" : 2,
                                              "type" : "integer"
                                           },
                                           "m" : {
index 47857fdbdc1c97e6fe3467b69d96088782d9b4b7..1798c3bd17abd8f16f8b23ec9208f9416649064a 100644 (file)
@@ -242,9 +242,9 @@ Create Ceph pool
 
 The name of the pool. It must be unique.
 
-`--add_storages` `<boolean>` ::
+`--add_storages` `<boolean>` ('default =' `0; for erasure coded pools: 1`)::
 
-Configure VM and CT storage using the new pool. Always enabled for erasure coded pools.
+Configure VM and CT storage using the new pool.
 
 `--application` `<cephfs | rbd | rgw>` ('default =' `rbd`)::
 
@@ -256,7 +256,7 @@ The rule to use for mapping object placement in the cluster.
 
 `--erasure-coding` `k=<integer> ,m=<integer> [,device-class=<class>] [,failure-domain=<domain>] [,profile=<profile>]` ::
 
-no description available
+Create an erasure coded pool for RBD with an accompaning replicated pool for metadata storage.
 
 `--min_size` `<integer> (1 - 7)` ('default =' `2`)::