Book Image

Learning Ceph - Second Edition

By : Karan Singh, Vaibhav Bhembre, Anthony D'Atri
Book Image

Learning Ceph - Second Edition

By: Karan Singh, Vaibhav Bhembre, Anthony D'Atri

Overview of this book

Learning Ceph, Second Edition will give you all the skills you need to plan, deploy, and effectively manage your Ceph cluster. You will begin with the first module, where you will be introduced to Ceph use cases, its architecture, and core projects. In the next module, you will learn to set up a test cluster, using Ceph clusters and hardware selection. After you have learned to use Ceph clusters, the next module will teach you how to monitor cluster health, improve performance, and troubleshoot any issues that arise. In the last module, you will learn to integrate Ceph with other tools such as OpenStack, Glance, Manila, Swift, and Cinder. By the end of the book you will have learned to use Ceph effectively for your data storage requirements.
Table of Contents (18 chapters)
Title Page
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

The Ceph Filesystem (CephFS)


The Ceph Filesystem is also known as CephFS. It is a POSIX-compliant distributed filesystem built upon the RADOS layer. In order to provision CephFS filesystem storage, we need at least one MetaData Server (MDS) instance running alongside the rest of the Ceph cluster. In order to demonstrate mounting and using a CephFS filesystem we will again use the virtual sandbox cluster we created in Chapter 5, Deploying a Virtual Sandbox Cluster. We will demonstrate two different ways of using the filesystem:

  • Mounting using the kernel driver
  • Mounting using the FUSE user-space driver

Let's start by first spinning up a new virtual machine for our MDS. This process should now be familiar given how we spun up MON, OSD and Client virtual machines in Chapter 5Deploying a Virtual Sandbox Cluster. First let's check whether our sandbox cluster is running or not. If not, let's start it up:

$ vagrant status
Current machine states:
client0 poweroff (virtualbox)
mon0 poweroff (virtualbox...