Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jun 2010 12:57:16 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        fs@freebsd.org
Subject:   Re: CFT: periodic scrubbing of ZFS pools
Message-ID:  <20100613125716.000078df@unknown>
In-Reply-To: <20100613094652.GC1320@garage.freebsd.pl>
References:  <20100610162629.38992mazf0sfdqg0@webmail.leidinger.net> <20100613094652.GC1320@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 13 Jun 2010 11:46:52 +0200 Pawel Jakub Dawidek
<pjd@FreeBSD.org> wrote:

> I proposed something like this:
> 
> 	egrep '^[0-9\.\:\-]{19} zpool scrub '${pool}'$'
> 
> Currently there is no way to tell if 'zpool scrub -s' stopped a scrub
> or if there was no scrub running. In newer versions of ZFS, it has a
> property which tells when the last scrub finished. Once we update ZFS
> we could take advantage of it.
> 
> All in all, with better grep I'd like to see it committed.

I have a look at getting enough time to write the corresponding
man-page stuff on Tuesday, change the script as you suggested for this
(and another change for the case when there was no scrub run ever
before), and then commit it.

Thanks for the suggestion,
Alexander.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100613125716.000078df>