Hi Greg, The log rotation works fine, it will rotate the logs every day at around 6:50am. However, there are no writes to the files (except for one osd log file) so it will rotate empty files for most of them.
-rw-r--r-- 1 root root 313884 Apr 29 12:07 ceph-osd.12.log -rw-r--r-- 1 root root 198319 Apr 29 06:36 ceph-osd.12.log.1.gz -rw-r--r-- 1 root root 181675 Apr 28 06:50 ceph-osd.12.log.2.gz -rw-r--r-- 1 root root 44012 Apr 27 06:53 ceph-osd.12.log.3.gz -rw-r--r-- 1 root root 0 Apr 29 06:36 ceph-osd.13.log -rw-r--r-- 1 root root 20 Apr 28 06:50 ceph-osd.13.log.1.gz -rw-r--r-- 1 root root 506 Apr 27 06:53 ceph-osd.13.log.2.gz -rw-r--r-- 1 root root 44605 Apr 27 06:53 ceph-osd.13.log.3.gz -rw-r--r-- 1 root root 0 Apr 29 06:36 ceph-osd.14.log -rw-r--r-- 1 root root 20 Apr 28 06:50 ceph-osd.14.log.1.gz -rw-r--r-- 1 root root 502 Apr 27 06:53 ceph-osd.14.log.2.gz -rw-r--r-- 1 root root 55570 Apr 27 06:53 ceph-osd.14.log.3.gz -rw-r--r-- 1 root root 0 Apr 29 06:36 ceph-osd.15.log -rw-r--r-- 1 root root 20 Apr 28 06:50 ceph-osd.15.log.1.gz -rw-r--r-- 1 root root 500 Apr 27 06:53 ceph-osd.15.log.2.gz -rw-r--r-- 1 root root 49090 Apr 27 06:53 ceph-osd.15.log.3.gz Any advice? Thank you. On Mon, Apr 28, 2014 at 11:26 PM, Gregory Farnum <[email protected]> wrote: > It is not. My guess from looking at the time stamps is that maybe you have > a log rotation system set up that isn't working properly? > -Greg > > > On Sunday, April 27, 2014, Indra Pramana <[email protected]> wrote: > >> Dear all, >> >> I have multiple OSDs per node (normally 4) and I realised that for all >> the nodes that I have, only one OSD will contain logs under /var/log/ceph, >> the rest of the logs are empty. >> >> root@ceph-osd-07:/var/log/ceph# ls -la *.log >> -rw-r--r-- 1 root root 0 Apr 28 06:50 ceph-client.admin.log >> -rw-r--r-- 1 root root 0 Apr 28 06:50 ceph-osd.0.log >> -rw-r--r-- 1 root root 386857 Apr 28 14:02 ceph-osd.12.log >> -rw-r--r-- 1 root root 0 Apr 28 06:50 ceph-osd.13.log >> -rw-r--r-- 1 root root 0 Apr 28 06:50 ceph-osd.14.log >> -rw-r--r-- 1 root root 0 Apr 28 06:50 ceph-osd.15.log >> -rw-r--r-- 1 root root 0 Apr 28 06:50 ceph-osd..log >> >> The ceph-osd.12.log only contains the logs for osd.12 only, while the >> other logs for osd.13, 14 and 15 are not available and empty. >> >> Is this normal? >> >> Looking forward to your reply, thank you. >> >> Cheers. >> > > > -- > Software Engineer #42 @ http://inktank.com | http://ceph.com >
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
