On Wed, 23 May 2012, Madhusudhana U wrote: > Tommi Virtanen <tv <at> inktank.com> writes: > > The default logrotate script installed by ceph.deb rotates log files > > daily and preserves 7 days of logs. If your /var is tiny, or you have > > heavy debugging turned on, you probably need to rotate more often and > > retain fewer log files. Or, if you're not using the debs, you'll need > > to provide some other means of rotating the log files. > > In order to log rotate, we need to stop the deamon accessing the log file > and them rename it right? I have removed the log file using rm command to > check whether it will release the space, but even after the file removal, > my /var partition is still full. > > So, do I have to stop MDS deamon and then remove the log file ? i am not > finding any command through which i can stop MDS on node. Can you please > let me know how i can safely stop the MDS and then start it back ? 1. rename the file 2. send SIGHUP to the daemon and it will reopen (/create a new file) sage -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html