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