January 2019
Intermediate to advanced
606 pages
15h 1m
English
Before we failover the RBD to the secondary cluster, let's map it, create a file system, and place a file on it, so we can confirm that the mirroring is working correctly. As of Linux kernel 4.11, the kernel RBD driver does not support the RBD journaling feature required for RBD mirroring; this means you cannot map the RBD using the kernel RBD client. As such, we will need to use the rbd-nbd utility, which uses the librbd driver in combination with Linux nbd devices to map RBDs via user space. Although there are many things which may cause Ceph to experience slow performance, here are some of the most likely causes.
sudo rbd-nbd map mirror_test
sudo mkfs.ext4 /dev/nbd0
sudo mount /dev/nbd0 /mntecho This is a test ...
Read now
Unlock full access