Re: Orphaned entries in Crush map

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

 



Hi David.

So far everything else is fine.

> 46 osds: 46 up, 46 in; 1344 remapped pgs

And the rm gives:

> root@kong[/0]:~ # ceph osd rm 19
> osd.19 does not exist. 
> root@kong[/0]:~ # ceph osd rm 20
> osd.20 does not exist.

The "devices" do NOT show up in "ceph osd tree" or "ceph osd df"... just
in the map.

If I do NOT delete them out of the crush map, compile and set it active,
I get
> 2 osds exist in the crush map but not in the osdmap
In that case they also do NOT show up in "ceph osd tree" or "ceph osd df".

:-(





On 16.02.2018 21:56, David Turner wrote:
> What is the output of `ceph osd stat`?  My guess is that they are still
> considered to be part of the cluster and going through the process of
> removing OSDs from your cluster is what you need to do.  In particular
> `ceph osd rm 19`.
> 
> On Fri, Feb 16, 2018 at 2:31 PM Karsten Becker
> <karsten.becker@xxxxxxxxxxx <mailto:karsten.becker@xxxxxxxxxxx>> wrote:
> 
>     Hi.
> 
>     during the reorgainzation of my cluster I removed some OSDs. Obviously
>     something went wrong for 2 of them, osd.19 and osd.20.
> 
>     If I get my current Crush map, decompile and edit them, I see 2
>     orphaned/stale entries for the former OSDs:
> 
>     > device 16 osd.16 class hdd
>     > device 17 osd.17 class hdd
>     > device 18 osd.18 class hdd
>     > device 19 device19
>     > device 20 device20
>     > device 21 osd.21 class hdd
>     > device 22 osd.22 class hdd
>     > device 23 osd.23 class hdd
> 
>     If I delete them from the Crush map (file), recompile it and set it
>     productive - they appear again... if I get the current map again and
>     decompile them, they are in again.
> 
>     So how to get rid of these entries?
> 
>     Best from Berlin/Germany
>     Karsten
> 
>     Ecologic Institut gemeinnuetzige GmbH
>     Pfalzburger Str. 43/44, D-10717 Berlin
>     Geschaeftsfuehrerin / Director: Dr. Camilla Bausch
>     Sitz der Gesellschaft / Registered Office: Berlin (Germany)
>     Registergericht / Court of Registration: Amtsgericht Berlin
>     (Charlottenburg), HRB 57947
>     _______________________________________________
>     ceph-users mailing list
>     ceph-users@xxxxxxxxxxxxxx <mailto:ceph-users@xxxxxxxxxxxxxx>
>     http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 

-- 

Karsten Becker
Head of Information Technology
Ecologic Institute

Tel: +49 30 86880-137
Website: http://ecologic.eu

Ecologic Institut gemeinnuetzige GmbH
Pfalzburger Str. 43/44, D-10717 Berlin
Geschaeftsfuehrerin / Director: Dr. Camilla Bausch
Sitz der Gesellschaft / Registered Office: Berlin (Germany)
Registergericht / Court of Registration: Amtsgericht Berlin (Charlottenburg), HRB 57947
_______________________________________________
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