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 ...