Thread (2 messages) 2 messages, 2 authors, 2020-01-10

Re: Last scrub date and result

From: Piergiorgio Sartor <hidden>
Date: 2020-01-10 17:31:14

Hi,

On Fri, Jan 10, 2020 at 12:17:21PM +0100, Gandalf Corvotempesta wrote:
Any thought ? Is this a stupid suggestion ?

Il giorno lun 6 gen 2020 alle ore 12:49 Gandalf Corvotempesta
[off-list ref] ha scritto:
quoted
Would be possible to add, in mdadm --detail output, the date of last
scrub and it's result ?
Looking through logs is not always possible (and much more harder to
script something), having something like:

Update Time : Mon Jan  6 12:47:29 2020
          State : clean
Last scrub Time: Mon Jan  4 12:47:29 2020
Last scrub result: success

would be great!
as far as I know, the scrub is triggered by
a cron job, so, very likely, the logging of
time and result could / should be done there.

I do not think mdadm is the right place to
keep this information, but I might be wrong.

bye,

-- 

piergiorgio
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help