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