Re: Remotely tell an OSD to stop ?

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

 



Hi,

you'll need to set `noup` to prevent OSDs from being started
automatically. The `noin` flags prevents that the cluster sets the OSD
`in` again, after it has been set `out`.

    `ceph osd set noup` before `ceph osd down <id>`

    `ceph osd set noin` before `ceph osd out <id>`

Those global flags (they prevent all OSDs from being automatically set
up/in again), can be disabled with unset.

    `ceph osd unset <noup|noin>`

Please note that I'm not familiar with recovery of a Ceph cluster, I'm
just trying to answer the question, but don't know if that's the best
approach in this case.

Patrick


On 21.09.2018 10:49, Nicolas Huillard wrote:
> Hi all,
>
> One of my server crashed its root filesystem, ie. the currently open
> shell just says "command not found" for any basic command (ls, df,
> mount, dmesg, etc.)
> ACPI soft power-off won't work because it needs scripts on /...
>
> Before I reset the hardware, I'd like to cleanly stop the OSDs on this
> server (with still work because they do not need /).
> I was able to move the MGR out of that server with "ceph mgr fail
> [hostname]".
> Is it possible to tell the OSD on that host to stop, from another host?
> I tried "ceph osd down [osdnumber]", but the OSD just got back "in"
> immediately.
>
> Ceph 12.2.7 on Debian
>
> TIA,
>

-- 
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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