inconsistent pg issue with ceph version 10.2.3

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

 



Hi,

My ceph cluster has a inconsistent pg. I tried to deep scrub pg and repair pg but not fix problems.
I found that the object that made pg inconsistent depends on snapshot (snap id is 2ccac = 183468) of a image, I deleted this snapshot, then query inconsistent pg and it showed empty, but my ceph cluster still show error inconsistent pg. It's strange that the mismatch object depends on the deleted snapshot still exist on disk.

After deleting the snapshot has the mismatch object, I re-tried to deep scrub and repair pg but it doesn't help to fix.

Information of commands as below. I don't know how to clear this status of inconsistent. Please help me to fix this bug.

ceph --cluster QTC01 health detail
HEALTH_ERR 1 pgs inconsistent; 1 scrub errors
pg 4.1b42 is active+clean+inconsistent, acting [159,179]
1 scrub errors

rados list-inconsistent-obj 4.1b42 --format=json-pretty --cluster QTC01
{
    "epoch": 494830,
    "inconsistents": []
}

ll /var/lib/ceph/osd/QTC01-159/current/4.1b42_head/DIR_2/DIR_4/DIR_B/ | grep aa5af9238e1f29
-rw-r--r-- 1 ceph ceph 4194304 Dec 12 15:29 rbd\udata.aa5af9238e1f29.000000000000470a__2ccac_7B3CDB42__4
-rw-r--r-- 1 ceph ceph 1048576 Dec 12 15:29 rbd\udata.aa5af9238e1f29.000000000000470a__head_7B3CDB42__4

ll /var/lib/ceph/osd/QTC01-179/current/4.1b42_head/DIR_2/DIR_4/DIR_B/ | grep aa5af9238e1f29
-rw-r--r-- 1 ceph ceph 4194304 Dec 12 15:17 rbd\udata.aa5af9238e1f29.000000000000470a__2ccac_7B3CDB42__4
-rw-r--r-- 1 ceph ceph 1048576 Dec 12 15:17 rbd\udata.aa5af9238e1f29.000000000000470a__head_7B3CDB42__4

Best regards,
Thanh Tran
_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux