k8s:ceph:fs:create_a_ceph_fs
**This is an old revision of the document!**
Create a Ceph FS
- Create a pool
rancher-high-prio-cephfs-metadata(replicated) - Create a pool
rancher-high-prio-cephfs-data(replicated) or - Optionally create a pool
rancher-high-prio-cephfs-root(replicated) andrancher-high-prio-cephfs-data(erasure coded)
ceph fs new rancher-high-prio-cephfs rancher-high-prio-cephfs-metadata rancher-high-prio-cephfs-data ceph auth get-or-create-key client.rancher-high-prio-admin mds 'allow *' mgr 'allow *' mon 'allow *' osd 'allow * pool=rancher-high-prio-cephfs-metadata, allow * pool=rancher-high-prio-cephfs-data' # retruns somthing like AQA0[...]== sudo mkdir -p /mnt/rancher-high-prio-cephfs sudo mount -t ceph 10.6.16.57:6789,10.6.16.58:6789,10.6.16.59:6789:/ -o name=rancher-high-prio-admin,secret=AQA0[...]==,mds_namespace=rancher-high-prio-cephfs /mnt/rancher-high-prio-cephfs
k8s/ceph/fs/create_a_ceph_fs.1685658030.txt.gz · Last modified: by admin