Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jun 2010 11:27:10 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        jhell <jhell@dataix.net>
Cc:        fs@freebsd.org
Subject:   Re: Do we want a periodic script for a zfs scrub?
Message-ID:  <20100610112710.20215zznvaqdai88@webmail.leidinger.net>
In-Reply-To: <4C0FAE2A.7050103@dataix.net>
References:  <20100609162627.11355zjzwnf7nj8k@webmail.leidinger.net> <4C0FAE2A.7050103@dataix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting jhell <jhell@dataix.net> (from Wed, 09 Jun 2010 11:07:22 -0400):

> Please add a check to see if any resilerving is being done on the pool
> that the scub is being executed on. (Just in case), I would hope that
> the scrub would fail silently in this case.

It does. No need to check for the resilvering.

> Please also check whether a scrub is already running on one of the pools
> and if so & another pool exists start a background loop to wait for the
> first scrub to finish or die silently.

I do not want a background job running forever in the periodic script.  
If a scrub is in progress, it should print the fact and do nothing (a  
second scrub after the running one finishes us superflous). I will  
have a look at this.

Bye,
Alexander.

-- 
You look tired.

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?20100610112710.20215zznvaqdai88>