Re: Trying to remove osd

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

 



Hi Paul,

Did you try to stop the osd first before marking it down and out ?

stop ceph-osd id=21 or /etc/init.d/ceph stop osd.21
Ceph osd crush remove osd.21
Ceph auth del osd.21
Ceph osd rm osd.310

Regards,
Nikhil Mitra


From: ceph-users <ceph-users-bounces@xxxxxxxxxxxxxx> on behalf of Paul Schaleger <pschaleger@xxxxxxxxxxxxxxxx>
Date: Monday, July 27, 2015 at 9:35 AM
To: "ceph-users@xxxxxxxxxxxxxx" <ceph-users@xxxxxxxxxxxxxx>
Subject: Trying to remove osd

I added an OSD to a device that I did not really want to and now I am unable to remove it. Any suggestions as to what I am missing?

 

Thanks in advance

 

[rdo@n001 c140-ceph]$ ceph osd out 21

osd.21 is already out.

[rdo@n001 c140-ceph]$ ceph osd down 21

marked down osd.21.

[rdo@n001 c140-ceph]$ ceph osd rm 21

Error EBUSY: osd.21 is still up; must be down before removal.

[rdo@n001 c140-ceph]$ ceph status

    cluster cc79ca04-8fbf-4211-94fa-35b4469deb33

     health HEALTH_OK

     monmap e1: 3 mons at {n001=10.17.1.10:6789/0,n002=10.17.1.11:6789/0,n003=10.17.1.12:6789/0}

            election epoch 16, quorum 0,1,2 n001,n002,n003

     osdmap e206: 28 osds: 28 up, 27 in

      pgmap v466: 512 pgs, 1 pools, 0 bytes data, 0 objects

            1144 MB used, 23615 GB / 23616 GB avail

                 512 active+clean

 

[rdo@n001 c140-ceph]$ ceph --version

ceph version 0.94.2 (5fb85614ca8f354284c713a2f9c610860720bbf3)

 

 

Paul Schaleger |Digital River |System Architect

p: 952-225-3727|pschaleger@xxxxxxxxxxxxxxxx| digitalriver.com

10380 Bren Road West, Minnetonka, MN 55343

 

_______________________________________________
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