vzdump: wait one second before unmounting the snapshot

This commit is contained in:
Dietmar Maurer
2013-08-13 12:51:00 +02:00
parent 3cc19cf11f
commit 694bb32698
2 changed files with 6 additions and 0 deletions

View File

@ -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}");
}

View File

@ -1,6 +1,8 @@
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