dslab2020@icitsrv5:~$ ceph -s cluster: id: fded5bb5-62c5-4a88-b62c-0986d7c7ac09 health: HEALTH_OK services: mon: 3 daemons, quorum iccluster039,iccluster041,iccluster042 (age 46h) mgr: iccluster039(active, since 45h), standbys: iccluster041, iccluster042 mds: cephfs:3 {0=iccluster043=up:active,1=iccluster041=up:active,2=iccluster042=up:active} osd: 24 osds: 24 up (since 46h), 24 in (since 46h) rgw: 1 daemon active (iccluster043.rgw0) data: pools: 9 pools, 568 pgs objects: 800 objects, 431 KiB usage: 24 GiB used, 87 TiB / 87 TiB avail pgs: 568 active+clean dslab2020@icitsrv5:~$ ceph fs status cephfs - 3 clients ====== +------+--------+--------------+---------------+-------+-------+ | Rank | State | MDS | Activity | dns | inos | +------+--------+--------------+---------------+-------+-------+ | 0 | active | iccluster043 | Reqs: 0 /s | 44 | 22 | | 1 | active | iccluster041 | Reqs: 0 /s | 12 | 16 | | 2 | active | iccluster042 | Reqs: 0 /s | 11 | 14 | +------+--------+--------------+---------------+-------+-------+ +-----------------+----------+-------+-------+ | Pool | type | used | avail | +-----------------+----------+-------+-------+ | cephfs_metadata | metadata | 5193k | 27.6T | | cephfs_data | data | 0 | 27.6T | +-----------------+----------+-------+-------+ +-------------+ | Standby MDS | +-------------+ +-------------+ MDS version: ceph version 14.2.6 (f0aa067ac7a02ee46ea48aa26c6e298b5ea272e9) nautilus (stable) dslab2020@icitsrv5:~$ ceph osd pool ls detail pool 1 'cephfs_data' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 256 pgp_num 256 autoscale_mode warn last_change 83 lfor 0/0/81 flags hashpspool stripe_width 0 expected_num_objects 1 application cephfs pool 2 'cephfs_metadata' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 8 pgp_num 8 autoscale_mode warn last_change 48 flags hashpspool stripe_width 0 expected_num_objects 1 pg_autoscale_bias 4 pg_num_min 16 recovery_priority 5 application cephfs pool 3 '.rgw.root' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 8 pgp_num 8 autoscale_mode warn last_change 51 flags hashpspool stripe_width 0 application rgw pool 4 'defaults.rgw.buckets.data' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 256 pgp_num 256 autoscale_mode warn last_change 78 lfor 0/0/76 flags hashpspool stripe_width 0 application rgw pool 5 'default.rgw.control' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 8 pgp_num 8 autoscale_mode warn last_change 53 flags hashpspool stripe_width 0 application rgw pool 6 'default.rgw.meta' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 8 pgp_num 8 autoscale_mode warn last_change 55 flags hashpspool stripe_width 0 application rgw pool 7 'default.rgw.log' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 8 pgp_num 8 autoscale_mode warn last_change 57 flags hashpspool stripe_width 0 application rgw pool 8 'default.rgw.buckets.index' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 8 pgp_num 8 autoscale_mode warn last_change 87 flags hashpspool stripe_width 0 application rgw pool 9 'default.rgw.buckets.data' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 8 pgp_num 8 autoscale_mode warn last_change 90 flags hashpspool stripe_width 0 application rgw dslab2020@icitsrv5:~$ ceph fs authorize cephfs client.test /test rw [client.test] key = XXX dslab2020@icitsrv5:~$ ceph auth get client.test exported keyring for client.test [client.test] key = XXX caps mds = "allow rw path=/test" caps mon = "allow r" caps osd = "allow rw tag cephfs data=cephfs" root@icitsrv5:~# ceph --cluster dslab2020 auth get-key client.test > /etc/ceph/dslab2020.client.test.secret root@icitsrv5:~# mkdir -p /mnt/dslab2020/test ; mount -t ceph -o rw,relatime,name=test,secretfile=/etc/ceph/dslab2020.client.test.secret iccluster039.iccluster.epfl.ch,iccluster041.iccluster.epfl.ch,iccluster042.iccluster.epfl.ch:/test /mnt/dslab2020/test root@icitsrv5:~# ls -al /mnt/dslab2020/test total 4 drwxr-xr-x 1 root root 1 Jan 23 07:21 . drwxr-xr-x 3 root root 4096 Jan 23 07:14 .. root@icitsrv5:~# echo "test" > /mnt/dslab2020/test/foo -bash: echo: write error: Operation not permitted root@icitsrv5:~# ls -al /mnt/dslab2020/test total 4 drwxr-xr-x 1 root root 1 Jan 23 07:21 . drwxr-xr-x 3 root root 4096 Jan 23 07:14 .. -rw-r--r-- 1 root root 0 Jan 23 07:21 foo