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 VMs.
41 `-disable` `boolean` ::
43 Flag to disable the storage.
53 `-iscsiprovider` `string` ::
59 Access rbd through krbd kernel module.
61 `-maxfiles` `integer (0 - N)` ::
63 Maximal number of backup files per VM. Use '0' for unlimted.
65 `-monhost` `string` ::
71 List of cluster node names.
73 `-nowritecache` `boolean` ::
75 disable write caching on the target
77 `-options` `string` ::
79 NFS mount options (see 'man nfs')
91 iSCSI portal (IP or DNS name with optional port).
93 `-redundancy` `integer (1 - 16)` (default=`2`)::
95 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.
97 `-saferemove` `boolean` ::
99 Zero-out data when removing LVs.
101 `-saferemove_throughput` `string` ::
103 Wipe throughput (cstream -t parameter value).
105 `-server` `string` ::
107 Server IP or DNS name.
109 `-server2` `string` ::
111 Backup volfile server IP or DNS name.
113 NOTE: Requires option(s): `server`
115 `-shared` `boolean` ::
117 Mark storage as shared.
119 `-sparse` `boolean` ::
123 `-target` `string` ::
127 `-thinpool` `string` ::
129 LVM thin pool LV name.
131 `-transport` `(rdma | tcp | unix)` ::
133 Gluster transport: tcp or rdma
135 `-username` `string` ::
139 `-vgname` `string` ::
143 `-volume` `string` ::
150 *pvesm alloc* `<storage> <vmid> <filename> <size>` `[OPTIONS]`
152 Allocate disk images.
154 `<storage>` `string` ::
156 The storage identifier.
158 `<vmid>` `integer (1 - N)` ::
162 `<filename>` `string` ::
164 The name of the file to create.
166 `<size>` `\d+[MG]?` ::
168 Size in kilobyte (1024 bytes). Optional suffixes 'M' (megabyte, 1024K) and 'G' (gigabyte, 1024M)
170 `-format` `(qcow2 | raw | subvol)` ::
172 no description available
174 NOTE: Requires option(s): `size`
178 *pvesm free* `<volume>` `[OPTIONS]`
182 `<volume>` `string` ::
186 `-storage` `string` ::
188 The storage identifier.
193 *pvesm glusterfsscan* `<server>`
195 Scan remote GlusterFS server.
197 `<server>` `string` ::
199 no description available
204 *pvesm help* `[<cmd>]` `[OPTIONS]`
206 Get help about specified command.
212 `-verbose` `boolean` ::
214 Verbose output format.
219 *pvesm iscsiscan* `-portal <string>` `[OPTIONS]`
221 Scan remote iSCSI server.
223 `-portal` `string` ::
225 no description available
230 *pvesm list* `<storage>` `[OPTIONS]`
232 List storage content.
234 `<storage>` `string` ::
236 The storage identifier.
238 `-content` `string` ::
240 Only list content of this type.
242 `-vmid` `integer (1 - N)` ::
244 Only list images for this VM
251 List local LVM volume groups.
255 *pvesm lvmthinscan* `<vg>`
257 List local LVM Thin Pools.
259 `<vg>` `[a-zA-Z0-9\.\+\_][a-zA-Z0-9\.\+\_\-]+` ::
261 no description available
265 *pvesm nfsscan* `<server>`
267 Scan remote NFS server.
269 `<server>` `string` ::
271 no description available
276 *pvesm path* `<volume>`
278 Get filesystem path for specified volume
280 `<volume>` `string` ::
287 *pvesm remove* `<storage>`
289 Delete storage configuration.
291 `<storage>` `string` ::
293 The storage identifier.
297 *pvesm set* `<storage>` `[OPTIONS]`
299 Update storage configuration.
301 `<storage>` `string` ::
303 The storage identifier.
305 `-blocksize` `string` ::
309 `-comstar_hg` `string` ::
311 host group for comstar views
313 `-comstar_tg` `string` ::
315 target group for comstar views
317 `-content` `string` ::
319 Allowed content types.
321 NOTE: the value 'rootdir' is used for Containers, and value 'images' for VMs.
323 `-delete` `string` ::
325 A list of settings you want to delete.
327 `-digest` `string` ::
329 Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.
331 `-disable` `boolean` ::
333 Flag to disable the storage.
335 `-format` `string` ::
337 Default image format.
341 Access rbd through krbd kernel module.
343 `-maxfiles` `integer (0 - N)` ::
345 Maximal number of backup files per VM. Use '0' for unlimted.
349 List of cluster node names.
351 `-nowritecache` `boolean` ::
353 disable write caching on the target
355 `-options` `string` ::
357 NFS mount options (see 'man nfs')
363 `-redundancy` `integer (1 - 16)` (default=`2`)::
365 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.
367 `-saferemove` `boolean` ::
369 Zero-out data when removing LVs.
371 `-saferemove_throughput` `string` ::
373 Wipe throughput (cstream -t parameter value).
375 `-server` `string` ::
377 Server IP or DNS name.
379 `-server2` `string` ::
381 Backup volfile server IP or DNS name.
383 NOTE: Requires option(s): `server`
385 `-shared` `boolean` ::
387 Mark storage as shared.
389 `-sparse` `boolean` ::
393 `-transport` `(rdma | tcp | unix)` ::
395 Gluster transport: tcp or rdma
397 `-username` `string` ::
404 *pvesm status* `[OPTIONS]`
406 Get status for all datastores.
408 `-content` `string` ::
410 Only list stores which support this content type.
412 `-enabled` `boolean` (default=`0`)::
414 Only list stores which are enabled (not disabled in config).
416 `-storage` `string` ::
418 Only list status for specified storage
420 `-target` `string` ::
422 If target is different to 'node', we only lists shared storages which content is accessible on this 'node' and the specified 'target' node.
429 Scan zfs pool list on local node.