X-Git-Url: http://git.pippins.net/embedvideo/.git/static/gitweb.js?a=blobdiff_plain;f=zfs-autosnap;fp=zfs-autosnap;h=09e1a629b21ece6dbdd7a2f46c18aff4464b734a;hb=cc81a4f1a8387e6991eb447383cae05220a65d15;hp=da650f53362fc2a35dca67aef2be9974b0f7aac4;hpb=eba51e2384252de6a127d2774b8b393ac87313fe;p=zfs-ubuntu%2F.git diff --git a/zfs-autosnap b/zfs-autosnap index da650f5..09e1a62 100755 --- a/zfs-autosnap +++ b/zfs-autosnap @@ -79,7 +79,7 @@ fi # Check to see if this zfs filesystem has a scrub being performed on it now. # If it does, we cannot perform any snapshot create or destroy operations. if [ -z "$SNAP_UNDER_TEST" ]; then - zpool status $pool | grep scrub: | grep "in progress" > /dev/null 2>&1 + zpool status $pool | grep scan: | grep "in progress" > /dev/null 2>&1 if [ $? == 0 ]; then echo "-W- The zfs pool '$pool' is currently being scrubbed. Skipping all snapshot operations." exit 0