1
========================================
2
mount.ceph -- mount a ceph file system
3
========================================
5
.. program:: mount.ceph
10
| **mount.ceph** *monaddr1*\ [,\ *monaddr2*\ ,...]:/[*subdir*] *dir* [
17
**mount.ceph** is a simple helper for mounting the Ceph file system on
18
a Linux host. The only real purpose it serves is to resolve monitor
19
hostname(s) into IP addresses; the Linux kernel client component does
20
most of the real work. In fact, it is possible to mount a Ceph file
21
system without mount.ceph by specifying monitor address(es) by IP::
23
mount -t ceph 1.2.3.4:/ mountpoint
25
Each monitor address monaddr takes the form host[:port]. If the port
26
is not specified, the Ceph default of 6789 is assumed.
28
Multiple monitor addresses can be separated by commas. Only one
29
responsible monitor is needed to successfully mount; the client will
30
learn about all monitors from any responsive monitor. However, it is a
31
good idea to specify more than one in case one happens to be down at
34
A subdirectory subdir may be specified if a subset of the file system
42
int, max write size. Default: none (writeback uses smaller of wsize
46
int (bytes), max readahead, multiple of 1024, Default: 524288
50
int (seconds), Default: 60
52
:command:`osdkeepalivetimeout`
55
:command:`mount_timeout`
56
int (seconds), Default: 60
58
:command:`osd_idle_ttl`
59
int (seconds), Default: 60
61
:command:`caps_wanted_delay_min`
62
int, cap release delay, Default: 5
64
:command:`caps_wanted_delay_max`
65
int, cap release delay, Default: 60
67
:command:`cap_release_safety`
68
int, Default: calculated
70
:command:`readdir_max_entries`
73
:command:`readdir_max_bytes`
74
int, Default: 524288 (512*1024)
76
:command:`write_congestion_kb`
77
int (kb), max writeback in flight. scale with available
78
memory. Default: calculated from available memory
80
:command:`snapdirname`
81
string, set the name of the hidden snapdir. Default: .snap
84
RADOS user to authenticate as when using cephx. Default: guest
87
secret key for use with cephx. This option is insecure because it exposes
88
the secret on the command line. To avoid this, use the secretfile option.
91
path to file containing the secret key to use with cephx
97
create a new client instance, instead of sharing an existing
98
instance of a client mounting the same cluster
101
funky `cat dirname` for stats, Default: off
104
no funky `cat dirname` for stats
107
Report the recursive size of the directory contents for st_size on
108
directories. Default: on
111
Do not report the recursive size of the directory contents for
112
st_size on directories.
115
no data crc on writes
117
:command:`noasyncreaddir`
124
Mount the full file system::
126
mount.ceph monhost:/ /mnt/foo
128
If there are multiple monitors::
130
mount.ceph monhost1,monhost2,monhost3:/ /mnt/foo
132
If :doc:`ceph-mon </man/8/ceph-mon>`\(8) is running on a non-standard
135
mount.ceph monhost1:7000,monhost2:7000,monhost3:7000:/ /mnt/foo
137
To mount only part of the namespace::
139
mount.ceph monhost1:/some/small/thing /mnt/thing
141
Assuming mount.ceph(8) is installed properly, it should be
142
automatically invoked by mount(8) like so::
144
mount -t ceph monhost:/ /mnt/foo
150
**mount.ceph** is part of the Ceph distributed file system. Please
151
refer to the Ceph wiki at http://ceph.newdream.net/wiki for more
157
:doc:`ceph-fuse <ceph-fuse>`\(8),
158
:doc:`ceph <ceph>`\(8)