Wait longer before removing LVM snapshots

On busy servers it can fails. Note: would be cleaner to retry removing it in a loop but ...
This commit is contained in:
Daniel Berteaud 2020-05-07 14:41:59 +02:00
parent 16493b0532
commit 95e65034fb

View File

@ -692,7 +692,7 @@ sub run_cleanup{
}
if (open SNAPLIST, "<$backupdir.meta/snapshots"){
sleep(2);
sleep(10);
foreach (<SNAPLIST>){
# Destroy snapshot listed here is they exists
# and only if the end with _ and 10 digits