Showing posts with label PG. Show all posts
Showing posts with label PG. Show all posts

Monday, December 29, 2014

Ceph Repair One Liner


The following one liner will look for inconsistent page groups in a Ceph page group dump and repair them.    Nice quick way to fix-up inconsistencies!
ceph pg dump | grep -i incons | cut -f 1 | while read i; do ceph pg repair ${i} ; done