Native support for Ceph has been added in the Linux kernel 2.6.34 and the later versions. In this recipe, we will demonstrate how to access Ceph FS through the Linux kernel driver on client-node1.
Accessing Ceph FS through kernel driver
How to do it...
In order for our client to have access to Ceph FS, we need to configure the client for accessing the cluster and mounting Ceph FS. Let's review how this is done:
- Check your client's Linux kernel version:
root@client-node1 # uname -r
- Create a mount point directory in which you want to mount the filesystem:
# mkdir /mnt/cephfs
- Get the keys for the client.cephfs user, which we created in the last section. Execute the following command from the Ceph...