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