2013-04-29 23:01:38 +00:00
|
|
|
.TH "MOUNT.CEPH" "8" "April 29, 2013" "dev" "Ceph"
|
2009-03-11 04:35:44 +00:00
|
|
|
.SH NAME
|
|
|
|
mount.ceph \- mount a ceph file system
|
2011-09-09 23:25:14 +00:00
|
|
|
.
|
|
|
|
.nr rst2man-indent-level 0
|
|
|
|
.
|
|
|
|
.de1 rstReportMargin
|
|
|
|
\\$1 \\n[an-margin]
|
|
|
|
level \\n[rst2man-indent-level]
|
|
|
|
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
|
-
|
|
|
|
\\n[rst2man-indent0]
|
|
|
|
\\n[rst2man-indent1]
|
|
|
|
\\n[rst2man-indent2]
|
|
|
|
..
|
|
|
|
.de1 INDENT
|
|
|
|
.\" .rstReportMargin pre:
|
|
|
|
. RS \\$1
|
|
|
|
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
|
|
|
|
. nr rst2man-indent-level +1
|
|
|
|
.\" .rstReportMargin post:
|
|
|
|
..
|
|
|
|
.de UNINDENT
|
|
|
|
. RE
|
|
|
|
.\" indent \\n[an-margin]
|
|
|
|
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
|
.nr rst2man-indent-level -1
|
|
|
|
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
|
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
|
|
|
..
|
2012-09-27 21:23:42 +00:00
|
|
|
.\" Man page generated from reStructuredText.
|
2011-09-09 23:25:14 +00:00
|
|
|
.
|
2009-03-11 04:35:44 +00:00
|
|
|
.SH SYNOPSIS
|
2011-09-09 23:25:14 +00:00
|
|
|
.nf
|
|
|
|
\fBmount.ceph\fP \fImonaddr1\fP[,\fImonaddr2\fP,...]:/[\fIsubdir\fP] \fIdir\fP [
|
|
|
|
\-o \fIoptions\fP ]
|
|
|
|
.fi
|
|
|
|
.sp
|
2009-03-11 04:35:44 +00:00
|
|
|
.SH DESCRIPTION
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
|
|
|
\fBmount.ceph\fP is a simple helper for mounting the Ceph file system on
|
2012-09-27 21:23:42 +00:00
|
|
|
a Linux host. It serves to resolve monitor hostname(s) into IP
|
|
|
|
addresses and read authentication keys from disk; the Linux kernel
|
|
|
|
client component does most of the real work. In fact, it is possible
|
|
|
|
to mount a non\-authenticated Ceph file system without mount.ceph by
|
|
|
|
specifying monitor address(es) by IP:
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
|
|
|
.nf
|
|
|
|
.ft C
|
|
|
|
mount \-t ceph 1.2.3.4:/ mountpoint
|
|
|
|
.ft P
|
|
|
|
.fi
|
|
|
|
.sp
|
|
|
|
Each monitor address monaddr takes the form host[:port]. If the port
|
|
|
|
is not specified, the Ceph default of 6789 is assumed.
|
|
|
|
.sp
|
|
|
|
Multiple monitor addresses can be separated by commas. Only one
|
2009-03-11 04:35:44 +00:00
|
|
|
responsible monitor is needed to successfully mount; the client will
|
2011-09-09 23:25:14 +00:00
|
|
|
learn about all monitors from any responsive monitor. However, it is a
|
|
|
|
good idea to specify more than one in case one happens to be down at
|
2009-03-11 04:35:44 +00:00
|
|
|
the time of mount.
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
|
|
|
A subdirectory subdir may be specified if a subset of the file system
|
|
|
|
is to be mounted.
|
2012-09-27 21:23:42 +00:00
|
|
|
.sp
|
|
|
|
Mount helper application conventions dictate that the first two
|
|
|
|
options are device to be mounted and destination path. Options must be
|
|
|
|
passed only after these fixed arguments.
|
2010-06-21 10:32:26 +00:00
|
|
|
.SH OPTIONS
|
2011-09-09 23:25:14 +00:00
|
|
|
.INDENT 0.0
|
|
|
|
.TP
|
|
|
|
.B \fBwsize\fP
|
|
|
|
int, max write size. Default: none (writeback uses smaller of wsize
|
|
|
|
and stripe unit)
|
|
|
|
.TP
|
|
|
|
.B \fBrsize\fP
|
|
|
|
int (bytes), max readahead, multiple of 1024, Default: 524288
|
|
|
|
(512*1024)
|
|
|
|
.TP
|
|
|
|
.B \fBosdtimeout\fP
|
2010-06-28 16:55:12 +00:00
|
|
|
int (seconds), Default: 60
|
2011-09-09 23:25:14 +00:00
|
|
|
.TP
|
|
|
|
.B \fBosdkeepalivetimeout\fP
|
2010-06-28 16:55:12 +00:00
|
|
|
int, Default: 5
|
2011-09-09 23:25:14 +00:00
|
|
|
.TP
|
|
|
|
.B \fBmount_timeout\fP
|
2010-06-28 16:55:12 +00:00
|
|
|
int (seconds), Default: 60
|
2011-09-09 23:25:14 +00:00
|
|
|
.TP
|
|
|
|
.B \fBosd_idle_ttl\fP
|
2010-06-28 16:55:12 +00:00
|
|
|
int (seconds), Default: 60
|
2011-09-09 23:25:14 +00:00
|
|
|
.TP
|
|
|
|
.B \fBcaps_wanted_delay_min\fP
|
2010-06-28 16:55:12 +00:00
|
|
|
int, cap release delay, Default: 5
|
2011-09-09 23:25:14 +00:00
|
|
|
.TP
|
|
|
|
.B \fBcaps_wanted_delay_max\fP
|
2010-06-28 16:55:12 +00:00
|
|
|
int, cap release delay, Default: 60
|
2011-09-09 23:25:14 +00:00
|
|
|
.TP
|
|
|
|
.B \fBcap_release_safety\fP
|
2010-06-28 16:55:12 +00:00
|
|
|
int, Default: calculated
|
2011-09-09 23:25:14 +00:00
|
|
|
.TP
|
|
|
|
.B \fBreaddir_max_entries\fP
|
2010-06-28 16:55:12 +00:00
|
|
|
int, Default: 1024
|
2011-09-09 23:25:14 +00:00
|
|
|
.TP
|
|
|
|
.B \fBreaddir_max_bytes\fP
|
2010-06-28 16:55:12 +00:00
|
|
|
int, Default: 524288 (512*1024)
|
2011-09-09 23:25:14 +00:00
|
|
|
.TP
|
|
|
|
.B \fBwrite_congestion_kb\fP
|
|
|
|
int (kb), max writeback in flight. scale with available
|
|
|
|
memory. Default: calculated from available memory
|
|
|
|
.TP
|
|
|
|
.B \fBsnapdirname\fP
|
2010-06-28 16:55:12 +00:00
|
|
|
string, set the name of the hidden snapdir. Default: .snap
|
2011-09-09 23:25:14 +00:00
|
|
|
.TP
|
|
|
|
.B \fBname\fP
|
2012-02-17 22:11:18 +00:00
|
|
|
RADOS user to authenticate as when using cephx. Default: guest
|
2011-09-09 23:25:14 +00:00
|
|
|
.TP
|
|
|
|
.B \fBsecret\fP
|
2012-02-17 22:11:18 +00:00
|
|
|
secret key for use with cephx. This option is insecure because it exposes
|
|
|
|
the secret on the command line. To avoid this, use the secretfile option.
|
|
|
|
.TP
|
|
|
|
.B \fBsecretfile\fP
|
|
|
|
path to file containing the secret key to use with cephx
|
2011-09-09 23:25:14 +00:00
|
|
|
.TP
|
|
|
|
.B \fBip\fP
|
2010-06-28 16:55:12 +00:00
|
|
|
my ip
|
2011-09-09 23:25:14 +00:00
|
|
|
.TP
|
|
|
|
.B \fBnoshare\fP
|
|
|
|
create a new client instance, instead of sharing an existing
|
|
|
|
instance of a client mounting the same cluster
|
|
|
|
.TP
|
|
|
|
.B \fBdirstat\fP
|
|
|
|
funky \fIcat dirname\fP for stats, Default: off
|
|
|
|
.TP
|
|
|
|
.B \fBnodirstat\fP
|
|
|
|
no funky \fIcat dirname\fP for stats
|
|
|
|
.TP
|
|
|
|
.B \fBrbytes\fP
|
|
|
|
Report the recursive size of the directory contents for st_size on
|
|
|
|
directories. Default: on
|
|
|
|
.TP
|
|
|
|
.B \fBnorbytes\fP
|
|
|
|
Do not report the recursive size of the directory contents for
|
|
|
|
st_size on directories.
|
|
|
|
.TP
|
|
|
|
.B \fBnocrc\fP
|
2010-06-28 16:55:12 +00:00
|
|
|
no data crc on writes
|
2011-09-09 23:25:14 +00:00
|
|
|
.TP
|
|
|
|
.B \fBnoasyncreaddir\fP
|
2010-06-28 16:55:12 +00:00
|
|
|
no dcache readdir
|
2011-09-09 23:25:14 +00:00
|
|
|
.UNINDENT
|
2009-03-11 04:35:44 +00:00
|
|
|
.SH EXAMPLES
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
2009-03-11 04:35:44 +00:00
|
|
|
Mount the full file system:
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
|
|
|
.nf
|
|
|
|
.ft C
|
2009-03-11 04:35:44 +00:00
|
|
|
mount.ceph monhost:/ /mnt/foo
|
2011-09-09 23:25:14 +00:00
|
|
|
.ft P
|
|
|
|
.fi
|
|
|
|
.sp
|
2009-03-11 04:35:44 +00:00
|
|
|
If there are multiple monitors:
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
|
|
|
.nf
|
|
|
|
.ft C
|
2009-03-11 04:35:44 +00:00
|
|
|
mount.ceph monhost1,monhost2,monhost3:/ /mnt/foo
|
2011-09-09 23:25:14 +00:00
|
|
|
.ft P
|
|
|
|
.fi
|
|
|
|
.sp
|
2011-09-23 22:54:46 +00:00
|
|
|
If \fBceph\-mon\fP(8) is running on a non\-standard
|
|
|
|
port:
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
|
|
|
.nf
|
|
|
|
.ft C
|
2009-03-11 04:35:44 +00:00
|
|
|
mount.ceph monhost1:7000,monhost2:7000,monhost3:7000:/ /mnt/foo
|
2011-09-09 23:25:14 +00:00
|
|
|
.ft P
|
|
|
|
.fi
|
|
|
|
.sp
|
2009-03-11 04:35:44 +00:00
|
|
|
To mount only part of the namespace:
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
|
|
|
.nf
|
|
|
|
.ft C
|
2009-03-11 04:35:44 +00:00
|
|
|
mount.ceph monhost1:/some/small/thing /mnt/thing
|
2011-09-09 23:25:14 +00:00
|
|
|
.ft P
|
|
|
|
.fi
|
|
|
|
.sp
|
|
|
|
Assuming mount.ceph(8) is installed properly, it should be
|
|
|
|
automatically invoked by mount(8) like so:
|
|
|
|
.sp
|
|
|
|
.nf
|
|
|
|
.ft C
|
|
|
|
mount \-t ceph monhost:/ /mnt/foo
|
|
|
|
.ft P
|
|
|
|
.fi
|
2009-03-11 04:35:44 +00:00
|
|
|
.SH AVAILABILITY
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
|
|
|
\fBmount.ceph\fP is part of the Ceph distributed file system. Please
|
2012-09-27 21:23:42 +00:00
|
|
|
refer to the Ceph documentation at \fI\%http://ceph.com/docs\fP for more
|
2011-09-09 23:25:14 +00:00
|
|
|
information.
|
2009-03-11 04:35:44 +00:00
|
|
|
.SH SEE ALSO
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
2011-09-22 23:18:19 +00:00
|
|
|
\fBceph\-fuse\fP(8),
|
2011-09-09 23:25:14 +00:00
|
|
|
\fBceph\fP(8)
|
|
|
|
.SH COPYRIGHT
|
2013-04-29 23:01:38 +00:00
|
|
|
2010-2013, Inktank Storage, Inc. and contributors. Licensed under Creative Commons BY-SA
|
2011-09-09 23:25:14 +00:00
|
|
|
.\" Generated by docutils manpage writer.
|
|
|
|
.
|