chiark / gitweb /
Backup: No longer attempt to lvchange -a n the snapshot volume.
[chiark-utils.git] / backup / snap-common
index 52a2c41c99d9329ac3ccf16d0eadd473a4680e9a..1806a71b3512720d00db6639559dbf35c0e2a2b6 100644 (file)
@@ -62,7 +62,6 @@ lvmdropcore () {
 
        if [ $rc = 0 ]; then
                set +e
-               lvchange    $lvm_lvtools_opts -a n $old_lv_dev
                lvremove -f $lvm_lvtools_opts      $old_lv_dev
                set -e
                rm $vardir/snap-device