[PVE-User] PVE, Ceph, OSD in stop/out state: how to restart from commandline?

Marco Gaiarin gaio at sv.lnf.it
Mon Jun 5 10:04:47 CEST 2017

Again my Ceph cluster suffer a main power outgage. ;-(

The cluster went down well, but after that the power come back a bit
intermittently, so servers boot and shutdown some times...

When power come back, all server run, cluster works as expected bu i've
had 5 OSD (out of 12) down/out.

I was away, so i've connected via SSH, but i've found there's no way
to restart OSD, because systemd does not have the ''stanza'', eg in a
server where i've had 2 OSD down out of 4, i was able to do:

	systemctl start ceph-osd.<TAB>

and i've seen the two running one, not the other. I've tried other
systemd command (enable, restart, ...) but there's no stanza for the
faulty osd.

I was forced to do some ssh port forwarding, connect to the web
interface and restart the faulty OSD with the 'start' button on the
node ceph->osd page.

Why?! Thanks.

dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)

More information about the pve-user mailing list