Re: pgs inconsistent, scrub errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Femi,

I just had a few of those as well - turned out it was a disk going bad
and it eventually died ~12h after those turned up.

While it was ongoing I fixed it with first finding the pg in question with:

ceph pg dump | grep inconsistent

You should get a pg id then; then I did a deep scrub of it

ceph pg deep-scrub <pg_id>

Watched the logs and found that it was inconsistent. I checked dmesg
and syslog and found a disk had reported a badblock via smart. I
continued to repair it with:

ceph pg repair <pg_id>

I verified with another deep-scrub afterwards.

More info here: http://eu.ceph.com/docs.raw/ref/wip-3072/control/#pg-subsystem

/Martin

On Fri, Feb 22, 2013 at 1:18 PM, femi anjorin <femi.anjorin@xxxxxxxxx> wrote:
> Hi ,
>
> Pls how can should i solve this error?
>
> #ceph health
> HEALTH_ERR 1 pgs inconsistent, 1 scrub errors
>
> I just want to take the cluster back to the clean state.
>
>
> Regards.
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux