MDS(s) in the Ceph cluster are read only state.
Issue
- MDS(s) in the Ceph cluster are read only state.
$ ceph health detail
HEALTH_WARN 1 MDSs are read only; 1 MDSs behind on trimming
[WRN] MDS_READ_ONLY: 1 MDSs are read only
mds.ocs-storagecluster-cephfilesystem-a(mds.0): MDS in read-only mode
- MDS(s) are read only, after commit error on cache.dir(0x1)
2023-01-10T14:13:44.740+0000 7ff49bbd6700 -1 log_channel(cluster) log [ERR] : failed to commit dir 0x1 object, errno -22
2023-01-10T14:13:44.740+0000 7ff49bbd6700 -1 mds.0.12345 unhandled write error (22) Invalid argument, force readonly...
2023-01-10T14:13:44.740+0000 7ff49bbd6700 1 mds.0.cache force file system read-only
2023-01-10T14:13:44.740+0000 7ff49bbd6700 0 log_channel(cluster) log [WRN] : force file system read-only
2023-01-10T14:13:44.740+0000 7ff49bbd6700 10 mds.0.server force_clients_readonly
Environment
- Red Hat OpenShift Data Foundation 4.10
- Red Hat Ceph Storage (RHCS) 5.x
- Red Hat Ceph Storage (RHCS) 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.