*pvesm* ` [ARGS] [OPTIONS]` *pvesm add* ` ` `[OPTIONS]` Create a new storage. ``: `` :: Storage type. ``: `` :: The storage identifier. `--authsupported` `` :: Authsupported. `--base` `` :: Base volume. This volume is automatically activated. `--blocksize` `` :: block size `--bwlimit` `[clone=] [,default=] [,migration=] [,move=] [,restore=]` :: Set I/O bandwidth limit for various operations (in KiB/s). `--comstar_hg` `` :: host group for comstar views `--comstar_tg` `` :: target group for comstar views `--content` `` :: Allowed content types. + NOTE: the value 'rootdir' is used for Containers, and value 'images' for VMs. `--content-dirs` `` :: Overrides for default content type directories. `--create-base-path` `` ('default =' `yes`):: Create the base directory if it doesn't exist. `--create-subdirs` `` ('default =' `yes`):: Populate the directory with the default structure. `--data-pool` `` :: Data Pool (for erasure coding only) `--datastore` `` :: Proxmox Backup Server datastore name. `--disable` `` :: Flag to disable the storage. `--domain` `` :: CIFS domain. `--encryption-key` `a file containing an encryption key, or the special value "autogen"` :: Encryption key. Use 'autogen' to generate one automatically without passphrase. `--export` `` :: NFS export path. `--fingerprint` `([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}` :: Certificate SHA 256 fingerprint. `--format` `` :: Default image format. `--fs-name` `` :: The Ceph filesystem name. `--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 `--keyring` `file containing the keyring to authenticate in the Ceph cluster` :: Client keyring contents (for external clusters). `--krbd` `` :: Always access rbd through krbd kernel module. `--lio_tpg` `` :: 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 to encrypt a copy of the encryption-key which will be added to each encrypted backup. `--max-protected-backups` ` (-1 - N)` ('default =' `Unlimited for users with Datastore.Allocate privilege, 5 for other users`):: Maximal number of protected backups per guest. Use '-1' for unlimited. `--maxfiles` ` (0 - N)` :: Deprecated: use 'prune-backups' instead. Maximal number of backup files per VM. Use '0' for unlimited. `--mkdir` `` ('default =' `yes`):: Create the directory if it doesn't exist and populate it with default sub-dirs. NOTE: Deprecated, use the 'create-base-path' and 'create-subdirs' options instead. `--monhost` `` :: IP addresses of monitors (for external clusters). `--mountpoint` `` :: mount point `--namespace` `` :: 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 nodes for which the storage configuration applies. `--nowritecache` `` :: disable write caching on the target `--options` `` :: NFS/CIFS mount options (see 'man nfs' or 'man mount.cifs') `--password` `` :: Password for accessing the share/datastore. `--path` `` :: File system path. `--pool` `` :: Pool. `--port` ` (1 - 65535)` ('default =' `8007`):: For non default port. `--portal` `` :: iSCSI portal (IP or DNS name with optional port). `--preallocation` `` ('default =' `metadata`):: Preallocation mode for raw and qcow2 images. Using 'metadata' on raw images results in preallocation=off. `--prune-backups` `[keep-all=<1|0>] [,keep-daily=] [,keep-hourly=] [,keep-last=] [,keep-monthly=] [,keep-weekly=] [,keep-yearly=]` :: The retention options with shorter intervals are processed first with --keep-last being the very first one. Each option covers a specific period of time. We say that backups within this period are covered by this option. The next option does not take care of already covered backups and only considers older backups. `--saferemove` `` :: Zero-out data when removing LVs. `--saferemove_throughput` `` :: Wipe throughput (cstream -t parameter value). `--server` `` :: Server IP or DNS name. `--server2` `` :: Backup volfile server IP or DNS name. + NOTE: Requires option(s): `server` `--share` `` :: CIFS share. `--shared` `` :: Indicate that this is a single storage with the same contents on all nodes (or all listed in the 'nodes' option). It will not make the contents of a local storage automatically accessible to other nodes, it just marks an already shared storage as such! `--skip-cert-verification` `` ('default =' `false`):: Disable TLS certificate verification, only enable on fully trusted networks! `--smbversion` `<2.0 | 2.1 | 3 | 3.0 | 3.11 | default>` ('default =' `default`):: SMB protocol version. 'default' if not set, negotiates the highest SMB2+ version supported by both the client and server. `--sparse` `` :: use sparse volumes `--subdir` `` :: Subdir to mount. `--tagged_only` `` :: Only use logical volumes tagged with 'pve-vm-ID'. `--target` `` :: iSCSI target. `--thinpool` `` :: LVM thin pool LV name. `--transport` `` :: Gluster transport: tcp or rdma `--username` `` :: RBD Id. `--vgname` `` :: Volume group name. `--volume` `` :: Glusterfs Volume. *pvesm alloc* ` ` `[OPTIONS]` Allocate disk images. ``: `` :: The storage identifier. ``: ` (100 - 999999999)` :: Specify owner VM ``: `` :: The name of the file to create. ``: `\d+[MG]?` :: Size in kilobyte (1024 bytes). Optional suffixes 'M' (megabyte, 1024K) and 'G' (gigabyte, 1024M) `--format` `` :: no description available + NOTE: Requires option(s): `size` *pvesm apiinfo* Returns APIVER and APIAGE. *pvesm cifsscan* An alias for 'pvesm scan cifs'. *pvesm export* ` ` `[OPTIONS]` Used internally to export a volume. ``: `` :: Volume identifier ``: `` :: Export stream format ``: `` :: Destination file name `--base` `(?^i:[a-z0-9_\-]{1,40})` :: Snapshot to start an incremental stream from `--snapshot` `(?^i:[a-z0-9_\-]{1,40})` :: Snapshot to export `--snapshot-list` `` :: Ordered list of snapshots to transfer `--with-snapshots` `` ('default =' `0`):: Whether to include intermediate snapshots in the stream *pvesm extractconfig* `` Extract configuration from vzdump backup archive. ``: `` :: Volume identifier *pvesm free* `` `[OPTIONS]` Delete volume ``: `` :: Volume identifier `--delay` ` (1 - 30)` :: Time to wait for the task to finish. We return 'null' if the task finish within that time. `--storage` `` :: The storage identifier. *pvesm glusterfsscan* An alias for 'pvesm scan glusterfs'. *pvesm help* `[OPTIONS]` Get help about specified command. `--extra-args` `` :: Shows help for a specific command `--verbose` `` :: Verbose output format. *pvesm import* ` ` `[OPTIONS]` Used internally to import a volume. ``: `` :: Volume identifier ``: `` :: Import stream format ``: `` :: Source file name. For '-' stdin is used, the tcp:// format allows to use a TCP connection, the unix://PATH-TO-SOCKET format a UNIX socket as input.Else, the file is treated as common file. `--allow-rename` `` ('default =' `0`):: Choose a new volume ID if the requested volume ID already exists, instead of throwing an error. `--base` `(?^i:[a-z0-9_\-]{1,40})` :: Base snapshot of an incremental stream `--delete-snapshot` `(?^i:[a-z0-9_\-]{1,80})` :: 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 *pvesm iscsiscan* An alias for 'pvesm scan iscsi'. *pvesm list* `` `[OPTIONS]` List storage content. ``: `` :: The storage identifier. `--content` `` :: Only list content of this type. `--vmid` ` (100 - 999999999)` :: Only list images for this VM *pvesm lvmscan* An alias for 'pvesm scan lvm'. *pvesm lvmthinscan* An alias for 'pvesm scan lvmthin'. *pvesm nfsscan* An alias for 'pvesm scan nfs'. *pvesm path* `` Get filesystem path for specified volume ``: `` :: Volume identifier *pvesm prune-backups* `` `[OPTIONS]` Prune backups. Only those using the standard naming scheme are considered. If no keep options are specified, those from the storage configuration are used. ``: `` :: The storage identifier. `--dry-run` `` :: Only show what would be pruned, don't delete anything. `--keep-all` `` :: Keep all backups. Conflicts with the other options when true. `--keep-daily` `` :: Keep backups for the last different days. If there is morethan one backup for a single day, only the latest one is kept. `--keep-hourly` `` :: Keep backups for the last different hours. If there is morethan one backup for a single hour, only the latest one is kept. `--keep-last` `` :: Keep the last backups. `--keep-monthly` `` :: Keep backups for the last different months. If there is morethan one backup for a single month, only the latest one is kept. `--keep-weekly` `` :: Keep backups for the last different weeks. If there is morethan one backup for a single week, only the latest one is kept. `--keep-yearly` `` :: Keep backups for the last different years. If there is morethan one backup for a single year, only the latest one is kept. `--type` `` :: Either 'qemu' or 'lxc'. Only consider backups for guests of this type. `--vmid` ` (100 - 999999999)` :: Only consider backups for this guest. *pvesm remove* `` Delete storage configuration. ``: `` :: The storage identifier. *pvesm scan cifs* `` `[OPTIONS]` Scan remote CIFS server. ``: `` :: The server address (name or IP). `--domain` `` :: SMB domain (Workgroup). `--password` `` :: User password. `--username` `` :: User name. *pvesm scan glusterfs* `` Scan remote GlusterFS server. ``: `` :: The server address (name or IP). *pvesm scan iscsi* `` Scan remote iSCSI server. ``: `` :: 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 pbs* ` --password ` `[OPTIONS]` `[FORMAT_OPTIONS]` Scan remote Proxmox Backup Server. ``: `` :: The server address (name or IP). ``: `` :: User-name or API token-ID. `--fingerprint` `([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}` :: Certificate SHA 256 fingerprint. `--password` `` :: User password or API token secret. `--port` ` (1 - 65535)` ('default =' `8007`):: Optional port. *pvesm scan zfs* Scan zfs pool list on local node. *pvesm set* `` `[OPTIONS]` Update storage configuration. ``: `` :: The storage identifier. `--blocksize` `` :: block size `--bwlimit` `[clone=] [,default=] [,migration=] [,move=] [,restore=]` :: Set I/O bandwidth limit for various operations (in KiB/s). `--comstar_hg` `` :: host group for comstar views `--comstar_tg` `` :: target group for comstar views `--content` `` :: Allowed content types. + NOTE: the value 'rootdir' is used for Containers, and value 'images' for VMs. `--content-dirs` `` :: Overrides for default content type directories. `--create-base-path` `` ('default =' `yes`):: Create the base directory if it doesn't exist. `--create-subdirs` `` ('default =' `yes`):: Populate the directory with the default structure. `--data-pool` `` :: Data Pool (for erasure coding only) `--delete` `` :: A list of settings you want to delete. `--digest` `` :: Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications. `--disable` `` :: Flag to disable the storage. `--domain` `` :: CIFS domain. `--encryption-key` `a file containing an encryption key, or the special value "autogen"` :: Encryption key. Use 'autogen' to generate one automatically without passphrase. `--fingerprint` `([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}` :: Certificate SHA 256 fingerprint. `--format` `` :: Default image format. `--fs-name` `` :: The Ceph filesystem name. `--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. `--keyring` `file containing the keyring to authenticate in the Ceph cluster` :: Client keyring contents (for external clusters). `--krbd` `` :: Always access rbd through krbd kernel module. `--lio_tpg` `` :: 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 to encrypt a copy of the encryption-key which will be added to each encrypted backup. `--max-protected-backups` ` (-1 - N)` ('default =' `Unlimited for users with Datastore.Allocate privilege, 5 for other users`):: Maximal number of protected backups per guest. Use '-1' for unlimited. `--maxfiles` ` (0 - N)` :: Deprecated: use 'prune-backups' instead. Maximal number of backup files per VM. Use '0' for unlimited. `--mkdir` `` ('default =' `yes`):: Create the directory if it doesn't exist and populate it with default sub-dirs. NOTE: Deprecated, use the 'create-base-path' and 'create-subdirs' options instead. `--monhost` `` :: IP addresses of monitors (for external clusters). `--mountpoint` `` :: mount point `--namespace` `` :: 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 nodes for which the storage configuration applies. `--nowritecache` `` :: disable write caching on the target `--options` `` :: NFS/CIFS mount options (see 'man nfs' or 'man mount.cifs') `--password` `` :: Password for accessing the share/datastore. `--pool` `` :: Pool. `--port` ` (1 - 65535)` ('default =' `8007`):: For non default port. `--preallocation` `` ('default =' `metadata`):: Preallocation mode for raw and qcow2 images. Using 'metadata' on raw images results in preallocation=off. `--prune-backups` `[keep-all=<1|0>] [,keep-daily=] [,keep-hourly=] [,keep-last=] [,keep-monthly=] [,keep-weekly=] [,keep-yearly=]` :: The retention options with shorter intervals are processed first with --keep-last being the very first one. Each option covers a specific period of time. We say that backups within this period are covered by this option. The next option does not take care of already covered backups and only considers older backups. `--saferemove` `` :: Zero-out data when removing LVs. `--saferemove_throughput` `` :: Wipe throughput (cstream -t parameter value). `--server` `` :: Server IP or DNS name. `--server2` `` :: Backup volfile server IP or DNS name. + NOTE: Requires option(s): `server` `--shared` `` :: Indicate that this is a single storage with the same contents on all nodes (or all listed in the 'nodes' option). It will not make the contents of a local storage automatically accessible to other nodes, it just marks an already shared storage as such! `--skip-cert-verification` `` ('default =' `false`):: Disable TLS certificate verification, only enable on fully trusted networks! `--smbversion` `<2.0 | 2.1 | 3 | 3.0 | 3.11 | default>` ('default =' `default`):: SMB protocol version. 'default' if not set, negotiates the highest SMB2+ version supported by both the client and server. `--sparse` `` :: use sparse volumes `--subdir` `` :: Subdir to mount. `--tagged_only` `` :: 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` `` :: Only list stores which support this content type. `--enabled` `` ('default =' `0`):: Only list stores which are enabled (not disabled in config). `--format` `` ('default =' `0`):: Include information about formats `--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* An alias for 'pvesm scan zfs'.