logrotate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Upon further investigation, it looks like this part of the ceph logrotate
script is causing me the problem:

if [ -e "/var/lib/ceph/$daemon/$f/done" ] && [ -e
"/var/lib/ceph/$daemon/$f/upstart" ] && [ ! -e
"/var/lib/ceph/$daemon/$f/sysvinit" ]; then

I don't have a "done" file in the mounted directory for any of my osd's.
 My mon's all have the done file and logrotate is working fine for those.

So my question is, what is the purpose of the "done" file and should I just
create one for each of my osd's ?



On 10 July 2014 11:10, James Eckersall <james.eckersall at gmail.com> wrote:

> Hi,
>
> I've just upgraded a ceph cluster from Ubuntu 12.04 with 0.73.1 to Ubuntu
> 14.04 with 0.80.1.
>
> I've noticed that the log rotation doesn't appear to work correctly.
> The OSD's are just not logging to the current ceph-osd-X.log file.
> If I restart the OSD's, they start logging, but then overnight, they stop
> logging when the logs are rotated.
>
> Has anyone else noticed a problem with this?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20140711/2d891391/attachment.htm>


[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux