]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: describe mds_namespace option in mount.ceph man page
authorRishabh Dave <ridave@redhat.com>
Mon, 21 Oct 2019 14:37:57 +0000 (20:07 +0530)
committerRishabh Dave <ridave@redhat.com>
Mon, 21 Oct 2019 14:37:57 +0000 (20:07 +0530)
And add an example for it.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
doc/man/8/mount.ceph.rst

index b9dd74c45314376d41bbb5d2bad364e157033946..a9ad57027dafd432f5445812589fc1cde1029992 100644 (file)
@@ -143,6 +143,11 @@ Options
 
   - ``clean``: client reconnects to the ceph cluster automatically when it detects that it has been blacklisted. During reconnect, client drops dirty data/metadata, invalidates page caches and writable file handles.  After reconnect, file locks become stale because the MDS loses track of them. If an inode contains any stale file locks, read/write on the inode is not allowed until applications release all stale file locks.
 
+
+:command: `mds_namespace=<fs-name>`
+    Specify the non-default file system to be mounted. Not passing this option
+    mounts the default file system.
+
 Mount Secrets
 =============
 If the `secret` and `secretfile` options are not specified on the command-line
@@ -178,6 +183,10 @@ automatically invoked by mount(8) like so::
 
         mount -t ceph monhost:/ /mnt/foo
 
+If you have more than one file system on your Ceph cluster, you can mount the
+non-default FS on your local FS as follows::
+
+    mount -t ceph :/ /mnt/mycephfs2 -o name=fs,mds_namespace=mycephfs2
 
 Availability
 ============