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