March 2019
Intermediate to advanced
356 pages
10h 7m
English
To create the scenario where a CephFS filesystem has lost or corrupted its metadata pool, we will simply delete all objects in the metadata pool. This example will use the filesystem deployed in Chapter 5, RADOS Pools and Client Access, but the procedure should be identical to any other deployed CephFS filesystem.
First, let's switch to the root account and mount the CephFS filesystem:
sudo -imount -t ceph 192.168.0.41:/ /mnt/cephfs -o name=admin,secret=AQC4Q85btsqTCRAAgzaNDpnLeo4q/c/q/0fEpw==
Place a few test files on the CephFS filesystem that we will later attempt to recover:
echo "doh" > /mnt/cephfs/dohecho "ray" > /mnt/cephfs/rayecho "me" > /mnt/cephfs/me
Now that we have the test files in place, let's delete all ...
Read now
Unlock full access