Ubuntu 14.04 - Mount Ceph Filesystem

Kernel Based Mount Install necessary Packages sudo apt install ceph-common ceph-fs-common -y Mount sudo mount -t ceph \ ceph-mon1.programster.org:6789:/ /mnt/mycephfs \ -o name=admin,secret=AQCWrR9X8I9nCRAAl4fWyoWQD4eH1131lVtJ1w== The secret can be found as the value of key in the ceph.client.admin.keyring file in your ceph cluster nodes.…

Read this article

Ceph Tutorial Map

Below is a map of my Ceph tutorials with a "tech tree" to show you where you need to go based on whether you want object storage, block storage, or just a mountable filesystem (CephFS). The items in blue are required for every deployment. If there is no link then…

Read this article

Ceph - Add Disk To Cluster

Basic Example In this example, I am adding a drive to the node with the hostname ceph-osd1.programster.org. In this case the drive is /dev/sdb, but your drive is likely to have a different letter. It is up to you to figure out which letter the new drive…

Read this article

Ubuntu 14.04 - Add A Ceph Metadata Server

To run a Ceph Filsystem (CephFS), you must have a running storage cluster with at least one metadata server. The metadata server stores all the information about files, such as their permissions, who owns them, and when they were last modified. This tutorial series is currently for the Jewel release…

Read this article

CentOS 7 - Install Ceph Deploy

Execute the script below to install Ceph Deploy for the Hammer LTS release on your CentOS 7 box. sudo yum install yum-utils -y && \ sudo yum-config-manager --add-repo https://dl.fedoraproject.org/pub/epel/7/x86_64/ && \ sudo yum install --nogpgcheck epel-release -y && \ sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 && \ sudo rm…

Read this article

Ceph - Deploy and Mount a Block Device

This tutorial is going to demonstrate the provisioning and deployment of a block device on our ceph cluster. If you don't already have a Ceph cluster, please follow my previous tutorials on how to set one up. Steps Create a virtual machine to act as your client. If you already…

Read this article

Ceph Cheatsheet

Here is a cheatsheet of things you can do once you have a deployed a cluster. Cluster Health You can check the cluser's health with the following command: ceph health That should have returned: HEALTH_OK More detailed information can be fetched using the command ceph status which will return…

Read this article

Ubuntu 14.04 - Deploy a Ceph Cluster (Part 2)

This tutorial will carry on from part 1 and deploy a Ceph Storage Cluster using ceph-deploy. Steps On the deployment/admin node, create a directory from which we will operate. Many of the commands we run will generate configuration files in the current directory, hence the need to create a…

Read this article

Ubuntu 14.04 - Deploy a Ceph Cluster (Part 1)

Introduction This tutorial is going to show you how to deploy a Ceph cluster. A Ceph cluster can currently provide object or block storage over a network, and will offer a mountable filesystem in future. In layman's terms, this is equivalent to deploying your own Amazon simple storage solution (S3)…

Read this article