Re: Last scrub date and result

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

 



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
> <gandalf.corvotempesta@xxxxxxxxx> ha scritto:
> >
> > 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



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux