canonical / canonical/microceph

Microceph low on storage when I barely use 1%

Open
#615 7 comments 0 reactions 0 assignees View on GitHub
question stale
Dominant language
Go
Stars
396
Forks
74
Avg merge
2d 20h
Merged PRs (30d)
7

Description

Hello,

I have a Docker Swarm with 3 nodes and all Docker's node have a Microceph node on `sdb`. All nodes have 32GB max of storage and replicate within all 3 of them. I've noticed recently that Microceph isn't replicating anymore when I do `ceph -s` this is what I get :

```shell
cluster:
id: 109d1ce5-8e49-4628-bc00-183d62b2d89d
health: HEALTH_WARN
mons swarm-node00,swarm-node01,swarm-node02 are low on available space

services:
mon: 3 daemons, quorum swarm-node00,swarm-node01,swarm-node02 (age 50m)
mgr: swarm-node00(active, since 101m), standbys: swarm-node01, swarm-node02
mds: 1/1 daemons up, 2 standby
osd: 3 osds: 3 up (since 101m), 3 in (since 4w)

data:
volumes: 1/1 healthy
pools: 3 pools, 81 pgs
objects: 27 objects, 699 KiB
usage: 110 MiB used, 96 GiB / 96 GiB avail
pgs: 81 active+clean
```

```shell
ceph df
--- RAW STORAGE ---
CLASS SIZE AVAIL USED RAW USED %RAW USED
ssd 96 GiB 96 GiB 109 MiB 109 MiB 0.11
TOTAL 96 GiB 96 GiB 109 MiB 109 MiB 0.11

--- POOLS ---
POOL ID PGS STORED OBJECTS USED %USED MAX AVAIL
.mgr 1 1 577 KiB 2 1.7 MiB 0 30 GiB
cephfs_data 2 64 3.3 KiB 2 24 KiB 0 30 GiB
cephfs_metadata 3 16 129 KiB 23 486 KiB 0 30 GiB
```

I don't understand why he says low on storage when I don't even use 1%.

Contributor guide

Open the contributing guide

Research direction

The issue names no repository files, tests, or entry points. Start by comparing the reported `ceph -s` and `ceph df` output with MicroCeph's monitor storage-health behavior; done means identifying why the warning appears and documenting or implementing a verified correction.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
devops, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.