This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p /var/lib/ceph/mds/ceph-$(hostname -s)/ | |
ceph-authtool --create-keyring /var/lib/ceph/mds/ceph-$(hostname -s)/keyring --gen-key -n mds.$(hostname -s) | |
ceph auth add mds.$(hostname -s) osd "allow rwx" mds "allow" mon "allow profile mds" -i /var/lib/ceph/mds/ceph-$(hostname -s)/keyring | |
sudo chown -R ceph:ceph /var/lib/ceph | |
systemctl enable ceph-mds@$(hostname -s) | |
systemctl start ceph-mds@$(hostname -s) |