[OpenIndiana-discuss] auto-scrub and its result

Bob Friesenhahn bfriesen at simple.dallas.tx.us
Sat Dec 29 23:57:24 UTC 2012


On Sat, 29 Dec 2012, Jim Klimov wrote:
>
> Well, apparently Bob does use the copypasted line and it works for him ;)

Yes, and it should.  There is no need to add more complexity than is 
warranted.  Even if the scrub takes a very long time and scrub is 
requested again while scrub is still running, the Solaris 10 
documentation says that the request will return an error and the 
existing scrub will continue running.  The OpenIndiana documentation 
does not say what happens if scrub is requested while scrub is still 
running but it is easy to verify that OpenIndiana works the same:

% pfexec zpool scrub rpool
% pfexec zpool scrub rpool
cannot scrub rpool: currently scrubbing; use 'zpool scrub -s' to cancel current scrub

Bob
-- 
Bob Friesenhahn
bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/



More information about the OpenIndiana-discuss mailing list