O'Reilly logo

Ceph Cookbook by Karan Singh

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

Exporting Ceph Filesystem as NFS

The Network Filesystem (NFS) is one of the most popular sharable filesystem protocols that can be used with every Unix-based system. Unix-based clients that do not understand the CephFS type can still access the Ceph Filesystem using NFS. To do this, we would require an NFS server in place that can re-export CephFS as an NFS share. NFS-Ganesha is an NFS server that runs in user space and supports the CephFS FSAL (File System Abstraction Layer) using libcephfs.

In this recipe, we will demonstrate creating ceph-node1 as an NFS-Ganesha server and exporting CephFS as an NFS and mounting it on client-node1.

How to do it…

  1. On ceph-node1, install packages required for nfs-ganesha:
    # yum install -y nfs-utils nfs-ganesha nfs-ganesha-fsal-ceph ...

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