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