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