Skip to content

Commit 7565ab2

Browse files
Merge pull request ceph#64727 from bluikko/doc-mount-ceph-formatting-man
doc/man/8: Fix small errors and small improvements in mount.ceph.rst
2 parents 8c635f5 + d4eadb5 commit 7565ab2

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

doc/man/8/mount.ceph.rst

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ where "name" is the RADOS client name (referred to hereafter as "RADOS user",
2626
and meaning any individual or system actor such as an application).
2727

2828
Mount helper can fill in the cluster FSID by reading the ceph configuration file.
29-
Its recommended to call the mount helper via mount(8) as per::
29+
It is recommended to call the mount helper via mount(8) as per::
3030

3131
mount -t ceph [email protected]_name=/ /mnt/mycephfs -o mon_addr=1.2.3.4
3232

@@ -37,7 +37,7 @@ RADOS user for authentication, the file system name and a path within CephFS
3737
that will be mounted at the mount point.
3838

3939
Monitor addresses can be passed using ``mon_addr`` mount option. Multiple monitor
40-
addresses can be passed by separating addresses with a slash (`/`). Only one
40+
addresses can be passed by separating addresses with a slash ("/"). Only one
4141
monitor is needed to mount successfully; the client will learn about all monitors
4242
from any responsive monitor. However, it is a good idea to specify more than one
4343
in case the one happens to be down at the time of mount. Monitor addresses takes
@@ -78,49 +78,49 @@ Basic
7878
Set the connection mode that the client uses for transport. The available
7979
modes are:
8080

81-
- ``legacy``: use messenger v1 protocol to talk to the cluster
81+
- ``legacy``: Use messenger v1 protocol to talk to the cluster.
8282

83-
- ``crc``: use messenger v2, without on-the-wire encryption
83+
- ``crc``: Use messenger v2, without on-the-wire encryption.
8484

85-
- ``secure``: use messenger v2, with on-the-wire encryption
85+
- ``secure``: Use messenger v2, with on-the-wire encryption.
8686

87-
- ``prefer-crc``: crc mode, if denied agree to secure mode
87+
- ``prefer-crc``: ``crc`` mode, if denied agree to ``secure`` mode.
8888

89-
- ``prefer-secure``: secure mode, if denied agree to crc mode
89+
- ``prefer-secure``: ``secure`` mode, if denied agree to ``crc`` mode.
9090

9191
:command:`mon_addr`
92-
Monitor address of the cluster in the form of ip_address[:port]
92+
Monitor address of the cluster in the form of ip_address[:port].
9393

9494
:command:`fsid`
9595
Cluster FSID. This can be found using `ceph fsid` command.
9696

9797
:command:`secret`
98-
secret key for use with CephX. This option is insecure because it exposes
99-
the secret on the command line. To avoid this, use the secretfile option.
98+
Secret key for use with CephX. This option is insecure because it exposes
99+
the secret on the command line. To avoid this, use the ``secretfile`` option.
100100

101101
:command:`secretfile`
102-
path to file containing the secret key to use with CephX
102+
Path to file containing the secret key to use with CephX.
103103

104104
:command:`recover_session=<no|clean>`
105105
Set auto reconnect mode in the case where the client is blocklisted. The
106106
available modes are ``no`` and ``clean``. The default is ``no``.
107107

108-
- ``no``: never attempt to reconnect when client detects that it has been
108+
- ``no``: Never attempt to reconnect when client detects that it has been
109109
blocklisted. Blocklisted clients will not attempt to reconnect and
110110
their operations will fail too.
111111

112-
- ``clean``: client reconnects to the Ceph cluster automatically when it
112+
- ``clean``: Client reconnects to the Ceph cluster automatically when it
113113
detects that it has been blocklisted. During reconnect, client drops
114114
dirty data/metadata, invalidates page caches and writable file handles.
115115
After reconnect, file locks become stale because the MDS loses track of
116116
them. If an inode contains any stale file locks, read/write on the inode
117117
is not allowed until applications release all stale file locks.
118118

119-
:command: `fs=<fs-name>`
119+
:command:`fs=<fs-name>`
120120
Specify the non-default file system to be mounted, when using the old syntax.
121121

122-
:command: `mds_namespace=<fs-name>`
123-
A synonym of "fs=" (Deprecated).
122+
:command:`mds_namespace=<fs-name>`
123+
A synonym of "fs=" (deprecated).
124124

125125
Advanced
126126
--------
@@ -151,8 +151,8 @@ Advanced
151151
no data crc on writes
152152

153153
:command:`noshare`
154-
create a new client instance, instead of sharing an existing instance of
155-
a client mounting the same cluster
154+
Create a new client instance, instead of sharing an existing instance of
155+
a client mounting the same cluster.
156156

157157
:command:`osdkeepalive`
158158
int, Default: 5
@@ -184,7 +184,7 @@ Advanced
184184
string, set the name of the hidden snapdir. Default: .snap
185185

186186
:command:`write_congestion_kb`
187-
int (kb), max writeback in flight. scale with available
187+
int (kb), max writeback in flight. Scales with available
188188
memory. Default: calculated from available memory
189189

190190
:command:`wsize`
@@ -204,8 +204,8 @@ Advanced
204204

205205
:command:`crush_location=x`
206206
Specify the location of the client in terms of CRUSH hierarchy (since 5.8).
207-
This is a set of key-value pairs separated from each other by '|', with
208-
keys separated from values by ':'. Note that '|' may need to be quoted
207+
This is a set of key-value pairs separated from each other by "|", with
208+
keys separated from values by ":". Note that "|" may need to be quoted
209209
or escaped to avoid it being interpreted as a pipe by the shell. The key
210210
is the bucket type name (e.g. rack, datacenter or region with default
211211
bucket types) and the value is the bucket name. For example, to indicate
@@ -229,19 +229,19 @@ Advanced
229229
- ``balance``: When a replicated pool receives a read request, pick a random
230230
OSD from the PG's acting set to serve it (since 5.8).
231231

232-
This mode is safe for general use only since Octopus (i.e. after "ceph osd
233-
require-osd-release octopus"). Otherwise it should be limited to read-only
232+
This mode is safe for general use only since Octopus (i.e. after `ceph osd
233+
require-osd-release octopus`). Otherwise it should be limited to read-only
234234
workloads such as snapshots.
235235

236236
- ``localize``: When a replicated pool receives a read request, pick the most
237237
local OSD to serve it (since 5.8). The locality metric is calculated against
238-
the location of the client given with crush_location; a match with the
238+
the location of the client given with ``crush_location``; a match with the
239239
lowest-valued bucket type wins. For example, an OSD in a matching rack
240240
is closer than an OSD in a matching data center, which in turn is closer
241241
than an OSD in a matching region.
242242

243-
This mode is safe for general use only since Octopus (i.e. after "ceph osd
244-
require-osd-release octopus"). Otherwise it should be limited to read-only
243+
This mode is safe for general use only since Octopus (i.e. after `ceph osd
244+
require-osd-release octopus`). Otherwise it should be limited to read-only
245245
workloads such as snapshots.
246246

247247

@@ -261,11 +261,11 @@ Pass the monitor host's IP address, optionally::
261261

262262
mount.ceph [email protected]=/ /mnt/mycephfs -o mon_addr=192.168.0.1
263263

264-
Pass the port along with IP address if it's running on a non-standard port::
264+
Pass the port along with IP address if it is running on a non-standard port::
265265

266266
mount.ceph [email protected]=/ /mnt/mycephfs -o mon_addr=192.168.0.1:7000
267267

268-
If there are multiple monitors, pass each address separated by a `/`::
268+
If there are multiple monitors, pass each address separated by a "/"::
269269

270270
mount.ceph [email protected]=/ /mnt/mycephfs -o mon_addr=192.168.0.1/192.168.0.2/192.168.0.3
271271

0 commit comments

Comments
 (0)