How to do it...

Let's review how to configure FUSE client for access to the Ceph cluster and mounting Ceph FS:

  1. Validate that the Ceph FUSE package is installed on the machine client-node1 (Ansible installs this as part of the client packages):
        # rpm -qa |grep -i ceph-fuse
  1. Validate that the Ceph FS keyring file is created client-node1 in /etc/ceph/ceph.client.cephfs.keyring, with the following contents (note your key will be different from the example):
  1. Mount Ceph FS using the FUSE client:
        # ceph-fuse --keyring /etc/ceph/ceph.client.cephfs.keyring 
--name client.cephfs -m ceph-node1:6789 /mnt/cephfs
  1. To mount Ceph FS at OS boot, add the following lines to the /etc/fstab file on the client-node1:

# echo "id=cephfs,keyring=ceph.client.cephfs.keyring /mnt/cephfs
fuse.ceph defaults 0 0 _netdev" >> /etc/fstab
# umount /mnt/cephfs
# mount /mnt/cephfs
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset