Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Delaying syslog for disk stopped messages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
elko
n00b
n00b


Joined: 02 Feb 2010
Posts: 52

PostPosted: Mon Jul 02, 2018 7:23 am    Post subject: Delaying syslog for disk stopped messages Reply with quote

Hello,

I had a problem with my hard drive described in https://forums.gentoo.org/viewtopic-p-8236134.html#8236134. The problem is that when the disk stops due to inactivity, a syslog message like "Jan 6 21:46:25 breakmygentoo kernel: sd 0:0:0:0: [sda] Stopping disk" occurs and gets written to the disk which in turn wake up the drive. This repeats again and again. So I see no point stopping the disk when the action is only for a moment.

So my idea is to postpone the writing of the Stopping disk message until there is another disk operation. Is this possible? Delaying all syslog messages is probably an option, too. I'm using sysklogd but if necessary I'm willing to switch to another syslog.

Anyone has an idea how to delay syslogging?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum