]> git.proxmox.com Git - pve-docs.git/blame - pvesm.1-synopsis.adoc
backup: clarify that CLI means FS-level and highlight retention-note
[pve-docs.git] / pvesm.1-synopsis.adoc
CommitLineData
1f554f76
DM
1*pvesm* `<COMMAND> [ARGS] [OPTIONS]`
2
3*pvesm add* `<type> <storage>` `[OPTIONS]`
4
5Create a new storage.
6
5f4e66fe 7`<type>`: `<btrfs | cephfs | cifs | dir | glusterfs | iscsi | iscsidirect | lvm | lvmthin | nfs | pbs | rbd | zfs | zfspool>` ::
1f554f76
DM
8
9Storage type.
10
013dc89f 11`<storage>`: `<string>` ::
1f554f76
DM
12
13The storage identifier.
14
2489d6df 15`--authsupported` `<string>` ::
1f554f76
DM
16
17Authsupported.
18
2489d6df 19`--base` `<string>` ::
1f554f76
DM
20
21Base volume. This volume is automatically activated.
22
2489d6df 23`--blocksize` `<string>` ::
1f554f76
DM
24
25block size
26
27a7acb2
DM
27`--bwlimit` `[clone=<LIMIT>] [,default=<LIMIT>] [,migration=<LIMIT>] [,move=<LIMIT>] [,restore=<LIMIT>]` ::
28
29Set bandwidth/io limits various operations.
30
2489d6df 31`--comstar_hg` `<string>` ::
1f554f76
DM
32
33host group for comstar views
34
2489d6df 35`--comstar_tg` `<string>` ::
1f554f76
DM
36
37target group for comstar views
38
2489d6df 39`--content` `<string>` ::
1f554f76 40
04ce4dfa
DM
41Allowed content types.
42+
c2993fe5 43NOTE: the value 'rootdir' is used for Containers, and value 'images' for VMs.
1f554f76 44
c5aa7e14
TL
45`--datastore` `<string>` ::
46
4772952b 47Proxmox Backup Server datastore name.
c5aa7e14 48
2489d6df 49`--disable` `<boolean>` ::
1f554f76
DM
50
51Flag to disable the storage.
52
27a7acb2
DM
53`--domain` `<string>` ::
54
55CIFS domain.
56
739d4d64 57`--encryption-key` `a file containing an encryption key, or the special value "autogen"` ::
04d22a9f
TL
58
59Encryption key. Use 'autogen' to generate one automatically without passphrase.
60
2489d6df 61`--export` `<string>` ::
1f554f76
DM
62
63NFS export path.
64
c5aa7e14
TL
65`--fingerprint` `([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}` ::
66
67Certificate SHA 256 fingerprint.
68
2489d6df 69`--format` `<string>` ::
1f554f76 70
04ce4dfa 71Default image format.
1f554f76 72
5370fa8c
TL
73`--fs-name` `<string>` ::
74
75The Ceph filesystem name.
76
5da3d723
TL
77`--fuse` `<boolean>` ::
78
79Mount CephFS through FUSE.
80
2489d6df 81`--is_mountpoint` `<string>` ('default =' `no`)::
2c0dde61 82
2489d6df 83Assume 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.
2c0dde61 84
2489d6df 85`--iscsiprovider` `<string>` ::
1f554f76
DM
86
87iscsi provider
88
5370fa8c
TL
89`--keyring` `file containing the keyring to authenticate in the Ceph cluster` ::
90
91Client keyring contents (for external clusters).
92
2489d6df 93`--krbd` `<boolean>` ::
1f554f76 94
e2d681b3 95Always access rbd through krbd kernel module.
1f554f76 96
4d47f125
TL
97`--lio_tpg` `<string>` ::
98
99target portal group for Linux LIO targets
100
d2656385
TL
101`--master-pubkey` `a file containing a PEM-formatted master public key` ::
102
5f4e66fe 103Base64-encoded, PEM-formatted public RSA key. Used to encrypt a copy of the encryption-key which will be added to each encrypted backup.
d2656385 104
2489d6df 105`--maxfiles` `<integer> (0 - N)` ::
1f554f76 106
5f4e66fe 107Deprecated: use 'prune-backups' instead. Maximal number of backup files per VM. Use '0' for unlimited.
1f554f76 108
2489d6df 109`--mkdir` `<boolean>` ('default =' `yes`)::
2c0dde61
DM
110
111Create the directory if it doesn't exist.
112
2489d6df 113`--monhost` `<string>` ::
1f554f76 114
2489d6df 115IP addresses of monitors (for external clusters).
1f554f76 116
5c1699e5
TL
117`--mountpoint` `<string>` ::
118
119mount point
120
d2656385
TL
121`--namespace` `<string>` ::
122
123RBD Namespace.
124
5f4e66fe
TL
125`--nocow` `<boolean>` ('default =' `0`)::
126
127Set the NOCOW flag on files. Disables data checksumming and causes data errors to be unrecoverable from while allowing direct I/O. Only use this if data does not need to be any more safe than on a single ext4 formatted disk with no underlying raid system.
128
2489d6df 129`--nodes` `<string>` ::
1f554f76
DM
130
131List of cluster node names.
132
2489d6df 133`--nowritecache` `<boolean>` ::
1f554f76
DM
134
135disable write caching on the target
136
2489d6df 137`--options` `<string>` ::
1f554f76
DM
138
139NFS mount options (see 'man nfs')
140
5da3d723 141`--password` `<password>` ::
27a7acb2 142
04d22a9f 143Password for accessing the share/datastore.
27a7acb2 144
2489d6df 145`--path` `<string>` ::
1f554f76
DM
146
147File system path.
148
2489d6df 149`--pool` `<string>` ::
1f554f76
DM
150
151Pool.
152
4772952b
TL
153`--port` `<integer> (1 - 65535)` ('default =' `8007`)::
154
155For non default port.
156
2489d6df 157`--portal` `<string>` ::
1f554f76
DM
158
159iSCSI portal (IP or DNS name with optional port).
160
5370fa8c
TL
161`--preallocation` `<falloc | full | metadata | off>` ('default =' `metadata`)::
162
163Preallocation mode for raw and qcow2 images. Using 'metadata' on raw images results in preallocation=off.
164
4772952b 165`--prune-backups` `[keep-all=<1|0>] [,keep-daily=<N>] [,keep-hourly=<N>] [,keep-last=<N>] [,keep-monthly=<N>] [,keep-weekly=<N>] [,keep-yearly=<N>]` ::
739d4d64
TL
166
167The retention options with shorter intervals are processed first with --keep-last being the very first one. Each option covers a specific period of time. We say that backups within this period are covered by this option. The next option does not take care of already covered backups and only considers older backups.
168
2489d6df 169`--saferemove` `<boolean>` ::
1f554f76
DM
170
171Zero-out data when removing LVs.
172
2489d6df 173`--saferemove_throughput` `<string>` ::
1f554f76
DM
174
175Wipe throughput (cstream -t parameter value).
176
2489d6df 177`--server` `<string>` ::
1f554f76
DM
178
179Server IP or DNS name.
180
2489d6df 181`--server2` `<string>` ::
1f554f76
DM
182
183Backup volfile server IP or DNS name.
184+
185NOTE: Requires option(s): `server`
186
27a7acb2
DM
187`--share` `<string>` ::
188
189CIFS share.
190
2489d6df 191`--shared` `<boolean>` ::
1f554f76
DM
192
193Mark storage as shared.
194
5370fa8c 195`--smbversion` `<2.0 | 2.1 | 3 | 3.0 | 3.11 | default>` ('default =' `default`)::
27a7acb2 196
5370fa8c 197SMB protocol version. 'default' if not set, negotiates the highest SMB2+ version supported by both the client and server.
27a7acb2 198
2489d6df 199`--sparse` `<boolean>` ::
1f554f76
DM
200
201use sparse volumes
202
5da3d723
TL
203`--subdir` `<string>` ::
204
205Subdir to mount.
206
2489d6df 207`--tagged_only` `<boolean>` ::
2c0dde61
DM
208
209Only use logical volumes tagged with 'pve-vm-ID'.
210
2489d6df 211`--target` `<string>` ::
1f554f76
DM
212
213iSCSI target.
214
2489d6df 215`--thinpool` `<string>` ::
1f554f76
DM
216
217LVM thin pool LV name.
218
2489d6df 219`--transport` `<rdma | tcp | unix>` ::
1f554f76
DM
220
221Gluster transport: tcp or rdma
222
2489d6df 223`--username` `<string>` ::
1f554f76
DM
224
225RBD Id.
226
2489d6df 227`--vgname` `<string>` ::
1f554f76
DM
228
229Volume group name.
230
2489d6df 231`--volume` `<string>` ::
1f554f76
DM
232
233Glusterfs Volume.
234
1f554f76
DM
235*pvesm alloc* `<storage> <vmid> <filename> <size>` `[OPTIONS]`
236
237Allocate disk images.
238
013dc89f 239`<storage>`: `<string>` ::
1f554f76
DM
240
241The storage identifier.
242
013dc89f 243`<vmid>`: `<integer> (1 - N)` ::
1f554f76
DM
244
245Specify owner VM
246
013dc89f 247`<filename>`: `<string>` ::
1f554f76
DM
248
249The name of the file to create.
250
013dc89f 251`<size>`: `\d+[MG]?` ::
1f554f76 252
c2993fe5 253Size in kilobyte (1024 bytes). Optional suffixes 'M' (megabyte, 1024K) and 'G' (gigabyte, 1024M)
1f554f76 254
2489d6df 255`--format` `<qcow2 | raw | subvol>` ::
1f554f76
DM
256
257no description available
258+
259NOTE: Requires option(s): `size`
260
c5aa7e14
TL
261*pvesm apiinfo*
262
263Returns APIVER and APIAGE.
264
e2d681b3 265*pvesm cifsscan*
27a7acb2 266
e2d681b3 267An alias for 'pvesm scan cifs'.
27a7acb2 268
5d9c884c
DM
269*pvesm export* `<volume> <format> <filename>` `[OPTIONS]`
270
04d22a9f 271Used internally to export a volume.
5d9c884c
DM
272
273`<volume>`: `<string>` ::
274
275Volume identifier
276
5f4e66fe 277`<format>`: `<btrfs | qcow2+size | raw+size | tar+size | vmdk+size | zfs>` ::
5d9c884c
DM
278
279Export stream format
280
281`<filename>`: `<string>` ::
282
283Destination file name
284
d2656385 285`--base` `(?^i:[a-z0-9_\-]{1,40})` ::
5d9c884c
DM
286
287Snapshot to start an incremental stream from
288
d2656385 289`--snapshot` `(?^i:[a-z0-9_\-]{1,40})` ::
5d9c884c
DM
290
291Snapshot to export
292
5f4e66fe
TL
293`--snapshot-list` `<string>` ::
294
295Ordered list of snapshots to transfer
296
2489d6df 297`--with-snapshots` `<boolean>` ('default =' `0`)::
5d9c884c
DM
298
299Whether to include intermediate snapshots in the stream
300
2c0dde61
DM
301*pvesm extractconfig* `<volume>`
302
303Extract configuration from vzdump backup archive.
304
013dc89f 305`<volume>`: `<string>` ::
2c0dde61
DM
306
307Volume identifier
308
1f554f76
DM
309*pvesm free* `<volume>` `[OPTIONS]`
310
311Delete volume
312
013dc89f 313`<volume>`: `<string>` ::
1f554f76
DM
314
315Volume identifier
316
1c532546
TL
317`--delay` `<integer> (1 - 30)` ::
318
319Time to wait for the task to finish. We return 'null' if the task finish within that time.
320
2489d6df 321`--storage` `<string>` ::
1f554f76
DM
322
323The storage identifier.
324
e2d681b3 325*pvesm glusterfsscan*
1f554f76 326
e2d681b3 327An alias for 'pvesm scan glusterfs'.
1f554f76 328
35a75dd3 329*pvesm help* `[OPTIONS]`
1f554f76
DM
330
331Get help about specified command.
332
35a75dd3 333`--extra-args` `<array>` ::
1f554f76 334
35a75dd3 335Shows help for a specific command
1f554f76 336
2489d6df 337`--verbose` `<boolean>` ::
1f554f76
DM
338
339Verbose output format.
340
5d9c884c
DM
341*pvesm import* `<volume> <format> <filename>` `[OPTIONS]`
342
04d22a9f 343Used internally to import a volume.
5d9c884c
DM
344
345`<volume>`: `<string>` ::
346
347Volume identifier
348
5f4e66fe 349`<format>`: `<btrfs | qcow2+size | raw+size | tar+size | vmdk+size | zfs>` ::
5d9c884c
DM
350
351Import stream format
352
353`<filename>`: `<string>` ::
354
d2656385 355Source file name. For '-' stdin is used, the tcp://<IP-or-CIDR> format allows to use a TCP connection, the unix://PATH-TO-SOCKET format a UNIX socket as input.Else, the file is treated as common file.
5d9c884c 356
c5aa7e14
TL
357`--allow-rename` `<boolean>` ('default =' `0`)::
358
359Choose a new volume ID if the requested volume ID already exists, instead of throwing an error.
360
d2656385 361`--base` `(?^i:[a-z0-9_\-]{1,40})` ::
5d9c884c
DM
362
363Base snapshot of an incremental stream
364
d2656385 365`--delete-snapshot` `(?^i:[a-z0-9_\-]{1,80})` ::
5d9c884c
DM
366
367A snapshot to delete on success
368
5f4e66fe
TL
369`--snapshot` `(?^i:[a-z0-9_\-]{1,40})` ::
370
371The current-state snapshot if the stream contains snapshots
372
2489d6df 373`--with-snapshots` `<boolean>` ('default =' `0`)::
5d9c884c
DM
374
375Whether the stream includes intermediate snapshots
376
e2d681b3 377*pvesm iscsiscan*
1f554f76 378
e2d681b3 379An alias for 'pvesm scan iscsi'.
1f554f76 380
1f554f76
DM
381*pvesm list* `<storage>` `[OPTIONS]`
382
383List storage content.
384
013dc89f 385`<storage>`: `<string>` ::
1f554f76
DM
386
387The storage identifier.
388
2489d6df 389`--content` `<string>` ::
1f554f76
DM
390
391Only list content of this type.
392
2489d6df 393`--vmid` `<integer> (1 - N)` ::
1f554f76
DM
394
395Only list images for this VM
396
1f554f76
DM
397*pvesm lvmscan*
398
e2d681b3 399An alias for 'pvesm scan lvm'.
9b3e4991 400
e2d681b3 401*pvesm lvmthinscan*
9b3e4991 402
e2d681b3 403An alias for 'pvesm scan lvmthin'.
9b3e4991 404
e2d681b3 405*pvesm nfsscan*
1f554f76 406
e2d681b3 407An alias for 'pvesm scan nfs'.
1f554f76 408
1f554f76
DM
409*pvesm path* `<volume>`
410
411Get filesystem path for specified volume
412
013dc89f 413`<volume>`: `<string>` ::
1f554f76
DM
414
415Volume identifier
416
739d4d64
TL
417*pvesm prune-backups* `<storage>` `[OPTIONS]`
418
4772952b
TL
419Prune backups. Only those using the standard naming scheme are considered.
420If no keep options are specified, those from the storage configuration are
421used.
739d4d64
TL
422
423`<storage>`: `<string>` ::
424
425The storage identifier.
426
427`--dry-run` `<boolean>` ::
428
429Only show what would be pruned, don't delete anything.
430
4772952b
TL
431`--keep-all` `<boolean>` ::
432
433Keep all backups. Conflicts with the other options when true.
434
435`--keep-daily` `<N>` ::
436
437Keep backups for the last <N> different days. If there is morethan one backup for a single day, only the latest one is kept.
438
439`--keep-hourly` `<N>` ::
440
441Keep backups for the last <N> different hours. If there is morethan one backup for a single hour, only the latest one is kept.
442
443`--keep-last` `<N>` ::
739d4d64 444
4772952b
TL
445Keep the last <N> backups.
446
447`--keep-monthly` `<N>` ::
448
449Keep backups for the last <N> different months. If there is morethan one backup for a single month, only the latest one is kept.
450
451`--keep-weekly` `<N>` ::
452
453Keep backups for the last <N> different weeks. If there is morethan one backup for a single week, only the latest one is kept.
454
455`--keep-yearly` `<N>` ::
456
457Keep backups for the last <N> different years. If there is morethan one backup for a single year, only the latest one is kept.
739d4d64
TL
458
459`--type` `<lxc | qemu>` ::
460
461Either 'qemu' or 'lxc'. Only consider backups for guests of this type.
462
463`--vmid` `<integer> (1 - N)` ::
464
465Only consider backups for this guest.
466
1f554f76
DM
467*pvesm remove* `<storage>`
468
469Delete storage configuration.
470
013dc89f 471`<storage>`: `<string>` ::
1f554f76
DM
472
473The storage identifier.
474
e2d681b3
TL
475*pvesm scan cifs* `<server>` `[OPTIONS]`
476
477Scan remote CIFS server.
478
479`<server>`: `<string>` ::
480
481The server address (name or IP).
482
483`--domain` `<string>` ::
484
485SMB domain (Workgroup).
486
487`--password` `<password>` ::
488
489User password.
490
491`--username` `<string>` ::
492
493User name.
494
495*pvesm scan glusterfs* `<server>`
496
497Scan remote GlusterFS server.
498
499`<server>`: `<string>` ::
500
501The server address (name or IP).
502
503*pvesm scan iscsi* `<portal>`
504
505Scan remote iSCSI server.
506
507`<portal>`: `<string>` ::
508
509The iSCSI portal (IP or DNS name with optional port).
510
511*pvesm scan lvm*
512
513List local LVM volume groups.
514
515*pvesm scan lvmthin* `<vg>`
516
517List local LVM Thin Pools.
518
519`<vg>`: `[a-zA-Z0-9\.\+\_][a-zA-Z0-9\.\+\_\-]+` ::
520
521no description available
522
523*pvesm scan nfs* `<server>`
524
525Scan remote NFS server.
526
527`<server>`: `<string>` ::
528
529The server address (name or IP).
530
d2656385
TL
531*pvesm scan pbs* `<server> <username> --password <string>` `[OPTIONS]` `[FORMAT_OPTIONS]`
532
533Scan remote Proxmox Backup Server.
534
535`<server>`: `<string>` ::
536
537The server address (name or IP).
538
539`<username>`: `<string>` ::
540
541User-name or API token-ID.
542
543`--fingerprint` `([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}` ::
544
545Certificate SHA 256 fingerprint.
546
547`--password` `<string>` ::
548
549User password or API token secret.
550
551`--port` `<integer> (1 - 65535)` ('default =' `8007`)::
552
553Optional port.
554
e2d681b3
TL
555*pvesm scan zfs*
556
557Scan zfs pool list on local node.
558
1f554f76
DM
559*pvesm set* `<storage>` `[OPTIONS]`
560
561Update storage configuration.
562
013dc89f 563`<storage>`: `<string>` ::
1f554f76
DM
564
565The storage identifier.
566
2489d6df 567`--blocksize` `<string>` ::
1f554f76
DM
568
569block size
570
27a7acb2
DM
571`--bwlimit` `[clone=<LIMIT>] [,default=<LIMIT>] [,migration=<LIMIT>] [,move=<LIMIT>] [,restore=<LIMIT>]` ::
572
573Set bandwidth/io limits various operations.
574
2489d6df 575`--comstar_hg` `<string>` ::
1f554f76
DM
576
577host group for comstar views
578
2489d6df 579`--comstar_tg` `<string>` ::
1f554f76
DM
580
581target group for comstar views
582
2489d6df 583`--content` `<string>` ::
1f554f76 584
04ce4dfa
DM
585Allowed content types.
586+
c2993fe5 587NOTE: the value 'rootdir' is used for Containers, and value 'images' for VMs.
1f554f76 588
2489d6df 589`--delete` `<string>` ::
1f554f76
DM
590
591A list of settings you want to delete.
592
2489d6df 593`--digest` `<string>` ::
1f554f76 594
c2993fe5 595Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.
1f554f76 596
2489d6df 597`--disable` `<boolean>` ::
1f554f76
DM
598
599Flag to disable the storage.
600
27a7acb2
DM
601`--domain` `<string>` ::
602
603CIFS domain.
604
739d4d64 605`--encryption-key` `a file containing an encryption key, or the special value "autogen"` ::
04d22a9f
TL
606
607Encryption key. Use 'autogen' to generate one automatically without passphrase.
608
c5aa7e14
TL
609`--fingerprint` `([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}` ::
610
611Certificate SHA 256 fingerprint.
612
2489d6df 613`--format` `<string>` ::
1f554f76 614
04ce4dfa 615Default image format.
1f554f76 616
5370fa8c
TL
617`--fs-name` `<string>` ::
618
619The Ceph filesystem name.
620
5da3d723
TL
621`--fuse` `<boolean>` ::
622
623Mount CephFS through FUSE.
624
2489d6df 625`--is_mountpoint` `<string>` ('default =' `no`)::
2c0dde61 626
2489d6df 627Assume 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.
2c0dde61 628
5370fa8c
TL
629`--keyring` `file containing the keyring to authenticate in the Ceph cluster` ::
630
631Client keyring contents (for external clusters).
632
2489d6df 633`--krbd` `<boolean>` ::
1f554f76 634
e2d681b3 635Always access rbd through krbd kernel module.
1f554f76 636
4d47f125
TL
637`--lio_tpg` `<string>` ::
638
639target portal group for Linux LIO targets
640
d2656385
TL
641`--master-pubkey` `a file containing a PEM-formatted master public key` ::
642
5f4e66fe 643Base64-encoded, PEM-formatted public RSA key. Used to encrypt a copy of the encryption-key which will be added to each encrypted backup.
d2656385 644
2489d6df 645`--maxfiles` `<integer> (0 - N)` ::
1f554f76 646
5f4e66fe 647Deprecated: use 'prune-backups' instead. Maximal number of backup files per VM. Use '0' for unlimited.
1f554f76 648
2489d6df 649`--mkdir` `<boolean>` ('default =' `yes`)::
2c0dde61
DM
650
651Create the directory if it doesn't exist.
652
2489d6df
WB
653`--monhost` `<string>` ::
654
655IP addresses of monitors (for external clusters).
656
5c1699e5
TL
657`--mountpoint` `<string>` ::
658
659mount point
660
d2656385
TL
661`--namespace` `<string>` ::
662
663RBD Namespace.
664
5f4e66fe
TL
665`--nocow` `<boolean>` ('default =' `0`)::
666
667Set the NOCOW flag on files. Disables data checksumming and causes data errors to be unrecoverable from while allowing direct I/O. Only use this if data does not need to be any more safe than on a single ext4 formatted disk with no underlying raid system.
668
2489d6df 669`--nodes` `<string>` ::
1f554f76
DM
670
671List of cluster node names.
672
2489d6df 673`--nowritecache` `<boolean>` ::
1f554f76
DM
674
675disable write caching on the target
676
2489d6df 677`--options` `<string>` ::
1f554f76
DM
678
679NFS mount options (see 'man nfs')
680
04d22a9f 681`--password` `<password>` ::
27a7acb2 682
04d22a9f 683Password for accessing the share/datastore.
27a7acb2 684
2489d6df 685`--pool` `<string>` ::
1f554f76
DM
686
687Pool.
688
4772952b
TL
689`--port` `<integer> (1 - 65535)` ('default =' `8007`)::
690
691For non default port.
692
5370fa8c
TL
693`--preallocation` `<falloc | full | metadata | off>` ('default =' `metadata`)::
694
695Preallocation mode for raw and qcow2 images. Using 'metadata' on raw images results in preallocation=off.
696
4772952b 697`--prune-backups` `[keep-all=<1|0>] [,keep-daily=<N>] [,keep-hourly=<N>] [,keep-last=<N>] [,keep-monthly=<N>] [,keep-weekly=<N>] [,keep-yearly=<N>]` ::
739d4d64
TL
698
699The retention options with shorter intervals are processed first with --keep-last being the very first one. Each option covers a specific period of time. We say that backups within this period are covered by this option. The next option does not take care of already covered backups and only considers older backups.
700
2489d6df 701`--saferemove` `<boolean>` ::
1f554f76
DM
702
703Zero-out data when removing LVs.
704
2489d6df 705`--saferemove_throughput` `<string>` ::
1f554f76
DM
706
707Wipe throughput (cstream -t parameter value).
708
2489d6df 709`--server` `<string>` ::
1f554f76
DM
710
711Server IP or DNS name.
712
2489d6df 713`--server2` `<string>` ::
1f554f76
DM
714
715Backup volfile server IP or DNS name.
716+
717NOTE: Requires option(s): `server`
718
2489d6df 719`--shared` `<boolean>` ::
1f554f76
DM
720
721Mark storage as shared.
722
5370fa8c 723`--smbversion` `<2.0 | 2.1 | 3 | 3.0 | 3.11 | default>` ('default =' `default`)::
27a7acb2 724
5370fa8c 725SMB protocol version. 'default' if not set, negotiates the highest SMB2+ version supported by both the client and server.
27a7acb2 726
2489d6df 727`--sparse` `<boolean>` ::
1f554f76
DM
728
729use sparse volumes
730
5da3d723
TL
731`--subdir` `<string>` ::
732
733Subdir to mount.
734
2489d6df 735`--tagged_only` `<boolean>` ::
2c0dde61
DM
736
737Only use logical volumes tagged with 'pve-vm-ID'.
738
2489d6df 739`--transport` `<rdma | tcp | unix>` ::
1f554f76
DM
740
741Gluster transport: tcp or rdma
742
2489d6df 743`--username` `<string>` ::
1f554f76
DM
744
745RBD Id.
746
1f554f76
DM
747*pvesm status* `[OPTIONS]`
748
749Get status for all datastores.
750
2489d6df 751`--content` `<string>` ::
1f554f76
DM
752
753Only list stores which support this content type.
754
2489d6df 755`--enabled` `<boolean>` ('default =' `0`)::
1f554f76
DM
756
757Only list stores which are enabled (not disabled in config).
758
35a75dd3
DM
759`--format` `<boolean>` ('default =' `0`)::
760
761Include information about formats
762
2489d6df 763`--storage` `<string>` ::
1f554f76
DM
764
765Only list status for specified storage
766
2489d6df 767`--target` `<string>` ::
1f554f76 768
c2993fe5 769If target is different to 'node', we only lists shared storages which content is accessible on this 'node' and the specified 'target' node.
1f554f76 770
1f554f76
DM
771*pvesm zfsscan*
772
e2d681b3 773An alias for 'pvesm scan zfs'.
1f554f76
DM
774
775