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