X-Git-Url: http://git.pippins.net/embedvideo/.git/static/git-logo.png?a=blobdiff_plain;f=zfs-scrub;fp=zfs-scrub;h=b82b90028a8b06accaae1e0e7dc5c5c8cb74583a;hb=36a6b1d45377ec5022e3d05e3282d4fee25352a0;hp=aff4a38ee5429f728e9772202d02f1322b7afce6;hpb=0bc0c53b75f7b4aa0724c5da22caed66fe69de8f;p=zfs-nexenta%2F.git diff --git a/zfs-scrub b/zfs-scrub index aff4a38..b82b900 100755 --- a/zfs-scrub +++ b/zfs-scrub @@ -8,10 +8,11 @@ PATH=/usr/sbin:/sbin:$PATH +pools="tank storage" maxsleeptime=360 logfile=/var/log/zfs/zfs-scrub.log -for i in tank storage +for i in $pools do # Check to see if this zfs filesystem has a scrub being performed on it now. # If it does, we cannot perform more than one scrub operation at a time.