X-Git-Url: http://git.pippins.net/embedvideo/.git/?a=blobdiff_plain;ds=sidebyside;f=zfs-scrub;h=4e220276666308cea8b63eb3b8e0b3c092928d75;hb=d10b901de697a124d6b2223f0fab23800e87f5b8;hp=5388f542b112006994ecab19a9de36171322f8b0;hpb=4f58891850b6285301001bf64cb31659ee87af67;p=zfs-ubuntu%2F.git diff --git a/zfs-scrub b/zfs-scrub index 5388f54..4e22027 100755 --- a/zfs-scrub +++ b/zfs-scrub @@ -35,7 +35,7 @@ do zpool list -H "$i" >/dev/null 2>&1 if [ $? != 0 ]; then if [[ $import_export_backup_pool == 1 ]] && [[ "$backup_pool" =~ "$i" ]]; then - zpool import $i + zpool import -f $i if [ $? != 0 ]; then fatal_and_exit "-E- unable to import the pool $i" fi @@ -85,7 +85,7 @@ do zpool list -H "$i" >/dev/null 2>&1 if [ $? != 0 ]; then if [[ $import_export_backup_pool == 1 ]] && [[ "$backup_pool" =~ "$i" ]]; then - zpool import $i + zpool import -f $i if [ $? != 0 ]; then fatal_and_exit "-E- unable to import the pool $i" fi