Re: [pve-devel] [PATCH] Bug Fix 602

2015-02-26 Thread Dietmar Maurer
> -$class->zfs_request($scfg, undef, 'destroy', '-r', > "$scfg->{pool}/$zvol"); > +open(STDERR, ">/tmp/zfslog.txt"); > +eval { $class->zfs_request($scfg, undef, 'destroy', '-r', > "$scfg->{pool}/$zvol")}; > +close STDERR; We have special hooks in run_command to catch stderr. So

[pve-devel] [PATCH] Bug Fix 602

2015-02-26 Thread Wolfgang Link
now zfs will wait 5 sec if error msg is "dataset is busy" Signed-off-by: Wolfgang Link --- PVE/Storage/ZFSPoolPlugin.pm | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm index 5cbd1b2..960