Commit 694bb326 authored by Dietmar Maurer's avatar Dietmar Maurer

vzdump: wait one second before unmounting the snapshot

parent 3cc19cf1
......@@ -273,6 +273,10 @@ sub cleanup {
my $di = $task->{diskinfo};
if ($task->{cleanup}->{snapshot_mount}) {
# Note: sleep to avoid 'device is busy' message.
# Seems Kernel need some time to cleanup open file list,
# fir example when we stop the tar with kill (stop task)
sleep(1);
$self->cmd_noerr ("umount $di->{mountpoint}");
}
......
pve-manager (3.0-38) unstable; urgency=low
* add GUI for GlusterFS storage
* vzdump: wait one second before unmounting the snapshot (avoid device busy error)
-- Proxmox Support Team <support@proxmox.com> Tue, 13 Aug 2013 10:32:05 +0200
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment