Project

General

Profile

Bug #6043

Updated by Loïc Dachary almost 10 years ago

h3. Workaround 

 Using *restart* instead of *reload* restarts the daemons instead of sending them a signal that gracefully reopens the log.  
 <pre> 
 perl -pi -e 's/reload/restart/' /etc/logrotate.d/ceph 
 </pre> 

 h3. Original description 

 ubuntu 13.04, ceph from ceph.com repository. (0.67.1-1raring) 

 according to documentation [[http://ceph.com/docs/master/rados/operations/add-or-rm-osds/]], this should work. 

 <pre> 
 root@zc2store:~# ps faux | grep ceph-osd 
 root       21656    0.0    0.0     9436     960 pts/2      S+     12:52     0:00            \_ grep --color=auto ceph-osd 
 root       21475    0.0    0.0     4440     628 ?          Ss     12:47     0:00 /bin/sh -e -c /usr/bin/ceph-osd --cluster="${cluster:-ceph}" -i "$id" -f /bin/sh 
 root       21476    0.3    0.0 438156 24556 ?          Sl     12:47     0:00    \_ /usr/bin/ceph-osd --cluster=ceph -i 0 -f 
 root@zc2store:~# /etc/init.d/ceph stop osd.0 
 /etc/init.d/ceph: osd.0 not found (/etc/ceph/ceph.conf defines , /var/lib/ceph defines ) 
 root@zc2store:~# mount | grep ceph 
 /dev/sdb1 on /var/lib/ceph/osd/ceph-0 type xfs (rw,noatime) 
 root@zc2store:~#  
 </pre>

Back