mirror of
https://github.com/ceph/ceph
synced 2025-02-21 01:47:25 +00:00
Merge pull request #14087 from jcsp/wip-doc-fscid
doc: how to specify filesystem for cephfs clients Reviewed-by: Yan, Zheng <zyan@redhat.com>
This commit is contained in:
commit
e1b4327d67
@ -52,7 +52,8 @@ an *active* state. For example, in a single MDS system:
|
||||
e5: 1/1/1 up {0=a=up:active}
|
||||
|
||||
Once the filesystem is created and the MDS is active, you are ready to mount
|
||||
the filesystem:
|
||||
the filesystem. If you have created more than one filesystem, you will
|
||||
choose which to use when mounting.
|
||||
|
||||
- `Mount CephFS`_
|
||||
- `Mount CephFS as FUSE`_
|
||||
|
@ -1,8 +1,7 @@
|
||||
=========================
|
||||
Mount Ceph FS as a FUSE
|
||||
Mount Ceph FS using FUSE
|
||||
=========================
|
||||
|
||||
For Ceph version 0.55 and later, ``cephx`` authentication is on by default.
|
||||
Before mounting a Ceph File System in User Space (FUSE), ensure that the client
|
||||
host has a copy of the Ceph configuration file and a keyring with CAPS for the
|
||||
Ceph metadata server.
|
||||
@ -30,6 +29,10 @@ For example::
|
||||
sudo mkdir /home/usernname/cephfs
|
||||
sudo ceph-fuse -m 192.168.0.1:6789 /home/username/cephfs
|
||||
|
||||
If you have more than one filesystem, specify which one to mount using
|
||||
the ``--client_mds_namespace`` command line argument, or add a
|
||||
``client_mds_namespace`` setting to your ``ceph.conf``.
|
||||
|
||||
See `ceph-fuse`_ for additional details.
|
||||
|
||||
To automate mounting ceph-fuse, you may add an entry to the system fstab_.
|
||||
|
@ -19,6 +19,9 @@ approach reads the secret from a file. For example::
|
||||
|
||||
sudo mount -t ceph 192.168.0.1:6789:/ /mnt/mycephfs -o name=admin,secretfile=/etc/ceph/admin.secret
|
||||
|
||||
If you have more than one filesystem, specify which one to mount using
|
||||
the ``mds_namespace`` option, e.g. ``-o mds_namespace=myfs``.
|
||||
|
||||
See `User Management`_ for details on cephx.
|
||||
|
||||
To unmount the Ceph file system, you may use the ``umount`` command. For example::
|
||||
|
Loading…
Reference in New Issue
Block a user