From 723cdb1cd3683d2c50fdb57269122fb1341cc264 Mon Sep 17 00:00:00 2001 From: Jim Salter Date: Mon, 11 May 2015 11:52:14 -0400 Subject: [PATCH] 1.4.2 - verified fix of occasional "could not delete snapshot" bug --- sanoid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sanoid b/sanoid index 61a3a9b..dfaaf01 100755 --- a/sanoid +++ b/sanoid @@ -223,7 +223,7 @@ sub prune_snapshots { if (iszfsbusy($path)) { print "INFO: deferring pruning of $snap - $path is currently in zfs send or receive.\n"; } else { - if (! $args{'readonly'}) { system($zfs, "destroy","-R",$snap) == 0 or die "could not remove $snap : $?"; } + if (! $args{'readonly'}) { system($zfs, "destroy",$snap) == 0 or die "could not remove $snap : $?"; } } } removelock('sanoid_pruning');