Hi,

Removing the whole OSD will work but it's overkill (if the inconsistent is not 
caused by a faulty disk [đŸ˜‰]  )


Which ceph version are you running? If you have a recent version you can check 
http://docs.ceph.com/docs/master/rados/troubleshooting/troubleshooting-pg/#pgs-inconsistent


rados list-inconsistent-obj 17.36 --format=json-pretty


Depending of the reason of the consistent object you may want to replace the 
disk, rerun a deepscrub to recheck it's checksum or repair the pg.


Étienne


________________________________
From: ceph-users <[email protected]> on behalf of Marc Roos 
<[email protected]>
Sent: Monday, August 7, 2017 17:44
To: ceph-users
Subject: [ceph-users] 1 pg inconsistent, 1 pg unclean, 1 pg degraded


I tried to fix a 1 pg inconsistent by taking the osd 12 out, hoping for
the data to be copied to a different osd, and that one would be used as
'active?'.

- Would deleting the whole image in the rbd pool solve this? (or would
it fail because of this status)

- Should I have done this rather with osd 9?

- Can't I force ceph to just one of the osd's 4MB object and then eg.
Run fschk on the vm having this image?



_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to