Skip to content
Snippets Groups Projects
Commit e5dfe149 authored by Antonio Falabella's avatar Antonio Falabella
Browse files

Update maintenance.md

parent 970e1ecb
No related merge requests found
......@@ -61,6 +61,11 @@ ceph osd scrub <id>
As a reference from the documentation:
>Data Scrubbing: As part of maintaining data consistency and cleanliness, Ceph OSD Daemons can scrub objects within placement groups. That is, Ceph OSD Daemons can compare object metadata in one placement group with its replicas in placement groups stored on other OSDs. Scrubbing (usually performed daily) catches bugs or filesystem errors. Ceph OSD Daemons also perform deeper scrubbing by comparing data in objects bit-for-bit. Deep scrubbing (usually performed weekly) finds bad sectors on a drive that weren’t apparent in a light scrub. See Data Scrubbing for details on configuring scrubbing.
### pg dump
` ceph pg ls`
more detailed
`ceph pg dump`
### PG_DEGRADED (Degraded data redundancy: 10564/21718684 objects degraded (0.049%), 1 pg degraded)
Find the problematic PG
```
......@@ -87,3 +92,9 @@ If you have warnings concerning slow ops that refer to timeout connection versus
ceph daemon mon.ds-507 ops 2>&1 | grep "timeout osd"
```
Then try to restart the osd, this should clear the slow ops warnings.
### Advanced tools
## cephfs-journal-tool
```
cephfs-journal-tool --rank=cephfs:all event get list
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment