1 *pvesm* `<COMMAND> [ARGS] [OPTIONS]`
3 *pvesm add* `<type> <storage>` `[OPTIONS]`
7 `<type>` `(dir | drbd | glusterfs | iscsi | iscsidirect | lvm | lvmthin | nfs | rbd | sheepdog | zfs | zfspool)` ::
11 `<storage>` `string` ::
13 The storage identifier.
15 `-authsupported` `string` ::
21 Base volume. This volume is automatically activated.
23 `-blocksize` `string` ::
27 `-comstar_hg` `string` ::
29 host group for comstar views
31 `-comstar_tg` `string` ::
33 target group for comstar views
35 `-content` `string` ::
37 Allowed content types. Note: value 'rootdir' is used for Containers, and
38 value 'images' for KVM-Qemu VM's.
40 `-disable` `boolean` ::
42 Flag to disable the storage.
52 `-iscsiprovider` `string` ::
58 Access rbd through krbd kernel module.
60 `-maxfiles` `integer (0 - N)` ::
62 Maximal number of backup files per VM. Use '0' for unlimted.
64 `-monhost` `string` ::
70 List of cluster node names.
72 `-nowritecache` `boolean` ::
74 disable write caching on the target
76 `-options` `string` ::
78 NFS mount options (see 'man nfs')
90 iSCSI portal (IP or DNS name with optional port).
92 `-redundancy` `integer (1 - 16)` (default=`2`)::
94 The redundancy count specifies the number of nodes to which the resource
95 should be deployed. It must be at least 1 and at most the number of nodes
98 `-saferemove` `boolean` ::
100 Zero-out data when removing LVs.
102 `-saferemove_throughput` `string` ::
104 Wipe throughput (cstream -t parameter value).
106 `-server` `string` ::
108 Server IP or DNS name.
110 `-server[n]` `string` ::
112 Backup volfile server IP or DNS name.
114 NOTE: Requires option(s): `server`
116 `-shared` `boolean` ::
118 Mark storage as shared.
120 `-sparse` `boolean` ::
124 `-target` `string` ::
128 `-thinpool` `string` ::
130 LVM thin pool LV name.
132 `-transport` `(rdma | tcp | unix)` ::
134 Gluster transport: tcp or rdma
136 `-username` `string` ::
140 `-vgname` `string` ::
144 `-volume` `string` ::
151 *pvesm alloc* `<storage> <vmid> <filename> <size>` `[OPTIONS]`
153 Allocate disk images.
155 `<storage>` `string` ::
157 The storage identifier.
159 `<vmid>` `integer (1 - N)` ::
163 `<filename>` `string` ::
165 The name of the file to create.
167 `<size>` `\d+[MG]?` ::
169 Size in kilobyte (1024 bytes). Optional suffixes 'M' (megabyte, 1024K) and
170 'G' (gigabyte, 1024M)
172 `-format` `(qcow2 | raw | subvol)` ::
174 no description available
176 NOTE: Requires option(s): `size`
180 *pvesm free* `<volume>` `[OPTIONS]`
184 `<volume>` `string` ::
188 `-storage` `string` ::
190 The storage identifier.
195 *pvesm glusterfsscan* `<server>`
197 Scan remote GlusterFS server.
199 `<server>` `string` ::
201 no description available
206 *pvesm help* `[<cmd>]` `[OPTIONS]`
208 Get help about specified command.
214 `-verbose` `boolean` ::
216 Verbose output format.
221 *pvesm iscsiscan* `-portal <string>` `[OPTIONS]`
223 Scan remote iSCSI server.
225 `-portal` `string` ::
227 no description available
232 *pvesm list* `<storage>` `[OPTIONS]`
234 List storage content.
236 `<storage>` `string` ::
238 The storage identifier.
240 `-content` `string` ::
242 Only list content of this type.
244 `-vmid` `integer (1 - N)` ::
246 Only list images for this VM
253 List local LVM volume groups.
257 *pvesm lvmthinscan* `<vg>`
259 List local LVM Thin Pools.
261 `<vg>` `[a-zA-Z0-9\.\+\_][a-zA-Z0-9\.\+\_\-]+` ::
263 no description available
267 *pvesm nfsscan* `<server>`
269 Scan remote NFS server.
271 `<server>` `string` ::
273 no description available
278 *pvesm path* `<volume>`
280 Get filesystem path for specified volume
282 `<volume>` `string` ::
289 *pvesm remove* `<storage>`
291 Delete storage configuration.
293 `<storage>` `string` ::
295 The storage identifier.
299 *pvesm set* `<storage>` `[OPTIONS]`
301 Update storage configuration.
303 `<storage>` `string` ::
305 The storage identifier.
307 `-blocksize` `string` ::
311 `-comstar_hg` `string` ::
313 host group for comstar views
315 `-comstar_tg` `string` ::
317 target group for comstar views
319 `-content` `string` ::
321 Allowed content types. Note: value 'rootdir' is used for Containers, and
322 value 'images' for KVM-Qemu VM's.
324 `-delete` `string` ::
326 A list of settings you want to delete.
328 `-digest` `string` ::
330 Prevent changes if current configuration file has different SHA1 digest.
331 This can be used to prevent concurrent modifications.
333 `-disable` `boolean` ::
335 Flag to disable the storage.
337 `-format` `string` ::
339 Default Image format.
343 Access rbd through krbd kernel module.
345 `-maxfiles` `integer (0 - N)` ::
347 Maximal number of backup files per VM. Use '0' for unlimted.
351 List of cluster node names.
353 `-nowritecache` `boolean` ::
355 disable write caching on the target
357 `-options` `string` ::
359 NFS mount options (see 'man nfs')
365 `-redundancy` `integer (1 - 16)` (default=`2`)::
367 The redundancy count specifies the number of nodes to which the resource
368 should be deployed. It must be at least 1 and at most the number of nodes
371 `-saferemove` `boolean` ::
373 Zero-out data when removing LVs.
375 `-saferemove_throughput` `string` ::
377 Wipe throughput (cstream -t parameter value).
379 `-server` `string` ::
381 Server IP or DNS name.
383 `-server[n]` `string` ::
385 Backup volfile server IP or DNS name.
387 NOTE: Requires option(s): `server`
389 `-shared` `boolean` ::
391 Mark storage as shared.
393 `-sparse` `boolean` ::
397 `-transport` `(rdma | tcp | unix)` ::
399 Gluster transport: tcp or rdma
401 `-username` `string` ::
408 *pvesm status* `[OPTIONS]`
410 Get status for all datastores.
412 `-content` `string` ::
414 Only list stores which support this content type.
416 `-enabled` `boolean` (default=`0`)::
418 Only list stores which are enabled (not disabled in config).
420 `-storage` `string` ::
422 Only list status for specified storage
424 `-target` `string` ::
426 If target is different to 'node', we only lists shared storages which
427 content is accessible on this 'node' and the specified 'target' node.
434 Scan zfs pool list on local node.