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