Change mdcmd log level


JorgeB

Recommended Posts

I have a little script sending me a daily email of any dmesg warnings or errors for my servers over the last 24 hours, problem is all mdcmd commands are logged as warnings on the dmesg, any chance this could be changed? At least for the spin down command, since it's the main offender filling the emails with these:

 

kern  :warn  : [Sun Feb 17 13:34:32 2019] mdcmd (73): spindown 10
kern  :warn  : [Sun Feb 17 13:34:35 2019] mdcmd (74): spindown 9
kern  :warn  : [Sun Feb 17 13:34:38 2019] mdcmd (75): spindown 8
kern  :warn  : [Sun Feb 17 13:34:41 2019] mdcmd (76): spindown 7
kern  :warn  : [Sun Feb 17 13:34:43 2019] mdcmd (77): spindown 6
kern  :warn  : [Sun Feb 17 13:34:44 2019] mdcmd (78): spindown 5
kern  :warn  : [Sun Feb 17 13:34:46 2019] mdcmd (79): spindown 4
kern  :warn  : [Sun Feb 17 13:34:48 2019] mdcmd (80): spindown 3
kern  :warn  : [Sun Feb 17 13:34:49 2019] mdcmd (81): spindown 2
kern  :warn  : [Sun Feb 17 15:01:35 2019] mdcmd (82): spindown 9
kern  :warn  : [Sun Feb 17 15:02:53 2019] mdcmd (83): spindown 7
kern  :warn  : [Sun Feb 17 15:04:16 2019] mdcmd (84): spindown 10
kern  :warn  : [Sun Feb 17 15:09:18 2019] mdcmd (85): spindown 6
kern  :warn  : [Sun Feb 17 15:10:00 2019] mdcmd (86): spindown 8

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.