Date: Thu, 10 Jun 2010 11:23:45 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: ticso@cicely.de Cc: fs@FreeBSD.org Subject: Re: Do we want a periodic script for a zfs scrub? Message-ID: <20100610112345.644960lrau3mxfk0@webmail.leidinger.net> In-Reply-To: <20100609144355.GL72453@cicely7.cicely.de> References: <20100609162627.11355zjzwnf7nj8k@webmail.leidinger.net> <20100609144355.GL72453@cicely7.cicely.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Bernd Walter <ticso@cicely7.cicely.de> (from Wed, 9 Jun 2010
16:43:55 +0200):
> On Wed, Jun 09, 2010 at 04:26:27PM +0200, Alexander Leidinger wrote:
>> Hi,
>>
>> I noticed that we do not have an automatism to scrub a ZFS pool
>> periodically. Is there interest in something like this, or shall I
>> keep it local?
>
> For me scrub'ing takes several days without having a special big
> pool size and starting another scrub restarts everything.
> You should at least check if another one is still running.
Good point, I will have a look at this...
But I'm a little bit surprised, when I scrub a pool of 3 times 250 GB
disks in RAIDZ configuration, it is finished fast (a fraction of a
day... maybe an hour or two). Initially it displays a very long time
(>400 hours), but this is reducing after a while drastically. The pool
is filled up to 3/4 of the entire capacity.
> I think resilvering is also a collision case to check for.
No. Resilvering has higher priority than a scrub. From the man-page:
---snip---
If a
resilver is in progress, ZFS does not allow a scrub to be started
until the resilver completes.
---snip---
Bye,
Alexander.
--
Fairy Tale, n.:
A horror story to prepare children for the newspapers.
http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100610112345.644960lrau3mxfk0>
