O'Reilly logo

Learning Ceph - Second Edition by Karan Singh, Vaibhav Bhembre, Anthony D'Atri

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

CephFS with Kernel Driver

Now let's attempt to interact with the CephFS system using the Linux kernel driver. Linux kernels older than v2.6.34 did not support CephFS but most likely you are using a reasonably modern distribution of Linux. Our sandbox uses the Linux kernel version 4.4.0 that contains better CephFS support than earlier releases.

Before we mount the CephFS system on our client machine, we will need two pieces of information:

  • The IP address of a MON node
  • The key for client.admin user

The IP addresses of the MON nodes may be extracted from the ceph.conf file on our client virtual node. The IP address is explicitly present in the mon host entry which we can retrieve as follows:

root@ceph-client0:~# cat /etc/ceph/ceph.conf | grep ...

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