]> git.proxmox.com Git - pve-docs.git/blame_incremental - pveceph.1-synopsis.adoc
bump version to 7.2-2
[pve-docs.git] / pveceph.1-synopsis.adoc
... / ...
CommitLineData
1*pveceph* `<COMMAND> [ARGS] [OPTIONS]`
2
3*pveceph createmgr*
4
5An alias for 'pveceph mgr create'.
6
7*pveceph createmon*
8
9An alias for 'pveceph mon create'.
10
11*pveceph createosd*
12
13An alias for 'pveceph osd create'.
14
15*pveceph createpool*
16
17An alias for 'pveceph pool create'.
18
19*pveceph destroymgr*
20
21An alias for 'pveceph mgr destroy'.
22
23*pveceph destroymon*
24
25An alias for 'pveceph mon destroy'.
26
27*pveceph destroyosd*
28
29An alias for 'pveceph osd destroy'.
30
31*pveceph destroypool*
32
33An alias for 'pveceph pool destroy'.
34
35*pveceph fs create* `[OPTIONS]`
36
37Create a Ceph filesystem
38
39`--add-storage` `<boolean>` ('default =' `0`)::
40
41Configure the created CephFS as storage for this cluster.
42
43`--name` `<string>` ('default =' `cephfs`)::
44
45The ceph filesystem name.
46
47`--pg_num` `<integer> (8 - 32768)` ('default =' `128`)::
48
49Number of placement groups for the backing data pool. The metadata pool will use a quarter of this.
50
51*pveceph fs destroy* `<name>` `[OPTIONS]`
52
53Destroy a Ceph filesystem
54
55`<name>`: `<string>` ::
56
57The ceph filesystem name.
58
59`--remove-pools` `<boolean>` ('default =' `0`)::
60
61Remove data and metadata pools configured for this fs.
62
63`--remove-storages` `<boolean>` ('default =' `0`)::
64
65Remove all pveceph-managed storages configured for this fs.
66
67*pveceph help* `[OPTIONS]`
68
69Get help about specified command.
70
71`--extra-args` `<array>` ::
72
73Shows help for a specific command
74
75`--verbose` `<boolean>` ::
76
77Verbose output format.
78
79*pveceph init* `[OPTIONS]`
80
81Create initial ceph default configuration and setup symlinks.
82
83`--cluster-network` `<string>` ::
84
85Declare a separate cluster network, OSDs will routeheartbeat, object replication and recovery traffic over it
86+
87NOTE: Requires option(s): `network`
88
89`--disable_cephx` `<boolean>` ('default =' `0`)::
90
91Disable cephx authentication.
92+
93WARNING: cephx is a security feature protecting against man-in-the-middle attacks. Only consider disabling cephx if your network is private!
94
95`--min_size` `<integer> (1 - 7)` ('default =' `2`)::
96
97Minimum number of available replicas per object to allow I/O
98
99`--network` `<string>` ::
100
101Use specific network for all ceph related traffic
102
103`--pg_bits` `<integer> (6 - 14)` ('default =' `6`)::
104
105Placement group bits, used to specify the default number of placement groups.
106+
107NOTE: 'osd pool default pg num' does not work for default pools.
108
109`--size` `<integer> (1 - 7)` ('default =' `3`)::
110
111Targeted number of replicas per object
112
113*pveceph install* `[OPTIONS]`
114
115Install ceph related packages.
116
117`--allow-experimental` `<boolean>` ('default =' `0`)::
118
119Allow experimental versions. Use with care!
120
121`--test-repository` `<boolean>` ('default =' `0`)::
122
123Use the test, not the main repository. Use with care!
124
125`--version` `<octopus | pacific>` ('default =' `pacific`)::
126
127Ceph version to install.
128
129*pveceph lspools*
130
131An alias for 'pveceph pool ls'.
132
133*pveceph mds create* `[OPTIONS]`
134
135Create Ceph Metadata Server (MDS)
136
137`--hotstandby` `<boolean>` ('default =' `0`)::
138
139Determines whether a ceph-mds daemon should poll and replay the log of an active MDS. Faster switch on MDS failure, but needs more idle resources.
140
141`--name` `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` ('default =' `nodename`)::
142
143The ID for the mds, when omitted the same as the nodename
144
145*pveceph mds destroy* `<name>`
146
147Destroy Ceph Metadata Server
148
149`<name>`: `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` ::
150
151The name (ID) of the mds
152
153*pveceph mgr create* `[OPTIONS]`
154
155Create Ceph Manager
156
157`--id` `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` ::
158
159The ID for the manager, when omitted the same as the nodename
160
161*pveceph mgr destroy* `<id>`
162
163Destroy Ceph Manager.
164
165`<id>`: `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` ::
166
167The ID of the manager
168
169*pveceph mon create* `[OPTIONS]`
170
171Create Ceph Monitor and Manager
172
173`--mon-address` `<string>` ::
174
175Overwrites autodetected monitor IP address(es). Must be in the public network(s) of Ceph.
176
177`--monid` `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` ::
178
179The ID for the monitor, when omitted the same as the nodename
180
181*pveceph mon destroy* `<monid>`
182
183Destroy Ceph Monitor and Manager.
184
185`<monid>`: `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` ::
186
187Monitor ID
188
189*pveceph osd create* `<dev>` `[OPTIONS]`
190
191Create OSD
192
193`<dev>`: `<string>` ::
194
195Block device name.
196
197`--crush-device-class` `<string>` ::
198
199Set the device class of the OSD in crush.
200
201`--db_dev` `<string>` ::
202
203Block device name for block.db.
204
205`--db_dev_size` `<number> (1 - N)` ('default =' `bluestore_block_db_size or 10% of OSD size`)::
206
207Size in GiB for block.db.
208+
209NOTE: Requires option(s): `db_dev`
210
211`--encrypted` `<boolean>` ('default =' `0`)::
212
213Enables encryption of the OSD.
214
215`--wal_dev` `<string>` ::
216
217Block device name for block.wal.
218
219`--wal_dev_size` `<number> (0.5 - N)` ('default =' `bluestore_block_wal_size or 1% of OSD size`)::
220
221Size in GiB for block.wal.
222+
223NOTE: Requires option(s): `wal_dev`
224
225*pveceph osd destroy* `<osdid>` `[OPTIONS]`
226
227Destroy OSD
228
229`<osdid>`: `<integer>` ::
230
231OSD ID
232
233`--cleanup` `<boolean>` ('default =' `0`)::
234
235If set, we remove partition table entries.
236
237*pveceph pool create* `<name>` `[OPTIONS]`
238
239Create Ceph pool
240
241`<name>`: `<string>` ::
242
243The name of the pool. It must be unique.
244
245`--add_storages` `<boolean>` ('default =' `0; for erasure coded pools: 1`)::
246
247Configure VM and CT storage using the new pool.
248
249`--application` `<cephfs | rbd | rgw>` ('default =' `rbd`)::
250
251The application of the pool.
252
253`--crush_rule` `<string>` ::
254
255The rule to use for mapping object placement in the cluster.
256
257`--erasure-coding` `k=<integer> ,m=<integer> [,device-class=<class>] [,failure-domain=<domain>] [,profile=<profile>]` ::
258
259Create an erasure coded pool for RBD with an accompaning replicated pool for metadata storage. With EC, the common ceph options 'size', 'min_size' and 'crush_rule' parameters will be applied to the metadata pool.
260
261`--min_size` `<integer> (1 - 7)` ('default =' `2`)::
262
263Minimum number of replicas per object
264
265`--pg_autoscale_mode` `<off | on | warn>` ('default =' `warn`)::
266
267The automatic PG scaling mode of the pool.
268
269`--pg_num` `<integer> (1 - 32768)` ('default =' `128`)::
270
271Number of placement groups.
272
273`--pg_num_min` `<integer> (-N - 32768)` ::
274
275Minimal number of placement groups.
276
277`--size` `<integer> (1 - 7)` ('default =' `3`)::
278
279Number of replicas per object
280
281`--target_size` `^(\d+(\.\d+)?)([KMGT])?$` ::
282
283The estimated target size of the pool for the PG autoscaler.
284
285`--target_size_ratio` `<number>` ::
286
287The estimated target ratio of the pool for the PG autoscaler.
288
289*pveceph pool destroy* `<name>` `[OPTIONS]`
290
291Destroy pool
292
293`<name>`: `<string>` ::
294
295The name of the pool. It must be unique.
296
297`--force` `<boolean>` ('default =' `0`)::
298
299If true, destroys pool even if in use
300
301`--remove_ecprofile` `<boolean>` ('default =' `1`)::
302
303Remove the erasure code profile. Defaults to true, if applicable.
304
305`--remove_storages` `<boolean>` ('default =' `0`)::
306
307Remove all pveceph-managed storages configured for this pool
308
309*pveceph pool get* `<name>` `[OPTIONS]` `[FORMAT_OPTIONS]`
310
311List pool settings.
312
313`<name>`: `<string>` ::
314
315The name of the pool. It must be unique.
316
317`--verbose` `<boolean>` ('default =' `0`)::
318
319If enabled, will display additional data(eg. statistics).
320
321*pveceph pool ls* `[FORMAT_OPTIONS]`
322
323List all pools.
324
325*pveceph pool set* `<name>` `[OPTIONS]`
326
327Change POOL settings
328
329`<name>`: `<string>` ::
330
331The name of the pool. It must be unique.
332
333`--application` `<cephfs | rbd | rgw>` ::
334
335The application of the pool.
336
337`--crush_rule` `<string>` ::
338
339The rule to use for mapping object placement in the cluster.
340
341`--min_size` `<integer> (1 - 7)` ::
342
343Minimum number of replicas per object
344
345`--pg_autoscale_mode` `<off | on | warn>` ::
346
347The automatic PG scaling mode of the pool.
348
349`--pg_num` `<integer> (1 - 32768)` ::
350
351Number of placement groups.
352
353`--pg_num_min` `<integer> (-N - 32768)` ::
354
355Minimal number of placement groups.
356
357`--size` `<integer> (1 - 7)` ::
358
359Number of replicas per object
360
361`--target_size` `^(\d+(\.\d+)?)([KMGT])?$` ::
362
363The estimated target size of the pool for the PG autoscaler.
364
365`--target_size_ratio` `<number>` ::
366
367The estimated target ratio of the pool for the PG autoscaler.
368
369*pveceph purge* `[OPTIONS]`
370
371Destroy ceph related data and configuration files.
372
373`--crash` `<boolean>` ::
374
375Additionally purge Ceph crash logs, /var/lib/ceph/crash.
376
377`--logs` `<boolean>` ::
378
379Additionally purge Ceph logs, /var/log/ceph.
380
381*pveceph start* `[OPTIONS]`
382
383Start ceph services.
384
385`--service` `(ceph|mon|mds|osd|mgr)(\.[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?)?` ('default =' `ceph.target`)::
386
387Ceph service name.
388
389*pveceph status*
390
391Get Ceph Status.
392
393*pveceph stop* `[OPTIONS]`
394
395Stop ceph services.
396
397`--service` `(ceph|mon|mds|osd|mgr)(\.[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?)?` ('default =' `ceph.target`)::
398
399Ceph service name.
400
401