blob: da95fe359b908b0c188494e09d4fdcd2c22d4c99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
|
CephFS Administrative commands
==============================
Filesystems
-----------
These commands operate on the CephFS filesystems in your Ceph cluster.
Note that by default only one filesystem is permitted: to enable
creation of multiple filesystems use ``ceph fs flag set enable_multiple true``.
::
fs new <filesystem name> <metadata pool name> <data pool name>
::
fs ls
::
fs rm <filesystem name> [--yes-i-really-mean-it]
::
fs reset <filesystem name>
::
fs get <filesystem name>
::
fs set <filesystem name> <var> <val>
::
fs add_data_pool <filesystem name> <pool name/id>
::
fs rm_data_pool <filesystem name> <pool name/id>
Daemons
-------
These commands act on specific mds daemons or ranks. For convenience,
they accept arguments that
::
mds fail <gid/name/role
::
mds deactivate <role>
::
tell mds.<daemon name>
::
mds metadata <gid/name/role>
::
mds repaired <role>
Global settings
---------------
::
fs dump
::
fs flag set <flag name> <flag val> [<confirmation string>]
flag name must be one of ['enable_multiple']
some flags require you to confirm your intentions with "--yes-i-really-mean-it"
or a similar string they will prompt you with. Consider these actions carefully
before proceeding; they are placed on especially dangerous activities.
Advanced
--------
These commands are not required in normal operation, and exist
for use in exceptional circumstances. Incorrect use of these
commands may cause serious problems, such as an inaccessible
filesystem.
::
mds compat rm_compat
::
mds compat rm_incompat
::
mds compat show
::
mds getmap
::
mds set_state
::
mds rmfailed
Legacy
======
::
mds stat
mds dump # replaced by "fs get"
mds stop # replaced by "mds deactivate"
mds set_max_mds # replaced by "fs set max_mds"
mds set # replaced by "fs set"
mds cluster_down # replaced by "fs set cluster_down"
mds cluster_up # replaced by "fs set cluster_down"
mds newfs # replaced by "fs new"
mds add_data_pool # replaced by "fs add_data_pool"
mds remove_data_pool #replaced by "fs remove_data_pool"
|