X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=pvesm.1-synopsis.adoc;h=5a71906311410773811026056d8fab464ad89d78;hp=f4b17cc9099cbf8b3b7da3dfa113829d4ee8537d;hb=7d6078845fa6a3bd308c7dc843273e56be33f315;hpb=04ce4dfa6d97e119eebc5906873362fa5d0c33e5 diff --git a/pvesm.1-synopsis.adoc b/pvesm.1-synopsis.adoc index f4b17cc..5a71906 100644 --- a/pvesm.1-synopsis.adoc +++ b/pvesm.1-synopsis.adoc @@ -4,439 +4,594 @@ Create a new storage. -`` `(dir | drbd | glusterfs | iscsi | iscsidirect | lvm | lvmthin | nfs | rbd | sheepdog | zfs | zfspool)` :: +``: `` :: Storage type. -`` `string` :: +``: `` :: The storage identifier. -`-authsupported` `string` :: +`--authsupported` `` :: Authsupported. -`-base` `string` :: +`--base` `` :: Base volume. This volume is automatically activated. -`-blocksize` `string` :: +`--blocksize` `` :: block size -`-comstar_hg` `string` :: +`--bwlimit` `[clone=] [,default=] [,migration=] [,move=] [,restore=]` :: + +Set bandwidth/io limits various operations. + +`--comstar_hg` `` :: host group for comstar views -`-comstar_tg` `string` :: +`--comstar_tg` `` :: target group for comstar views -`-content` `string` :: +`--content` `` :: Allowed content types. + -NOTE: the value 'rootdir' is used for Containers, and value 'images' for -VMs. +NOTE: the value 'rootdir' is used for Containers, and value 'images' for VMs. -`-disable` `boolean` :: +`--disable` `` :: Flag to disable the storage. -`-export` `string` :: +`--domain` `` :: + +CIFS domain. + +`--export` `` :: NFS export path. -`-format` `string` :: +`--format` `` :: Default image format. -`-iscsiprovider` `string` :: +`--fuse` `` :: + +Mount CephFS through FUSE. + +`--is_mountpoint` `` ('default =' `no`):: + +Assume the given path is an externally managed mountpoint and consider the storage offline if it is not mounted. Using a boolean (yes/no) value serves as a shortcut to using the target path in this field. + +`--iscsiprovider` `` :: iscsi provider -`-krbd` `boolean` :: +`--krbd` `` :: -Access rbd through krbd kernel module. +Always access rbd through krbd kernel module. -`-maxfiles` `integer (0 - N)` :: +`--lio_tpg` `` :: + +target portal group for Linux LIO targets + +`--maxfiles` ` (0 - N)` :: Maximal number of backup files per VM. Use '0' for unlimted. -`-monhost` `string` :: +`--mkdir` `` ('default =' `yes`):: + +Create the directory if it doesn't exist. + +`--monhost` `` :: -Monitors daemon ips. +IP addresses of monitors (for external clusters). -`-nodes` `string` :: +`--nodes` `` :: List of cluster node names. -`-nowritecache` `boolean` :: +`--nowritecache` `` :: disable write caching on the target -`-options` `string` :: +`--options` `` :: NFS mount options (see 'man nfs') -`-path` `string` :: +`--password` `` :: + +Password for CIFS share. + +`--path` `` :: File system path. -`-pool` `string` :: +`--pool` `` :: Pool. -`-portal` `string` :: +`--portal` `` :: iSCSI portal (IP or DNS name with optional port). -`-redundancy` `integer (1 - 16)` (default=`2`):: +`--redundancy` ` (1 - 16)` ('default =' `2`):: -The redundancy count specifies the number of nodes to which the resource -should be deployed. It must be at least 1 and at most the number of nodes -in the cluster. +The redundancy count specifies the number of nodes to which the resource should be deployed. It must be at least 1 and at most the number of nodes in the cluster. -`-saferemove` `boolean` :: +`--saferemove` `` :: Zero-out data when removing LVs. -`-saferemove_throughput` `string` :: +`--saferemove_throughput` `` :: Wipe throughput (cstream -t parameter value). -`-server` `string` :: +`--server` `` :: Server IP or DNS name. -`-server[n]` `string` :: +`--server2` `` :: Backup volfile server IP or DNS name. + NOTE: Requires option(s): `server` -`-shared` `boolean` :: +`--share` `` :: + +CIFS share. + +`--shared` `` :: Mark storage as shared. -`-sparse` `boolean` :: +`--smbversion` `<2.0 | 2.1 | 3.0>` :: + +SMB protocol version + +`--sparse` `` :: use sparse volumes -`-target` `string` :: +`--subdir` `` :: + +Subdir to mount. + +`--tagged_only` `` :: + +Only use logical volumes tagged with 'pve-vm-ID'. + +`--target` `` :: iSCSI target. -`-thinpool` `string` :: +`--thinpool` `` :: LVM thin pool LV name. -`-transport` `(rdma | tcp | unix)` :: +`--transport` `` :: Gluster transport: tcp or rdma -`-username` `string` :: +`--username` `` :: RBD Id. -`-vgname` `string` :: +`--vgname` `` :: Volume group name. -`-volume` `string` :: +`--volume` `` :: Glusterfs Volume. - - - *pvesm alloc* ` ` `[OPTIONS]` Allocate disk images. -`` `string` :: +``: `` :: The storage identifier. -`` `integer (1 - N)` :: +``: ` (1 - N)` :: Specify owner VM -`` `string` :: +``: `` :: The name of the file to create. -`` `\d+[MG]?` :: +``: `\d+[MG]?` :: -Size in kilobyte (1024 bytes). Optional suffixes 'M' (megabyte, 1024K) and -'G' (gigabyte, 1024M) +Size in kilobyte (1024 bytes). Optional suffixes 'M' (megabyte, 1024K) and 'G' (gigabyte, 1024M) -`-format` `(qcow2 | raw | subvol)` :: +`--format` `` :: no description available + NOTE: Requires option(s): `size` +*pvesm cifsscan* +An alias for 'pvesm scan cifs'. -*pvesm free* `` `[OPTIONS]` +*pvesm export* ` ` `[OPTIONS]` -Delete volume +Export a volume. -`` `string` :: +``: `` :: Volume identifier -`-storage` `string` :: +``: `` :: -The storage identifier. +Export stream format +``: `` :: +Destination file name +`--base` `(?^:[a-z0-9_\-]{1,40})` :: -*pvesm glusterfsscan* `` +Snapshot to start an incremental stream from -Scan remote GlusterFS server. +`--snapshot` `(?^:[a-z0-9_\-]{1,40})` :: -`` `string` :: +Snapshot to export -no description available +`--with-snapshots` `` ('default =' `0`):: +Whether to include intermediate snapshots in the stream +*pvesm extractconfig* `` +Extract configuration from vzdump backup archive. -*pvesm help* `[]` `[OPTIONS]` +``: `` :: + +Volume identifier + +*pvesm free* `` `[OPTIONS]` + +Delete volume + +``: `` :: + +Volume identifier + +`--storage` `` :: + +The storage identifier. + +*pvesm glusterfsscan* + +An alias for 'pvesm scan glusterfs'. + +*pvesm help* `[OPTIONS]` Get help about specified command. -`` `string` :: +`--extra-args` `` :: -Command name +Shows help for a specific command -`-verbose` `boolean` :: +`--verbose` `` :: Verbose output format. +*pvesm import* ` ` `[OPTIONS]` +Import a volume. +``: `` :: -*pvesm iscsiscan* `-portal ` `[OPTIONS]` +Volume identifier -Scan remote iSCSI server. +``: `` :: -`-portal` `string` :: +Import stream format -no description available +``: `` :: + +Source file name + +`--base` `(?^:[a-z0-9_\-]{1,40})` :: + +Base snapshot of an incremental stream + +`--delete-snapshot` `(?^:[a-z0-9_\-]{1,80})` :: + +A snapshot to delete on success +`--with-snapshots` `` ('default =' `0`):: +Whether the stream includes intermediate snapshots +*pvesm iscsiscan* + +An alias for 'pvesm scan iscsi'. *pvesm list* `` `[OPTIONS]` List storage content. -`` `string` :: +``: `` :: The storage identifier. -`-content` `string` :: +`--content` `` :: Only list content of this type. -`-vmid` `integer (1 - N)` :: +`--vmid` ` (1 - N)` :: Only list images for this VM +*pvesm lvmscan* +An alias for 'pvesm scan lvm'. +*pvesm lvmthinscan* -*pvesm lvmscan* +An alias for 'pvesm scan lvmthin'. -List local LVM volume groups. +*pvesm nfsscan* +An alias for 'pvesm scan nfs'. +*pvesm path* `` -*pvesm lvmthinscan* `` +Get filesystem path for specified volume -List local LVM Thin Pools. +``: `` :: -`` `[a-zA-Z0-9\.\+\_][a-zA-Z0-9\.\+\_\-]+` :: +Volume identifier -no description available +*pvesm remove* `` +Delete storage configuration. +``: `` :: -*pvesm nfsscan* `` +The storage identifier. -Scan remote NFS server. +*pvesm scan cifs* `` `[OPTIONS]` -`` `string` :: +Scan remote CIFS server. -no description available +``: `` :: +The server address (name or IP). +`--domain` `` :: +SMB domain (Workgroup). -*pvesm path* `` +`--password` `` :: -Get filesystem path for specified volume +User password. -`` `string` :: +`--username` `` :: -Volume identifier +User name. +*pvesm scan glusterfs* `` +Scan remote GlusterFS server. +``: `` :: -*pvesm remove* `` +The server address (name or IP). -Delete storage configuration. +*pvesm scan iscsi* `` -`` `string` :: +Scan remote iSCSI server. -The storage identifier. +``: `` :: + +The iSCSI portal (IP or DNS name with optional port). + +*pvesm scan lvm* + +List local LVM volume groups. + +*pvesm scan lvmthin* `` + +List local LVM Thin Pools. + +``: `[a-zA-Z0-9\.\+\_][a-zA-Z0-9\.\+\_\-]+` :: + +no description available + +*pvesm scan nfs* `` + +Scan remote NFS server. + +``: `` :: + +The server address (name or IP). +*pvesm scan zfs* +Scan zfs pool list on local node. *pvesm set* `` `[OPTIONS]` Update storage configuration. -`` `string` :: +``: `` :: The storage identifier. -`-blocksize` `string` :: +`--blocksize` `` :: block size -`-comstar_hg` `string` :: +`--bwlimit` `[clone=] [,default=] [,migration=] [,move=] [,restore=]` :: + +Set bandwidth/io limits various operations. + +`--comstar_hg` `` :: host group for comstar views -`-comstar_tg` `string` :: +`--comstar_tg` `` :: target group for comstar views -`-content` `string` :: +`--content` `` :: Allowed content types. + -NOTE: the value 'rootdir' is used for Containers, and value 'images' for -VMs. +NOTE: the value 'rootdir' is used for Containers, and value 'images' for VMs. -`-delete` `string` :: +`--delete` `` :: A list of settings you want to delete. -`-digest` `string` :: +`--digest` `` :: -Prevent changes if current configuration file has different SHA1 digest. -This can be used to prevent concurrent modifications. +Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications. -`-disable` `boolean` :: +`--disable` `` :: Flag to disable the storage. -`-format` `string` :: +`--domain` `` :: + +CIFS domain. + +`--format` `` :: Default image format. -`-krbd` `boolean` :: +`--fuse` `` :: + +Mount CephFS through FUSE. + +`--is_mountpoint` `` ('default =' `no`):: + +Assume the given path is an externally managed mountpoint and consider the storage offline if it is not mounted. Using a boolean (yes/no) value serves as a shortcut to using the target path in this field. -Access rbd through krbd kernel module. +`--krbd` `` :: -`-maxfiles` `integer (0 - N)` :: +Always access rbd through krbd kernel module. + +`--lio_tpg` `` :: + +target portal group for Linux LIO targets + +`--maxfiles` ` (0 - N)` :: Maximal number of backup files per VM. Use '0' for unlimted. -`-nodes` `string` :: +`--mkdir` `` ('default =' `yes`):: + +Create the directory if it doesn't exist. + +`--monhost` `` :: + +IP addresses of monitors (for external clusters). + +`--nodes` `` :: List of cluster node names. -`-nowritecache` `boolean` :: +`--nowritecache` `` :: disable write caching on the target -`-options` `string` :: +`--options` `` :: NFS mount options (see 'man nfs') -`-pool` `string` :: +`--password` `` :: + +Password for CIFS share. + +`--pool` `` :: Pool. -`-redundancy` `integer (1 - 16)` (default=`2`):: +`--redundancy` ` (1 - 16)` ('default =' `2`):: -The redundancy count specifies the number of nodes to which the resource -should be deployed. It must be at least 1 and at most the number of nodes -in the cluster. +The redundancy count specifies the number of nodes to which the resource should be deployed. It must be at least 1 and at most the number of nodes in the cluster. -`-saferemove` `boolean` :: +`--saferemove` `` :: Zero-out data when removing LVs. -`-saferemove_throughput` `string` :: +`--saferemove_throughput` `` :: Wipe throughput (cstream -t parameter value). -`-server` `string` :: +`--server` `` :: Server IP or DNS name. -`-server[n]` `string` :: +`--server2` `` :: Backup volfile server IP or DNS name. + NOTE: Requires option(s): `server` -`-shared` `boolean` :: +`--shared` `` :: Mark storage as shared. -`-sparse` `boolean` :: +`--smbversion` `<2.0 | 2.1 | 3.0>` :: + +SMB protocol version + +`--sparse` `` :: use sparse volumes -`-transport` `(rdma | tcp | unix)` :: +`--subdir` `` :: -Gluster transport: tcp or rdma +Subdir to mount. -`-username` `string` :: +`--tagged_only` `` :: -RBD Id. +Only use logical volumes tagged with 'pve-vm-ID'. +`--transport` `` :: +Gluster transport: tcp or rdma +`--username` `` :: + +RBD Id. *pvesm status* `[OPTIONS]` Get status for all datastores. -`-content` `string` :: +`--content` `` :: Only list stores which support this content type. -`-enabled` `boolean` (default=`0`):: +`--enabled` `` ('default =' `0`):: Only list stores which are enabled (not disabled in config). -`-storage` `string` :: - -Only list status for specified storage +`--format` `` ('default =' `0`):: -`-target` `string` :: +Include information about formats -If target is different to 'node', we only lists shared storages which -content is accessible on this 'node' and the specified 'target' node. +`--storage` `` :: +Only list status for specified storage +`--target` `` :: +If target is different to 'node', we only lists shared storages which content is accessible on this 'node' and the specified 'target' node. *pvesm zfsscan* -Scan zfs pool list on local node. - - +An alias for 'pvesm scan zfs'.