I provoked a similar situation today in one of my test clusters (full OSDs) for a different purpose. I deleted some files and compacted all OSDs which released some space. All these OSDs are tiny (5 GB standalone OSDs, so colocated DB/WAL) so the observed behavior in this thread might be similar to what I saw today. But I guess since the OSDs are all up again it’s not that relevant anymore. Zitat von Sinan Polat <sinan86polat@gmail.com>:
On the ~230 GiB per SSD OSD: I may be wrong but it is the same on every SSD OSD regardless of PG count or size. That makes me suspect old OSDMaps in the OSD meta collection. Mons don't trim them while PGs are unclean, so a multi-day rebalance leaves every epoch on every OSD. It would also explain why it counts as DATA but is in no pool or PG export.
Run:
ceph tell osd.<id> status # (for example: osd.1473) .. check for oldest_map / newest_map ceph osd getmap -o /tmp/osdmap du -h /tmp/osdmap
If (newest - oldest) x map size is close to 230 GiB, that's likely it. Now that the cluster is clean it should trim again, but as far as I can tell OSDs only drop a few epochs per new map, so the space may come back slowly.
On the MDS: ranks 4/5 are probably waiting on rank 2, so removing their openfiles may not change anything.
Op ma 9 nov 2026 om 17:54 schreef Eugen Block <ceph-users@ceph.io>:
Not sure if the same applies here but in slack someone reported restarting all ranks let the failed start as well. But it was a crashing mds after client eviction, so I’d rather wait for someone like Venky comment. Because sometimes the mds gurus advise against “just restarting” all mds daemons because it could make things worse.
Zitat von Adrien Georget <ceph-users@ceph.io>:
We tried the tracker's suggestions (mds_oft_prefetch_dirfrags = false) and removed the mds_openfiles on the faulty MDS (rank 2) with :
rados rm -p cephfs_metadata mds2_openfiles.0
But it does not change anything. The MDS is still restarting in a endless loop after killing the memory. Should we delete the "mdsX_openfiles.0" file for all ranks? Or only for the one faulty one?
Best, Adrien
Le 09/11/2026 à 12:33, Jan Iven a écrit :
possibly the workaround from https://tracker.ceph.com/issues/54253 could help? (with the affected MDS being stopped, restart again afterwards) Cheers jan
On 2026-11-09 11:28, Adrien Georget wrote:
Hello,
We managed to get all PGs active+clean after exporting the PGs to different OSDs but now we are struggling with MDS stuck in rejoin state. We have 6 active MDS (with pin directories) and 1 standby.
RANK STATE MDS ACTIVITY DNS INOS DIRS CAPS 0 active cephfs_astro.cccephadm45.qapzvt Reqs: 4 /s 15.1M 8913k 705k 545 1 active cephfs_astro.cccephadm42.ieexgj Reqs: 0 /s 10.4M 10.4M 1292k 41 2 rejoin(laggy) cephfs_astro.cccephadm43.wetlrp 33.6M 33.6M 69.1k 0 3 active cephfs_astro.cccephadm44.jodfcx Reqs: 0 /s 10.7M 10.7M 777k 48 4 rejoin cephfs_astro.cccephadm41.nbgvxk 1540k 1496k 9791 0 5 rejoin cephfs_astro.cccephadm40.aafhps 6264k 6213k 6348 1
MDS rank 2 is restarting in loop after consuming all RAM on the system (128GB) and the MDSs rank 4 and 5 stay stuck in rejoin. We tried to set mds_wipe_sessions to true without any effects.
Could you advise how to recover the MDS from this state?
Best, Adrien
Le 08/11/2026 à 16:35, Loïc Tortay a écrit :
On 07/11/2026 10:10, Eugen Block wrote: > I wonder if it's a bluefs spillover as described here: > > https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/ > QO5OOTDMKT2F7ED5NBHT2GK7EU6D72Y4/ > > At least the symptoms seem comparable: > >> This ran the cephfs_metadata pool to 95% causing the cluster to > pause. > > Could you check the details as requested by Frédéric and share those? > Hello, Thanks again for your input.
I ran the commands suggested by Frédéric, here shown for an OSD with very few PGs: [ceph: root@ADMNODE2 ~]# osd=1473 [ceph: root@ADMNODE2 ~]# ceph osd df | awk -v o=$osd '/ID/||$1 == o' ID CLASS WEIGHT REWEIGHT SIZE RAW USE DATA OMAP META AVAIL %USE VAR PGS STATUS 1473 ssd 0.36388 1.00000 373 GiB 230 GiB 229 GiB 360 MiB 410 MiB 143 GiB 61.66 1.22 2 up
Both PGs are from the "cephfs_metadata" pool.
[ceph: root@ADMNODE2 ~]# ceph tell osd.$osd bluefs stats 1 : device size 0x5d26800000(373 GiB) : using 0x39717b9000(230 GiB) wal_total:0, db_total:380073987276, slow_total:0
[ceph: root@ADMNODE2 ~]# ceph tell osd.$osd perf dump bluefs | grep -E '"(db|slow)_used_bytes"|"max_bytes_(db|slow)"|"alloc_slow_fallback"' "db_used_bytes": 807796736, "slow_used_bytes": 0, "max_bytes_db": 1685520384, "max_bytes_slow": 0, "alloc_slow_fallback": 0,
The commands in his second message (the one with "bluefs files list"): == OSD: 1473 -> real file size: 0.0 GiB, allocated: 2.3 GiB
And the output of "ceph-bluestore-tool show-sharding" (on the same OSD): m(3) p(3,0-12) O(3,0-13)=block_cache={type=binned_lru} L P
To summarize: the "allocated" value is larger than the "real" value, but I'm not sure it's the same issue, there does not seem to be any spillover. The difference in "real/allocated" values is much larger on OSD with more PGs, but all have zero for the "allocated" value. This cluster was initially installed in Pacific, so there is no OSD from "before Pacific" (like in that thread).
Loïc.
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io