@@ -82,24 +82,43 @@ Mount Syntax
8282
8383The basic mount syntax is::
8484
85- # mount -t ceph monip[ :port][, monip2[:port]...]:/[subdir] mnt
85+ # mount -t ceph user@fsid.fs_name=/[subdir] mnt -o mon_addr=monip1[ :port][/ monip2[:port]]
8686
8787You only need to specify a single monitor, as the client will get the
8888full list when it connects. (However, if the monitor you specify
8989happens to be down, the mount won't succeed.) The port can be left
9090off if the monitor is using the default. So if the monitor is at
91911.2.3.4::
9292
93- # mount -t ceph 1.2.3.4: / /mnt/ceph
93+ # mount -t ceph cephuser@07fe3187-00d9-42a3-814b-72a4d5e7d5be.cephfs= / /mnt/ceph -o mon_addr=1.2.3.4
9494
9595is sufficient. If /sbin/mount.ceph is installed, a hostname can be
96- used instead of an IP address.
96+ used instead of an IP address and the cluster FSID can be left out
97+ (as the mount helper will fill it in by reading the ceph configuration
98+ file)::
9799
100+ # mount -t ceph cephuser@cephfs=/ /mnt/ceph -o mon_addr=mon-addr
98101
102+ Multiple monitor addresses can be passed by separating each address with a slash (`/ `)::
103+
104+ # mount -t ceph cephuser@cephfs=/ /mnt/ceph -o mon_addr=192.168.1.100/192.168.1.101
105+
106+ When using the mount helper, monitor address can be read from ceph
107+ configuration file if available. Note that, the cluster FSID (passed as part
108+ of the device string) is validated by checking it with the FSID reported by
109+ the monitor.
99110
100111Mount Options
101112=============
102113
114+ mon_addr=ip_address[:port][/ip_address[:port]]
115+ Monitor address to the cluster. This is used to bootstrap the
116+ connection to the cluster. Once connection is established, the
117+ monitor addresses in the monitor map are followed.
118+
119+ fsid=cluster-id
120+ FSID of the cluster (from `ceph fsid ` command).
121+
103122 ip=A.B.C.D[:N]
104123 Specify the IP and/or port the client should bind to locally.
105124 There is normally not much reason to do this. If the IP is not
0 commit comments