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