]> git.proxmox.com Git - pve-docs.git/blob - pvesm.1-synopsis.adoc
vxlan : remove vlanaware bridge documentation
[pve-docs.git] / pvesm.1-synopsis.adoc
1 *pvesm* `<COMMAND> [ARGS] [OPTIONS]`
2
3 *pvesm add* `<type> <storage>` `[OPTIONS]`
4
5 Create a new storage.
6
7 `<type>`: `<cephfs | cifs | dir | drbd | glusterfs | iscsi | iscsidirect | lvm | lvmthin | nfs | rbd | sheepdog | zfs | zfspool>` ::
8
9 Storage type.
10
11 `<storage>`: `<string>` ::
12
13 The storage identifier.
14
15 `--authsupported` `<string>` ::
16
17 Authsupported.
18
19 `--base` `<string>` ::
20
21 Base volume. This volume is automatically activated.
22
23 `--blocksize` `<string>` ::
24
25 block size
26
27 `--bwlimit` `[clone=<LIMIT>] [,default=<LIMIT>] [,migration=<LIMIT>] [,move=<LIMIT>] [,restore=<LIMIT>]` ::
28
29 Set bandwidth/io limits various operations.
30
31 `--comstar_hg` `<string>` ::
32
33 host group for comstar views
34
35 `--comstar_tg` `<string>` ::
36
37 target group for comstar views
38
39 `--content` `<string>` ::
40
41 Allowed content types.
42 +
43 NOTE: the value 'rootdir' is used for Containers, and value 'images' for VMs.
44
45 `--disable` `<boolean>` ::
46
47 Flag to disable the storage.
48
49 `--domain` `<string>` ::
50
51 CIFS domain.
52
53 `--export` `<string>` ::
54
55 NFS export path.
56
57 `--format` `<string>` ::
58
59 Default image format.
60
61 `--fuse` `<boolean>` ::
62
63 Mount CephFS through FUSE.
64
65 `--is_mountpoint` `<string>` ('default =' `no`)::
66
67 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.
68
69 `--iscsiprovider` `<string>` ::
70
71 iscsi provider
72
73 `--krbd` `<boolean>` ::
74
75 Access rbd through krbd kernel module.
76
77 `--maxfiles` `<integer> (0 - N)` ::
78
79 Maximal number of backup files per VM. Use '0' for unlimted.
80
81 `--mkdir` `<boolean>` ('default =' `yes`)::
82
83 Create the directory if it doesn't exist.
84
85 `--monhost` `<string>` ::
86
87 IP addresses of monitors (for external clusters).
88
89 `--nodes` `<string>` ::
90
91 List of cluster node names.
92
93 `--nowritecache` `<boolean>` ::
94
95 disable write caching on the target
96
97 `--options` `<string>` ::
98
99 NFS mount options (see 'man nfs')
100
101 `--password` `<password>` ::
102
103 Password for CIFS share.
104
105 `--path` `<string>` ::
106
107 File system path.
108
109 `--pool` `<string>` ::
110
111 Pool.
112
113 `--portal` `<string>` ::
114
115 iSCSI portal (IP or DNS name with optional port).
116
117 `--redundancy` `<integer> (1 - 16)` ('default =' `2`)::
118
119 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.
120
121 `--saferemove` `<boolean>` ::
122
123 Zero-out data when removing LVs.
124
125 `--saferemove_throughput` `<string>` ::
126
127 Wipe throughput (cstream -t parameter value).
128
129 `--server` `<string>` ::
130
131 Server IP or DNS name.
132
133 `--server2` `<string>` ::
134
135 Backup volfile server IP or DNS name.
136 +
137 NOTE: Requires option(s): `server`
138
139 `--share` `<string>` ::
140
141 CIFS share.
142
143 `--shared` `<boolean>` ::
144
145 Mark storage as shared.
146
147 `--smbversion` `<2.0 | 2.1 | 3.0>` ::
148
149 SMB protocol version
150
151 `--sparse` `<boolean>` ::
152
153 use sparse volumes
154
155 `--subdir` `<string>` ::
156
157 Subdir to mount.
158
159 `--tagged_only` `<boolean>` ::
160
161 Only use logical volumes tagged with 'pve-vm-ID'.
162
163 `--target` `<string>` ::
164
165 iSCSI target.
166
167 `--thinpool` `<string>` ::
168
169 LVM thin pool LV name.
170
171 `--transport` `<rdma | tcp | unix>` ::
172
173 Gluster transport: tcp or rdma
174
175 `--username` `<string>` ::
176
177 RBD Id.
178
179 `--vgname` `<string>` ::
180
181 Volume group name.
182
183 `--volume` `<string>` ::
184
185 Glusterfs Volume.
186
187 *pvesm alloc* `<storage> <vmid> <filename> <size>` `[OPTIONS]`
188
189 Allocate disk images.
190
191 `<storage>`: `<string>` ::
192
193 The storage identifier.
194
195 `<vmid>`: `<integer> (1 - N)` ::
196
197 Specify owner VM
198
199 `<filename>`: `<string>` ::
200
201 The name of the file to create.
202
203 `<size>`: `\d+[MG]?` ::
204
205 Size in kilobyte (1024 bytes). Optional suffixes 'M' (megabyte, 1024K) and 'G' (gigabyte, 1024M)
206
207 `--format` `<qcow2 | raw | subvol>` ::
208
209 no description available
210 +
211 NOTE: Requires option(s): `size`
212
213 *pvesm cifsscan* `<server>` `[OPTIONS]`
214
215 Scan remote CIFS server.
216
217 `<server>`: `<string>` ::
218
219 no description available
220
221 `--domain` `<string>` ::
222
223 no description available
224
225 `--password` `<password>` ::
226
227 no description available
228
229 `--username` `<string>` ::
230
231 no description available
232
233 *pvesm export* `<volume> <format> <filename>` `[OPTIONS]`
234
235 Export a volume.
236
237 `<volume>`: `<string>` ::
238
239 Volume identifier
240
241 `<format>`: `<qcow2+size | raw+size | tar+size | vmdk+size | zfs>` ::
242
243 Export stream format
244
245 `<filename>`: `<string>` ::
246
247 Destination file name
248
249 `--base` `(?^:[a-z0-9_\-]{1,40})` ::
250
251 Snapshot to start an incremental stream from
252
253 `--snapshot` `(?^:[a-z0-9_\-]{1,40})` ::
254
255 Snapshot to export
256
257 `--with-snapshots` `<boolean>` ('default =' `0`)::
258
259 Whether to include intermediate snapshots in the stream
260
261 *pvesm extractconfig* `<volume>`
262
263 Extract configuration from vzdump backup archive.
264
265 `<volume>`: `<string>` ::
266
267 Volume identifier
268
269 *pvesm free* `<volume>` `[OPTIONS]`
270
271 Delete volume
272
273 `<volume>`: `<string>` ::
274
275 Volume identifier
276
277 `--storage` `<string>` ::
278
279 The storage identifier.
280
281 *pvesm glusterfsscan* `<server>`
282
283 Scan remote GlusterFS server.
284
285 `<server>`: `<string>` ::
286
287 no description available
288
289 *pvesm help* `[OPTIONS]`
290
291 Get help about specified command.
292
293 `--extra-args` `<array>` ::
294
295 Shows help for a specific command
296
297 `--verbose` `<boolean>` ::
298
299 Verbose output format.
300
301 *pvesm import* `<volume> <format> <filename>` `[OPTIONS]`
302
303 Import a volume.
304
305 `<volume>`: `<string>` ::
306
307 Volume identifier
308
309 `<format>`: `<qcow2+size | raw+size | tar+size | vmdk+size | zfs>` ::
310
311 Import stream format
312
313 `<filename>`: `<string>` ::
314
315 Source file name
316
317 `--base` `(?^:[a-z0-9_\-]{1,40})` ::
318
319 Base snapshot of an incremental stream
320
321 `--delete-snapshot` `(?^:[a-z0-9_\-]{1,80})` ::
322
323 A snapshot to delete on success
324
325 `--with-snapshots` `<boolean>` ('default =' `0`)::
326
327 Whether the stream includes intermediate snapshots
328
329 *pvesm iscsiscan* `--portal <string>` `[OPTIONS]`
330
331 Scan remote iSCSI server.
332
333 `--portal` `<string>` ::
334
335 no description available
336
337 *pvesm list* `<storage>` `[OPTIONS]`
338
339 List storage content.
340
341 `<storage>`: `<string>` ::
342
343 The storage identifier.
344
345 `--content` `<string>` ::
346
347 Only list content of this type.
348
349 `--vmid` `<integer> (1 - N)` ::
350
351 Only list images for this VM
352
353 *pvesm lvmscan*
354
355 List local LVM volume groups.
356
357 *pvesm lvmthinscan* `<vg>`
358
359 List local LVM Thin Pools.
360
361 `<vg>`: `[a-zA-Z0-9\.\+\_][a-zA-Z0-9\.\+\_\-]+` ::
362
363 no description available
364
365 *pvesm nfsscan* `<server>`
366
367 Scan remote NFS server.
368
369 `<server>`: `<string>` ::
370
371 no description available
372
373 *pvesm path* `<volume>`
374
375 Get filesystem path for specified volume
376
377 `<volume>`: `<string>` ::
378
379 Volume identifier
380
381 *pvesm remove* `<storage>`
382
383 Delete storage configuration.
384
385 `<storage>`: `<string>` ::
386
387 The storage identifier.
388
389 *pvesm set* `<storage>` `[OPTIONS]`
390
391 Update storage configuration.
392
393 `<storage>`: `<string>` ::
394
395 The storage identifier.
396
397 `--blocksize` `<string>` ::
398
399 block size
400
401 `--bwlimit` `[clone=<LIMIT>] [,default=<LIMIT>] [,migration=<LIMIT>] [,move=<LIMIT>] [,restore=<LIMIT>]` ::
402
403 Set bandwidth/io limits various operations.
404
405 `--comstar_hg` `<string>` ::
406
407 host group for comstar views
408
409 `--comstar_tg` `<string>` ::
410
411 target group for comstar views
412
413 `--content` `<string>` ::
414
415 Allowed content types.
416 +
417 NOTE: the value 'rootdir' is used for Containers, and value 'images' for VMs.
418
419 `--delete` `<string>` ::
420
421 A list of settings you want to delete.
422
423 `--digest` `<string>` ::
424
425 Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.
426
427 `--disable` `<boolean>` ::
428
429 Flag to disable the storage.
430
431 `--domain` `<string>` ::
432
433 CIFS domain.
434
435 `--format` `<string>` ::
436
437 Default image format.
438
439 `--fuse` `<boolean>` ::
440
441 Mount CephFS through FUSE.
442
443 `--is_mountpoint` `<string>` ('default =' `no`)::
444
445 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.
446
447 `--krbd` `<boolean>` ::
448
449 Access rbd through krbd kernel module.
450
451 `--maxfiles` `<integer> (0 - N)` ::
452
453 Maximal number of backup files per VM. Use '0' for unlimted.
454
455 `--mkdir` `<boolean>` ('default =' `yes`)::
456
457 Create the directory if it doesn't exist.
458
459 `--monhost` `<string>` ::
460
461 IP addresses of monitors (for external clusters).
462
463 `--nodes` `<string>` ::
464
465 List of cluster node names.
466
467 `--nowritecache` `<boolean>` ::
468
469 disable write caching on the target
470
471 `--options` `<string>` ::
472
473 NFS mount options (see 'man nfs')
474
475 `--password` `<string>` ::
476
477 Password for CIFS share.
478
479 `--pool` `<string>` ::
480
481 Pool.
482
483 `--redundancy` `<integer> (1 - 16)` ('default =' `2`)::
484
485 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.
486
487 `--saferemove` `<boolean>` ::
488
489 Zero-out data when removing LVs.
490
491 `--saferemove_throughput` `<string>` ::
492
493 Wipe throughput (cstream -t parameter value).
494
495 `--server` `<string>` ::
496
497 Server IP or DNS name.
498
499 `--server2` `<string>` ::
500
501 Backup volfile server IP or DNS name.
502 +
503 NOTE: Requires option(s): `server`
504
505 `--shared` `<boolean>` ::
506
507 Mark storage as shared.
508
509 `--smbversion` `<2.0 | 2.1 | 3.0>` ::
510
511 SMB protocol version
512
513 `--sparse` `<boolean>` ::
514
515 use sparse volumes
516
517 `--subdir` `<string>` ::
518
519 Subdir to mount.
520
521 `--tagged_only` `<boolean>` ::
522
523 Only use logical volumes tagged with 'pve-vm-ID'.
524
525 `--transport` `<rdma | tcp | unix>` ::
526
527 Gluster transport: tcp or rdma
528
529 `--username` `<string>` ::
530
531 RBD Id.
532
533 *pvesm status* `[OPTIONS]`
534
535 Get status for all datastores.
536
537 `--content` `<string>` ::
538
539 Only list stores which support this content type.
540
541 `--enabled` `<boolean>` ('default =' `0`)::
542
543 Only list stores which are enabled (not disabled in config).
544
545 `--format` `<boolean>` ('default =' `0`)::
546
547 Include information about formats
548
549 `--storage` `<string>` ::
550
551 Only list status for specified storage
552
553 `--target` `<string>` ::
554
555 If target is different to 'node', we only lists shared storages which content is accessible on this 'node' and the specified 'target' node.
556
557 *pvesm zfsscan*
558
559 Scan zfs pool list on local node.
560
561