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.
39 NOTE: the value 'rootdir' is used for Containers, and value 'images' for
42 `-disable` `boolean` ::
44 Flag to disable the storage.
54 `-iscsiprovider` `string` ::
60 Access rbd through krbd kernel module.
62 `-maxfiles` `integer (0 - N)` ::
64 Maximal number of backup files per VM. Use '0' for unlimted.
66 `-monhost` `string` ::
72 List of cluster node names.
74 `-nowritecache` `boolean` ::
76 disable write caching on the target
78 `-options` `string` ::
80 NFS mount options (see 'man nfs')
92 iSCSI portal (IP or DNS name with optional port).
94 `-redundancy` `integer (1 - 16)` (default=`2`)::
96 The redundancy count specifies the number of nodes to which the resource
97 should be deployed. It must be at least 1 and at most the number of nodes
100 `-saferemove` `boolean` ::
102 Zero-out data when removing LVs.
104 `-saferemove_throughput` `string` ::
106 Wipe throughput (cstream -t parameter value).
108 `-server` `string` ::
110 Server IP or DNS name.
112 `-server[n]` `string` ::
114 Backup volfile server IP or DNS name.
116 NOTE: Requires option(s): `server`
118 `-shared` `boolean` ::
120 Mark storage as shared.
122 `-sparse` `boolean` ::
126 `-target` `string` ::
130 `-thinpool` `string` ::
132 LVM thin pool LV name.
134 `-transport` `(rdma | tcp | unix)` ::
136 Gluster transport: tcp or rdma
138 `-username` `string` ::
142 `-vgname` `string` ::
146 `-volume` `string` ::
153 *pvesm alloc* `<storage> <vmid> <filename> <size>` `[OPTIONS]`
155 Allocate disk images.
157 `<storage>` `string` ::
159 The storage identifier.
161 `<vmid>` `integer (1 - N)` ::
165 `<filename>` `string` ::
167 The name of the file to create.
169 `<size>` `\d+[MG]?` ::
171 Size in kilobyte (1024 bytes). Optional suffixes 'M' (megabyte, 1024K) and
172 'G' (gigabyte, 1024M)
174 `-format` `(qcow2 | raw | subvol)` ::
176 no description available
178 NOTE: Requires option(s): `size`
182 *pvesm free* `<volume>` `[OPTIONS]`
186 `<volume>` `string` ::
190 `-storage` `string` ::
192 The storage identifier.
197 *pvesm glusterfsscan* `<server>`
199 Scan remote GlusterFS server.
201 `<server>` `string` ::
203 no description available
208 *pvesm help* `[<cmd>]` `[OPTIONS]`
210 Get help about specified command.
216 `-verbose` `boolean` ::
218 Verbose output format.
223 *pvesm iscsiscan* `-portal <string>` `[OPTIONS]`
225 Scan remote iSCSI server.
227 `-portal` `string` ::
229 no description available
234 *pvesm list* `<storage>` `[OPTIONS]`
236 List storage content.
238 `<storage>` `string` ::
240 The storage identifier.
242 `-content` `string` ::
244 Only list content of this type.
246 `-vmid` `integer (1 - N)` ::
248 Only list images for this VM
255 List local LVM volume groups.
259 *pvesm lvmthinscan* `<vg>`
261 List local LVM Thin Pools.
263 `<vg>` `[a-zA-Z0-9\.\+\_][a-zA-Z0-9\.\+\_\-]+` ::
265 no description available
269 *pvesm nfsscan* `<server>`
271 Scan remote NFS server.
273 `<server>` `string` ::
275 no description available
280 *pvesm path* `<volume>`
282 Get filesystem path for specified volume
284 `<volume>` `string` ::
291 *pvesm remove* `<storage>`
293 Delete storage configuration.
295 `<storage>` `string` ::
297 The storage identifier.
301 *pvesm set* `<storage>` `[OPTIONS]`
303 Update storage configuration.
305 `<storage>` `string` ::
307 The storage identifier.
309 `-blocksize` `string` ::
313 `-comstar_hg` `string` ::
315 host group for comstar views
317 `-comstar_tg` `string` ::
319 target group for comstar views
321 `-content` `string` ::
323 Allowed content types.
325 NOTE: the value 'rootdir' is used for Containers, and value 'images' for
328 `-delete` `string` ::
330 A list of settings you want to delete.
332 `-digest` `string` ::
334 Prevent changes if current configuration file has different SHA1 digest.
335 This can be used to prevent concurrent modifications.
337 `-disable` `boolean` ::
339 Flag to disable the storage.
341 `-format` `string` ::
343 Default image format.
347 Access rbd through krbd kernel module.
349 `-maxfiles` `integer (0 - N)` ::
351 Maximal number of backup files per VM. Use '0' for unlimted.
355 List of cluster node names.
357 `-nowritecache` `boolean` ::
359 disable write caching on the target
361 `-options` `string` ::
363 NFS mount options (see 'man nfs')
369 `-redundancy` `integer (1 - 16)` (default=`2`)::
371 The redundancy count specifies the number of nodes to which the resource
372 should be deployed. It must be at least 1 and at most the number of nodes
375 `-saferemove` `boolean` ::
377 Zero-out data when removing LVs.
379 `-saferemove_throughput` `string` ::
381 Wipe throughput (cstream -t parameter value).
383 `-server` `string` ::
385 Server IP or DNS name.
387 `-server[n]` `string` ::
389 Backup volfile server IP or DNS name.
391 NOTE: Requires option(s): `server`
393 `-shared` `boolean` ::
395 Mark storage as shared.
397 `-sparse` `boolean` ::
401 `-transport` `(rdma | tcp | unix)` ::
403 Gluster transport: tcp or rdma
405 `-username` `string` ::
412 *pvesm status* `[OPTIONS]`
414 Get status for all datastores.
416 `-content` `string` ::
418 Only list stores which support this content type.
420 `-enabled` `boolean` (default=`0`)::
422 Only list stores which are enabled (not disabled in config).
424 `-storage` `string` ::
426 Only list status for specified storage
428 `-target` `string` ::
430 If target is different to 'node', we only lists shared storages which
431 content is accessible on this 'node' and the specified 'target' node.
438 Scan zfs pool list on local node.