From 95e65034fbc7fa0412fcd7344311a9dfbd61ea2e Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 7 May 2020 14:41:59 +0200 Subject: [PATCH] Wait longer before removing LVM snapshots On busy servers it can fails. Note: would be cleaner to retry removing it in a loop but ... --- virt-backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virt-backup b/virt-backup index 11e92c7..9649fef 100644 --- a/virt-backup +++ b/virt-backup @@ -692,7 +692,7 @@ sub run_cleanup{ } if (open SNAPLIST, "<$backupdir.meta/snapshots"){ - sleep(2); + sleep(10); foreach (){ # Destroy snapshot listed here is they exists # and only if the end with _ and 10 digits