All new nodes have HDD+external WAL/DB on NVMe drives and some dedicated NVMe drives for MD (w/ colocated WAL/DB).
I'm struggling to parse this. A dedicated drive wouldn't also serve DB offload.
It went OK for a few days, then we received an alert for the metadata pool being full. Indeed it became full since "something" used all the space on the SSDs that hold the metadata and the "default" pools.
There you go.
For instance one of the (old) MD OSD: ID CLASS WEIGHT REWEIGHT SIZE RAW USE DATA OMAP META AVAIL %USE VAR PGS STATUS 16 ssd 0.21829 1.00000 224 GiB 211 GiB 209 GiB 1.4 GiB 1.6 GiB 12 GiB 94.58 1.87 3 up
An OSD this size has very little utility. RocksDB + WAL will be a large percentage of the raw capacity, and their calculated CRUSH weights may well not well-describe the actual payload data they can host. Probably what's going on here is a combination of tiny OSDs, but especially I'll bet that at least some of your pools use CRUSH rules that don't specify a device class. So data that *should* only be on HDDs is being placed on SSDs *too*. This can also disrupt the balancer and especially the PG autoscaler. The fix would be to ensure that *every* pool specifies a CRUSH rule that specifies one or the other device class, default~ssd or default~hdd in shadow terms. The CLI can do this, or maybe the reclassify command. Depending how you do it, some data will definitely move, potentially quite a lot. I added a bit to the PG autoscaler docs about this, and I have an RFE in to raise a health warning when this occurs, and moreover to enforce creating pools this way by default. I've seen issues with cephadm and Rook where the .mgr pools is created before tooling has a chance to enforce device class, but fortunately that pool is instantaneous to fix.