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