I set mon_data to “/home/ceph/software/ceph/var/lib/ceph/mon”, and its owner has always been “ceph” since we were running Hammer. And I also tried to set the permission to “777”, it also didn’t work. 发件人: Linh Vu [mailto:vul@xxxxxxxxxxxxxx]
Permissions of your mon data directory under /var/lib/ceph/mon/ might have changed as part of Hammer -> Jewel upgrade. Have you had a look there? From: ceph-users <ceph-users-bounces@xxxxxxxxxxxxxx>
on behalf of 许雪寒 <xuxuehan@xxxxxx> Hi, everyone. I upgraded one of our ceph clusters from Hammer to Jewel. After upgrading, I can’t start ceph-mon through “systemctl start ceph-mon@ceph1”, while, on the other hand, I can start ceph-mon, either as user ceph or root,
if I directly call “/usr/bin/ceph-mon ?cluster ceph ?id ceph1 ?setuser ceph ?setgroup ceph”. I looked “/var/log/messages”, and find that the reason systemctl can’t start ceph-mon is that ceph-mon can’t access its configured data directory. Why ceph-mon can’t
access its data directory when its called by systemctl? |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com