]> git.proxmox.com Git - pve-docs.git/blame_incremental - pveceph.1-synopsis.adoc
add documentation for display types and memory configuration
[pve-docs.git] / pveceph.1-synopsis.adoc
... / ...
CommitLineData
1*pveceph* `<COMMAND> [ARGS] [OPTIONS]`
2
3*pveceph createmgr* `[OPTIONS]`
4
5Create Ceph Manager
6
7`--id` `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` ::
8
9The ID for the manager, when omitted the same as the nodename
10
11*pveceph createmon* `[OPTIONS]`
12
13Create Ceph Monitor and Manager
14
15`--exclude-manager` `<boolean>` ('default =' `0`)::
16
17When set, only a monitor will be created.
18
19`--id` `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` ::
20
21The ID for the monitor, when omitted the same as the nodename
22
23`--mon-address` `<string>` ::
24
25Overwrites autodetected monitor IP address. Must be in the public network of ceph.
26
27*pveceph createosd* `<dev>` `[OPTIONS]`
28
29Create OSD
30
31`<dev>`: `<string>` ::
32
33Block device name.
34
35`--bluestore` `<boolean>` ('default =' `1`)::
36
37Use bluestore instead of filestore. This is the default.
38
39`--fstype` `<ext4 | xfs>` ('default =' `xfs`)::
40
41File system type (filestore only).
42
43`--journal_dev` `<string>` ::
44
45Block device name for journal (filestore) or block.db (bluestore).
46
47`--wal_dev` `<string>` ::
48
49Block device name for block.wal (bluestore only).
50
51*pveceph createpool* `<name>` `[OPTIONS]`
52
53Create POOL
54
55`<name>`: `<string>` ::
56
57The name of the pool. It must be unique.
58
59`--add_storages` `<boolean>` ::
60
61Configure VM and CT storages using the new pool.
62
63`--application` `<cephfs | rbd | rgw>` ::
64
65The application of the pool, 'rbd' by default.
66
67`--crush_rule` `<string>` ::
68
69The rule to use for mapping object placement in the cluster.
70
71`--min_size` `<integer> (1 - 7)` ('default =' `2`)::
72
73Minimum number of replicas per object
74
75`--pg_num` `<integer> (8 - 32768)` ('default =' `64`)::
76
77Number of placement groups.
78
79`--size` `<integer> (1 - 7)` ('default =' `3`)::
80
81Number of replicas per object
82
83*pveceph destroymgr* `<id>`
84
85Destroy Ceph Manager.
86
87`<id>`: `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` ::
88
89The ID of the manager
90
91*pveceph destroymon* `<monid>` `[OPTIONS]`
92
93Destroy Ceph Monitor and Manager.
94
95`<monid>`: `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` ::
96
97Monitor ID
98
99`--exclude-manager` `<boolean>` ('default =' `0`)::
100
101When set, removes only the monitor, not the manager
102
103*pveceph destroyosd* `<osdid>` `[OPTIONS]`
104
105Destroy OSD
106
107`<osdid>`: `<integer>` ::
108
109OSD ID
110
111`--cleanup` `<boolean>` ('default =' `0`)::
112
113If set, we remove partition table entries.
114
115*pveceph destroypool* `<name>` `[OPTIONS]`
116
117Destroy pool
118
119`<name>`: `<string>` ::
120
121The name of the pool. It must be unique.
122
123`--force` `<boolean>` ('default =' `0`)::
124
125If true, destroys pool even if in use
126
127`--remove_storages` `<boolean>` ('default =' `0`)::
128
129Remove all pveceph-managed storages configured for this pool
130
131*pveceph help* `[OPTIONS]`
132
133Get help about specified command.
134
135`--extra-args` `<array>` ::
136
137Shows help for a specific command
138
139`--verbose` `<boolean>` ::
140
141Verbose output format.
142
143*pveceph init* `[OPTIONS]`
144
145Create initial ceph default configuration and setup symlinks.
146
147`--disable_cephx` `<boolean>` ('default =' `0`)::
148
149Disable cephx authentification.
150+
151WARNING: cephx is a security feature protecting against man-in-the-middle attacks. Only consider disabling cephx if your network is private!
152
153`--min_size` `<integer> (1 - 7)` ('default =' `2`)::
154
155Minimum number of available replicas per object to allow I/O
156
157`--network` `<string>` ::
158
159Use specific network for all ceph related traffic
160
161`--pg_bits` `<integer> (6 - 14)` ('default =' `6`)::
162
163Placement group bits, used to specify the default number of placement groups.
164+
165NOTE: 'osd pool default pg num' does not work for default pools.
166
167`--size` `<integer> (1 - 7)` ('default =' `3`)::
168
169Targeted number of replicas per object
170
171*pveceph install* `[OPTIONS]`
172
173Install ceph related packages.
174
175`--version` `<luminous>` ::
176
177no description available
178
179*pveceph lspools*
180
181List all pools.
182
183*pveceph purge*
184
185Destroy ceph related data and configuration files.
186
187*pveceph start* `[<service>]`
188
189Start ceph services.
190
191`<service>`: `(mon|mds|osd|mgr)\.[A-Za-z0-9\-]{1,32}` ::
192
193Ceph service name.
194
195*pveceph status*
196
197Get ceph status.
198
199*pveceph stop* `[<service>]`
200
201Stop ceph services.
202
203`<service>`: `(mon|mds|osd|mgr)\.[A-Za-z0-9\-]{1,32}` ::
204
205Ceph service name.
206
207