Add additional steps on Debian Buster to mount CephFS

This commit is contained in:
David Young committed 2020-06-15 14:07:10 +12:00
1 parent 531de5c16f
commit 08b20d43d1
2 files changed
+16 -6

No files matched your search

@@ -170,6 +170,19 @@ raphael,donatello,leonardo:/ /var/data ceph name=admin,noatime,_netdev 0 0" >> /
mount -a
```
??? note "Additional steps on Debian Buster"
The above configuration worked on Ubuntu 18.04 **without** requiring a secret to be defined in `/etc/fstab`. Other users have [reported different results](https://discourse.geek-kitchen.funkypenguin.co.nz/t/shared-storage-ceph-funky-penguins-geek-cookbook/47/108) on Debian Buster, however, so consider trying this variation if you encounter error 22:
```
apt-get install ceph-common
CEPHKEY=`sudo ceph-authtool -p /etc/ceph/ceph.client.admin.keyring`
echo -e "
# Mount cephfs volume \n
raphael,donatello,leonardo:/ /var/data ceph name=admin,secret=$CEPHKEY,noatime,_netdev 0 0" >> /etc/fstab
mount -a
```
## Serving
### Sprinkle with tools