Re: Refuse OSD removal if still up or acting for PG

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

 



On Wed, Mar 23, 2016 at 2:46 PM, wido@xxxxxxxx <wido@xxxxxxxx> wrote:
> Hi,
>
> This week I got a call to recover a Ceph cluster where somebody ran 'ceph osd rm X' for OSDs which were still holding PGs.
>
> He removed multiple OSDs and together they were all the replicas forma certain PG.
>
> This raised the question: Should we refuse a rm for a OSD which is still up or acting for a PG?
>
> If not, what would the use-case be for removing a OSD from the OSDMap when it is still up or acting?

Broken data stores is the obvious one... :/

But yeah, sure, we can make it say "no" by default.
-Greg

>
> I would say that recovery/backfill has to be finished before we allow an OSD to be removed.
>
> Wido
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux