From efb71b0f8cf788e1e9092b585131c5c5c5c9f597 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 7 Feb 2012 10:41:13 +0100 Subject: [PATCH] do not write /etc/mtab when mounting snapshots --- PVE/VZDump/QemuServer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/VZDump/QemuServer.pm b/PVE/VZDump/QemuServer.pm index 2a0f0320..745ed635 100644 --- a/PVE/VZDump/QemuServer.pm +++ b/PVE/VZDump/QemuServer.pm @@ -306,7 +306,7 @@ sub snapshot { $di->{snapshot_mount} = 1; - $self->cmd ("mount -t $di->{fstype} $mopts $di->{snapdev} $di->{mountpoint}"); + $self->cmd ("mount -n -t $di->{fstype} $mopts $di->{snapdev} $di->{mountpoint}"); $mounts->{$di->{mountpoint}} = 1;