Isn't noout enough to shutdown OSD ? Heard that some of those flags can cause 
some problems when you restart the cluster

https://www.croit.io/blog/how-not-to-shut-down-a-ceph-cluster

________________________________
De : Joshua Blanch <joshua.bla...@clyso.com>
Envoyé : mercredi 6 août 2025 15:47:21
À : gagan tiwari
Cc : Hand, Gerard; luk...@borek.org.pl; ceph-users
Objet : [ceph-users] Re: [External] Best/Safest way to power off cluster

for osds I would run it in this exact order to shut it down.

ceph osd set noout
ceph osd set norecover
ceph osd set norebalance
ceph osd set nobackfill
ceph osd set nodown
ceph osd set noscrub
ceph osd set nodeep-scrub
ceph osd set pause

then to boot back up, run it in reverse order.

On Wed, 6 Aug 2025 at 07:36, gagan tiwari <gagan.tiw...@mathisys-india.com>
wrote:

> Thanks Gerard /  Lukasz /  Eugen,
>                                                              I will follow
> these instructions white shutting nodes.
>
> Thanks,
> Gagan
>
>
> On Wed, Aug 6, 2025 at 7:19 PM Hand, Gerard <g.h...@lancaster.ac.uk>
> wrote:
>
> >
> > If you are using CephFS you will need to  disable that first:
> >
> >    ceph fs set <file system> max_mds 1
> >    ceph fs fail <file system>
> >    ceph fs set <file system> joinable false
> >
> >
> > Regards
> > Gerard
> > _______________________________________________
> > ceph-users mailing list -- ceph-users@ceph.io
> > To unsubscribe send an email to ceph-users-le...@ceph.io
> >
> _______________________________________________
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
>
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to