From 52a2d6f7fb228730e8a24580bef7edf54ae2064c Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 1 Sep 2015 13:01:41 +0200 Subject: [PATCH] use multiple mount protection (mmp) --- src/PVE/LXC.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm index 40942f9..eb69fac 100644 --- a/src/PVE/LXC.pm +++ b/src/PVE/LXC.pm @@ -1973,7 +1973,7 @@ sub mount_all { die "unable to mount base volume - internal error" if $isBase; if ($format_raw_images && $format eq 'raw') { - my $cmd = ['mkfs.ext4', $image_path]; + my $cmd = ['mkfs.ext4', '-O', 'mmp', $image_path]; PVE::Tools::run_command($cmd); } -- 2.39.5