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