From 4fc3411ed35ea72797a2e207ef86cb6752480978 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 27 Apr 2016 00:29:15 +0100 Subject: [PATCH] Backup: No longer attempt to lvchange -a n the snapshot volume. With modern LVM this would deactivate the source volume too. So instead it stops and prompts. It's not necessary anyway given that we are passing -f to lvremove. --- backup/snap-common | 1 - debian/changelog | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/backup/snap-common b/backup/snap-common index 52a2c41..1806a71 100644 --- a/backup/snap-common +++ b/backup/snap-common @@ -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 diff --git a/debian/changelog b/debian/changelog index 71dc387..64fc918 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ chiark-utils (4.5.0~iwj4) unstable; urgency=medium * Add debian/.debhelper to .gitignore. + * Backup: No longer attempt to lvchange -a n the snapshot volume. -- -- 2.30.2