From 5f4e66fe4aac1e5e1c6d399c6d652209bbb4a565 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 23 Jun 2021 22:26:26 +0200 Subject: [PATCH] update static and schema information Signed-off-by: Thomas Lamprecht --- api-viewer/apidata.js | 32 +++++++++++++++++++++++++------- pvesm.1-synopsis.adoc | 30 +++++++++++++++++++++++------- 2 files changed, 48 insertions(+), 14 deletions(-) diff --git a/api-viewer/apidata.js b/api-viewer/apidata.js index 887e48b..6392cb1 100644 --- a/api-viewer/apidata.js +++ b/api-viewer/apidata.js @@ -40158,8 +40158,8 @@ const apiSchema = [ "default" : "login", "description" : "Run specific command or default to login.", "enum" : [ - "upgrade", "login", + "upgrade", "ceph_install" ], "optional" : 1, @@ -40254,8 +40254,8 @@ const apiSchema = [ "default" : "login", "description" : "Run specific command or default to login.", "enum" : [ - "upgrade", "login", + "upgrade", "ceph_install" ], "optional" : 1, @@ -40380,8 +40380,8 @@ const apiSchema = [ "default" : "login", "description" : "Run specific command or default to login.", "enum" : [ - "upgrade", "login", + "upgrade", "ceph_install" ], "optional" : 1, @@ -41366,13 +41366,13 @@ const apiSchema = [ "typetext" : "" }, "master-pubkey" : { - "description" : "Base64-encoded, PEM-formatted public RSA key. Used tp encrypt a copy of the encryption-key which will be added to each encrypted backup.", + "description" : "Base64-encoded, PEM-formatted public RSA key. Used to encrypt a copy of the encryption-key which will be added to each encrypted backup.", "optional" : 1, "type" : "string", "typetext" : "" }, "maxfiles" : { - "description" : "Deprecated: use 'prune-backups' instead. Maximal number of backup files per VM. Use '0' for unlimted.", + "description" : "Deprecated: use 'prune-backups' instead. Maximal number of backup files per VM. Use '0' for unlimited.", "minimum" : 0, "optional" : 1, "type" : "integer", @@ -41405,6 +41405,13 @@ const apiSchema = [ "type" : "string", "typetext" : "" }, + "nocow" : { + "default" : 0, + "description" : "Set the NOCOW flag on files. Disables data checksumming and causes data errors to be unrecoverable from while allowing direct I/O. Only use this if data does not need to be any more safe than on a single ext4 formatted disk with no underlying raid system.", + "optional" : 1, + "type" : "boolean", + "typetext" : "" + }, "nodes" : { "description" : "List of cluster node names.", "format" : "pve-node-list", @@ -41573,6 +41580,7 @@ const apiSchema = [ "type" : { "description" : "The type of the created storage.", "enum" : [ + "btrfs", "cephfs", "cifs", "dir", @@ -41611,6 +41619,7 @@ const apiSchema = [ "type" : { "description" : "Only list storage of specific type", "enum" : [ + "btrfs", "cephfs", "cifs", "dir", @@ -41818,13 +41827,13 @@ const apiSchema = [ "typetext" : "" }, "master-pubkey" : { - "description" : "Base64-encoded, PEM-formatted public RSA key. Used tp encrypt a copy of the encryption-key which will be added to each encrypted backup.", + "description" : "Base64-encoded, PEM-formatted public RSA key. Used to encrypt a copy of the encryption-key which will be added to each encrypted backup.", "optional" : 1, "type" : "string", "typetext" : "" }, "maxfiles" : { - "description" : "Deprecated: use 'prune-backups' instead. Maximal number of backup files per VM. Use '0' for unlimted.", + "description" : "Deprecated: use 'prune-backups' instead. Maximal number of backup files per VM. Use '0' for unlimited.", "minimum" : 0, "optional" : 1, "type" : "integer", @@ -41857,6 +41866,13 @@ const apiSchema = [ "type" : "string", "typetext" : "" }, + "nocow" : { + "default" : 0, + "description" : "Set the NOCOW flag on files. Disables data checksumming and causes data errors to be unrecoverable from while allowing direct I/O. Only use this if data does not need to be any more safe than on a single ext4 formatted disk with no underlying raid system.", + "optional" : 1, + "type" : "boolean", + "typetext" : "" + }, "nodes" : { "description" : "List of cluster node names.", "format" : "pve-node-list", @@ -42020,6 +42036,7 @@ const apiSchema = [ "type" : { "description" : "Storage type.", "enum" : [ + "btrfs", "cephfs", "cifs", "dir", @@ -42090,6 +42107,7 @@ const apiSchema = [ "type" : { "description" : "The type of the created storage.", "enum" : [ + "btrfs", "cephfs", "cifs", "dir", diff --git a/pvesm.1-synopsis.adoc b/pvesm.1-synopsis.adoc index f3a77a7..2ee66d9 100644 --- a/pvesm.1-synopsis.adoc +++ b/pvesm.1-synopsis.adoc @@ -4,7 +4,7 @@ Create a new storage. -``: `` :: +``: `` :: Storage type. @@ -92,11 +92,11 @@ target portal group for Linux LIO targets `--master-pubkey` `a file containing a PEM-formatted master public key` :: -Base64-encoded, PEM-formatted public RSA key. Used tp encrypt a copy of the encryption-key which will be added to each encrypted backup. +Base64-encoded, PEM-formatted public RSA key. Used to encrypt a copy of the encryption-key which will be added to each encrypted backup. `--maxfiles` ` (0 - N)` :: -Deprecated: use 'prune-backups' instead. Maximal number of backup files per VM. Use '0' for unlimted. +Deprecated: use 'prune-backups' instead. Maximal number of backup files per VM. Use '0' for unlimited. `--mkdir` `` ('default =' `yes`):: @@ -114,6 +114,10 @@ mount point RBD Namespace. +`--nocow` `` ('default =' `0`):: + +Set the NOCOW flag on files. Disables data checksumming and causes data errors to be unrecoverable from while allowing direct I/O. Only use this if data does not need to be any more safe than on a single ext4 formatted disk with no underlying raid system. + `--nodes` `` :: List of cluster node names. @@ -258,7 +262,7 @@ Used internally to export a volume. Volume identifier -``: `` :: +``: `` :: Export stream format @@ -274,6 +278,10 @@ Snapshot to start an incremental stream from Snapshot to export +`--snapshot-list` `` :: + +Ordered list of snapshots to transfer + `--with-snapshots` `` ('default =' `0`):: Whether to include intermediate snapshots in the stream @@ -326,7 +334,7 @@ Used internally to import a volume. Volume identifier -``: `` :: +``: `` :: Import stream format @@ -346,6 +354,10 @@ Base snapshot of an incremental stream A snapshot to delete on success +`--snapshot` `(?^i:[a-z0-9_\-]{1,40})` :: + +The current-state snapshot if the stream contains snapshots + `--with-snapshots` `` ('default =' `0`):: Whether the stream includes intermediate snapshots @@ -608,11 +620,11 @@ target portal group for Linux LIO targets `--master-pubkey` `a file containing a PEM-formatted master public key` :: -Base64-encoded, PEM-formatted public RSA key. Used tp encrypt a copy of the encryption-key which will be added to each encrypted backup. +Base64-encoded, PEM-formatted public RSA key. Used to encrypt a copy of the encryption-key which will be added to each encrypted backup. `--maxfiles` ` (0 - N)` :: -Deprecated: use 'prune-backups' instead. Maximal number of backup files per VM. Use '0' for unlimted. +Deprecated: use 'prune-backups' instead. Maximal number of backup files per VM. Use '0' for unlimited. `--mkdir` `` ('default =' `yes`):: @@ -630,6 +642,10 @@ mount point RBD Namespace. +`--nocow` `` ('default =' `0`):: + +Set the NOCOW flag on files. Disables data checksumming and causes data errors to be unrecoverable from while allowing direct I/O. Only use this if data does not need to be any more safe than on a single ext4 formatted disk with no underlying raid system. + `--nodes` `` :: List of cluster node names. -- 2.39.2