O'Reilly logo

Ceph Cookbook - Second Edition by Karan Singh, Michael Hackett, Vikhyat Umrao

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it...

Let's walk-through the steps to utilize client-node1 as an NFS-Ganesha server to export Ceph FS as NFS:

  1. On ceph-node1, install the packages required for nfs-ganesha:
        # sudo yum install -y nfs-utils nfs-ganesha
  1. Since this is a test setup, disable the firewall. For the production setup, you might consider enabling the required ports over a firewall, which is generally 2049:
        # systemctl stop firewalld; systemctl disable firewalld
  1. Enable the rpc services required by NFS:
        # systemctl start rpcbind; systemctl enable rpcbind        # systemctl start rpc-stat.d.service
  1. Create the NFS-Ganesha configuration file, /etc/ganesha.conf, with the following content:
  1. Finally, start the NFS Ganesha daemon by providing the ganesha.conf ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required