[pve-devel] [PATCH pve-container] remove 'noload' option from zfspool mounts

Wolfgang Bumiller w.bumiller at proxmox.com
Thu Oct 1 13:12:57 CEST 2015


This should have only been added to raw files in the first
place.

Fixes #742.
---
 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 2c4fcec..a939191 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -2127,7 +2127,7 @@ sub mountpoint_mount {
 		    if ($scfg->{type} eq 'zfspool') {
 			my $path_arg = $path;
 			$path_arg =~ s!^/+!!;
-			PVE::Tools::run_command(['mount', '-o', 'ro,noload', '-t', 'zfs', $path_arg, $mount_path]);
+			PVE::Tools::run_command(['mount', '-o', 'ro', '-t', 'zfs', $path_arg, $mount_path]);
 		    } else {
 			die "cannot mount subvol snapshots for storage type '$scfg->{type}'\n";
 		    }
-- 
2.1.4





More information about the pve-devel mailing list