<h4>Ceph RADOS Block Device (RBD)</h4>
<p>Ceph is a massively scalable, open source, distributed storage system. It is comprised of an object store, block store, and a POSIX-compliant distributed file system. The platform can auto-scale to the exabyte level and beyond. It runs on commodity hardware, is self-healing and self-managing, and has no single point of failure. Ceph is in the Linux kernel and is integrated with the OpenStack cloud operating system. Due to its open-source nature, you can install and use this portable storage platform in public or private clouds.</p>
<pre>cat /etc/yum.repos.d/ceph.repo
[ceph-noarch]
name=Ceph noarch packages
baseurl=http://ceph.com/rpm-firefly/el7/noarch
enabled=1
gpgcheck=1
type=rpm-md
gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc
[ceph-source]
name=Ceph noarch packages
baseurl=http://ceph.com/rpm-firefly/el7/noarch
enabled=1
gpgcheck=1
type=rpm-md
gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc
[ceph]
name=Ceph noarch packages
baseurl=http://ceph.com/rpm-firefly/el7/noarch
enabled=1
gpgcheck=1
type=rpm-md
gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc
yum update
yum install -y ceph-fuse
modprobe ceph
modprobe rbd
lsmod | grep ceph
scp root@10.1.1.155:/etc/ceph/ceph.client.admin.keyring /etc/ceph/ceph.keyring
cat /etc/ceph/ceph.keyring
echo "10.1.1.156 name=admin,secret=AQCgOjtW+F5sMhAAFBvEl+t3b3pf95vs2yTKNg== rbd danrepo" > /sys/bus/rbd/add
ll /dev/rbd*
mkfs.xfs -L danrepo /dev/rbd0
mkdir /mnt/danrepo
mount /dev/rbd0 /mnt/danrepo
df -h
cd /mnt/danrepo/
</pre>