[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 w.l...@proxmox.com --- PVE/Storage/ZFSPoolPlugin.pm | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm

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 please catch