]> git.proxmox.com Git - pve-docs.git/blame_incremental - pvesm.1-synopsis.adoc
update generated docs
[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>` `(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`-comstar_hg` `string` ::
28
29host group for comstar views
30
31`-comstar_tg` `string` ::
32
33target group for comstar views
34
35`-content` `string` ::
36
37Allowed content types.
38+
39NOTE: the value 'rootdir' is used for Containers, and value 'images' for VMs.
40
41`-disable` `boolean` ::
42
43Flag to disable the storage.
44
45`-export` `string` ::
46
47NFS export path.
48
49`-format` `string` ::
50
51Default image format.
52
53`-iscsiprovider` `string` ::
54
55iscsi provider
56
57`-krbd` `boolean` ::
58
59Access rbd through krbd kernel module.
60
61`-maxfiles` `integer (0 - N)` ::
62
63Maximal number of backup files per VM. Use '0' for unlimted.
64
65`-monhost` `string` ::
66
67Monitors daemon ips.
68
69`-nodes` `string` ::
70
71List of cluster node names.
72
73`-nowritecache` `boolean` ::
74
75disable write caching on the target
76
77`-options` `string` ::
78
79NFS mount options (see 'man nfs')
80
81`-path` `string` ::
82
83File system path.
84
85`-pool` `string` ::
86
87Pool.
88
89`-portal` `string` ::
90
91iSCSI portal (IP or DNS name with optional port).
92
93`-redundancy` `integer (1 - 16)` (default=`2`)::
94
95The 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.
96
97`-saferemove` `boolean` ::
98
99Zero-out data when removing LVs.
100
101`-saferemove_throughput` `string` ::
102
103Wipe throughput (cstream -t parameter value).
104
105`-server` `string` ::
106
107Server IP or DNS name.
108
109`-server2` `string` ::
110
111Backup volfile server IP or DNS name.
112+
113NOTE: Requires option(s): `server`
114
115`-shared` `boolean` ::
116
117Mark storage as shared.
118
119`-sparse` `boolean` ::
120
121use sparse volumes
122
123`-target` `string` ::
124
125iSCSI target.
126
127`-thinpool` `string` ::
128
129LVM thin pool LV name.
130
131`-transport` `(rdma | tcp | unix)` ::
132
133Gluster transport: tcp or rdma
134
135`-username` `string` ::
136
137RBD Id.
138
139`-vgname` `string` ::
140
141Volume group name.
142
143`-volume` `string` ::
144
145Glusterfs Volume.
146
147
148
149
150*pvesm alloc* `<storage> <vmid> <filename> <size>` `[OPTIONS]`
151
152Allocate disk images.
153
154`<storage>` `string` ::
155
156The storage identifier.
157
158`<vmid>` `integer (1 - N)` ::
159
160Specify owner VM
161
162`<filename>` `string` ::
163
164The name of the file to create.
165
166`<size>` `\d+[MG]?` ::
167
168Size in kilobyte (1024 bytes). Optional suffixes 'M' (megabyte, 1024K) and 'G' (gigabyte, 1024M)
169
170`-format` `(qcow2 | raw | subvol)` ::
171
172no description available
173+
174NOTE: Requires option(s): `size`
175
176
177
178*pvesm free* `<volume>` `[OPTIONS]`
179
180Delete volume
181
182`<volume>` `string` ::
183
184Volume identifier
185
186`-storage` `string` ::
187
188The storage identifier.
189
190
191
192
193*pvesm glusterfsscan* `<server>`
194
195Scan remote GlusterFS server.
196
197`<server>` `string` ::
198
199no description available
200
201
202
203
204*pvesm help* `[<cmd>]` `[OPTIONS]`
205
206Get help about specified command.
207
208`<cmd>` `string` ::
209
210Command name
211
212`-verbose` `boolean` ::
213
214Verbose output format.
215
216
217
218
219*pvesm iscsiscan* `-portal <string>` `[OPTIONS]`
220
221Scan remote iSCSI server.
222
223`-portal` `string` ::
224
225no description available
226
227
228
229
230*pvesm list* `<storage>` `[OPTIONS]`
231
232List storage content.
233
234`<storage>` `string` ::
235
236The storage identifier.
237
238`-content` `string` ::
239
240Only list content of this type.
241
242`-vmid` `integer (1 - N)` ::
243
244Only list images for this VM
245
246
247
248
249*pvesm lvmscan*
250
251List local LVM volume groups.
252
253
254
255*pvesm lvmthinscan* `<vg>`
256
257List local LVM Thin Pools.
258
259`<vg>` `[a-zA-Z0-9\.\+\_][a-zA-Z0-9\.\+\_\-]+` ::
260
261no description available
262
263
264
265*pvesm nfsscan* `<server>`
266
267Scan remote NFS server.
268
269`<server>` `string` ::
270
271no description available
272
273
274
275
276*pvesm path* `<volume>`
277
278Get filesystem path for specified volume
279
280`<volume>` `string` ::
281
282Volume identifier
283
284
285
286
287*pvesm remove* `<storage>`
288
289Delete storage configuration.
290
291`<storage>` `string` ::
292
293The storage identifier.
294
295
296
297*pvesm set* `<storage>` `[OPTIONS]`
298
299Update storage configuration.
300
301`<storage>` `string` ::
302
303The storage identifier.
304
305`-blocksize` `string` ::
306
307block size
308
309`-comstar_hg` `string` ::
310
311host group for comstar views
312
313`-comstar_tg` `string` ::
314
315target group for comstar views
316
317`-content` `string` ::
318
319Allowed content types.
320+
321NOTE: the value 'rootdir' is used for Containers, and value 'images' for VMs.
322
323`-delete` `string` ::
324
325A list of settings you want to delete.
326
327`-digest` `string` ::
328
329Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.
330
331`-disable` `boolean` ::
332
333Flag to disable the storage.
334
335`-format` `string` ::
336
337Default image format.
338
339`-krbd` `boolean` ::
340
341Access rbd through krbd kernel module.
342
343`-maxfiles` `integer (0 - N)` ::
344
345Maximal number of backup files per VM. Use '0' for unlimted.
346
347`-nodes` `string` ::
348
349List of cluster node names.
350
351`-nowritecache` `boolean` ::
352
353disable write caching on the target
354
355`-options` `string` ::
356
357NFS mount options (see 'man nfs')
358
359`-pool` `string` ::
360
361Pool.
362
363`-redundancy` `integer (1 - 16)` (default=`2`)::
364
365The 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.
366
367`-saferemove` `boolean` ::
368
369Zero-out data when removing LVs.
370
371`-saferemove_throughput` `string` ::
372
373Wipe throughput (cstream -t parameter value).
374
375`-server` `string` ::
376
377Server IP or DNS name.
378
379`-server2` `string` ::
380
381Backup volfile server IP or DNS name.
382+
383NOTE: Requires option(s): `server`
384
385`-shared` `boolean` ::
386
387Mark storage as shared.
388
389`-sparse` `boolean` ::
390
391use sparse volumes
392
393`-transport` `(rdma | tcp | unix)` ::
394
395Gluster transport: tcp or rdma
396
397`-username` `string` ::
398
399RBD Id.
400
401
402
403
404*pvesm status* `[OPTIONS]`
405
406Get status for all datastores.
407
408`-content` `string` ::
409
410Only list stores which support this content type.
411
412`-enabled` `boolean` (default=`0`)::
413
414Only list stores which are enabled (not disabled in config).
415
416`-storage` `string` ::
417
418Only list status for specified storage
419
420`-target` `string` ::
421
422If target is different to 'node', we only lists shared storages which content is accessible on this 'node' and the specified 'target' node.
423
424
425
426
427*pvesm zfsscan*
428
429Scan zfs pool list on local node.
430
431
432
433