Hi 胡 玮文,

On 10.01.22 19:27, 胡 玮文 wrote:

So this cluster is deployed with cephadm. Please use

systemctl status ceph-b61400fe-6e25-11ec-b322-896f8c260566@mon.mon01.service

OK, this gives another picture:

root@mon01:~# systemctl status 
ceph-b61400fe-6e25-11ec-b322-896f8c260566@mon.mon01.service
● ceph-b61400fe-6e25-11ec-b322-896f8c260566@mon.mon01.service - Ceph mon.mon01 for 
b61400fe-6e25-11ec->
     Loaded: loaded 
(/etc/systemd/system/ceph-b61400fe-6e25-11ec-b322-896f8c260566@.service; 
disabled;>
     Active: inactive (dead)


With cephadm, you can find the logs with

sudo journalctl -u ceph-b61400fe-6e25-11ec-b322-896f8c260566@mon.mon01.service

Thanks for that hint, I should have known this... however, here are lines that 
look interesting for me:


Jan 05 15:05:39 mon01 docker[20395]: Error response from daemon: No such 
container: ceph-b61400fe-6e25-11ec-b322-896f8c260566-mon.mon01
Jan 05 15:05:39 mon01 systemd[1]: 
ceph-b61400fe-6e25-11ec-b322-896f8c260566@mon.mon01.service: Succeeded.
-- Reboot --
Jan 11 16:11:59 mon01 systemd[1]: Started Ceph mon.mon01 for 
b61400fe-6e25-11ec-b322-896f8c260566.
Jan 11 16:11:59 mon01 systemd[1]: 
ceph-b61400fe-6e25-11ec-b322-896f8c260566@mon.mon01.service: Main process 
exited, code=exited, status=127/n/a
Jan 11 16:11:59 mon01 bash[9818]: /bin/bash: 
/var/lib/ceph/b61400fe-6e25-11ec-b322-896f8c260566/mon.mon01/unit.run: No such 
file or directory
Jan 11 16:11:59 mon01 bash[9819]: /bin/bash: 
/var/lib/ceph/b61400fe-6e25-11ec-b322-896f8c260566/mon.mon01/unit.poststop: No 
such file or directory
Jan 11 16:11:59 mon01 systemd[1]: 
ceph-b61400fe-6e25-11ec-b322-896f8c260566@mon.mon01.service: Failed with result 
'exit-code'.

Indeed, the unit.run and unit.poststop files do not exist.


The log may refer to the path in the container, not that on the host. With 
cephadm, almost everything is run in containers.

Please allow a general question: I noticed that everything was containerized,
which consumed a lot of space. Is it a good idea to have everything live in
containers? This is somewhat new to me, and it looks as it is more difficult
to handle.
For a productive Ceph installation, is this the right way to go, or is it
easier to handle without containers? If yes, how to do that?


Thanks a lot for your help, and sorry if some of my questions do not make
too much sense - still trying to get familiar with all that.


--
Andre Tann
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to