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 nfsscan* `<server>`
259 Scan remote NFS server.
261 `<server>` `string` ::
263 no description available
268 *pvesm path* `<volume>`
270 Get filesystem path for specified volume
272 `<volume>` `string` ::
279 *pvesm remove* `<storage>`
281 Delete storage configuration.
283 `<storage>` `string` ::
285 The storage identifier.
289 *pvesm set* `<storage>` `[OPTIONS]`
291 Update storage configuration.
293 `<storage>` `string` ::
295 The storage identifier.
297 `-blocksize` `string` ::
301 `-comstar_hg` `string` ::
303 host group for comstar views
305 `-comstar_tg` `string` ::
307 target group for comstar views
309 `-content` `string` ::
311 Allowed content types. Note: value 'rootdir' is used for Containers, and
312 value 'images' for KVM-Qemu VM's.
314 `-delete` `string` ::
316 A list of settings you want to delete.
318 `-digest` `string` ::
320 Prevent changes if current configuration file has different SHA1 digest.
321 This can be used to prevent concurrent modifications.
323 `-disable` `boolean` ::
325 Flag to disable the storage.
327 `-format` `string` ::
329 Default Image format.
333 Access rbd through krbd kernel module.
335 `-maxfiles` `integer (0 - N)` ::
337 Maximal number of backup files per VM. Use '0' for unlimted.
341 List of cluster node names.
343 `-nowritecache` `boolean` ::
345 disable write caching on the target
347 `-options` `string` ::
349 NFS mount options (see 'man nfs')
355 `-redundancy` `integer (1 - 16)` (default=`2`)::
357 The redundancy count specifies the number of nodes to which the resource
358 should be deployed. It must be at least 1 and at most the number of nodes
361 `-saferemove` `boolean` ::
363 Zero-out data when removing LVs.
365 `-saferemove_throughput` `string` ::
367 Wipe throughput (cstream -t parameter value).
369 `-server` `string` ::
371 Server IP or DNS name.
373 `-server[n]` `string` ::
375 Backup volfile server IP or DNS name.
377 NOTE: Requires option(s): `server`
379 `-shared` `boolean` ::
381 Mark storage as shared.
383 `-sparse` `boolean` ::
387 `-transport` `(rdma | tcp | unix)` ::
389 Gluster transport: tcp or rdma
391 `-username` `string` ::
398 *pvesm status* `[OPTIONS]`
400 Get status for all datastores.
402 `-content` `string` ::
404 Only list stores which support this content type.
406 `-enabled` `boolean` (default=`0`)::
408 Only list stores which are enabled (not disabled in config).
410 `-storage` `string` ::
412 Only list status for specified storage
414 `-target` `string` ::
416 If target is different to 'node', we only lists shared storages which
417 content is accessible on this 'node' and the specified 'target' node.
424 Scan zfs pool list on local node.