Re: How repair 2 invalids pgs

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

 



Le 14/08/2015 15:48, Pierre BLONDEAU a écrit :
> Hy,
> 
> Yesterday, I removed 5 ods on 15 from my cluster ( machine migration ).
> 
> When I stopped the processes, I haven't verified that all the pages were
> in active stat. I removed the 5 ods from the cluster ( ceph osd out
> osd.9 ; ceph osd crush rm osd.9 ; ceph auth del osd.9 ; ceph osd rm
> osd.9 ) , and i check after... and I had two inactive pgs
> 
> I have not formatted the filesystem of the osds.
> 
> The health :
> pg 7.b is stuck inactive for 86083.236722, current state inactive, last
> acting [1,2]
> pg 7.136 is stuck inactive for 86098.214967, current state inactive,
> last acting [4,7]
> 
> The recovery state :
> "recovery_state": [
>         { "name": "Started\/Primary\/Peering\/WaitActingChange",
>           "enter_time": "2015-08-13 15:19:49.559965",
>           "comment": "waiting for pg acting set to change"},
>         { "name": "Started",
>           "enter_time": "2015-08-13 15:19:46.492625"}],
> 
> How can i solved my problem ?
> 
> Can i re-add the osds since the filesystem ?
> 
> My cluster is used for rbd's image and a little cephfs share. I can read
> all files in cephfs and I tried to check if there pgs were used by an
> image. I don't find anything, but I not sure of my script.
> 
> My cluster is used for rbd image and a little cephfs share. I can read
> all block in cephfs and i check all image to verify if they use these
> pgs. I don't find anything.
> 
> How do you know if a pg is "used" ?
> 
> Regards

Hello,

The names of pgs start with "7.". so they are used by the pool id 7 ?

For me, it's cephfs_meta ( cephfs metadata ). I get no response when i
done "rados -p cephfs_meta ls" .

Like it's a small share, it's not serious. I can restore it easily. So I
add the news OSDs of the new machine.

And it solved the problem, but i don't understand why. So if someone
have an idea ?

Regards

PS : I use 0.80.10 on wheezy

-- 
----------------------------------------------
Pierre BLONDEAU
Administrateur Systèmes & réseaux
Université de Caen
Laboratoire GREYC, Département d'informatique

tel	: 02 31 56 75 42
bureau	: Campus 2, Science 3, 406
----------------------------------------------

Attachment: smime.p7s
Description: Signature cryptographique S/MIME

_______________________________________________
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