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