From efaf4017f46a97be50ce1dd9f94a1a7e6e8d7376 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 6 Nov 2015 16:39:17 +0100 Subject: [PATCH] zfs: enable posixacl and xattr for subvolumes --- PVE/Storage/ZFSPoolPlugin.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm index edc5cc8..bf8dca0 100644 --- a/PVE/Storage/ZFSPoolPlugin.pm +++ b/PVE/Storage/ZFSPoolPlugin.pm @@ -315,7 +315,8 @@ sub zfs_create_subvol { my $dataset = "$scfg->{pool}/$volname"; - my $cmd = ['create', '-o', "refquota=${size}k", $dataset]; + my $cmd = ['create', '-o', 'acltype=posixacl', '-o', 'xattr=sa', + '-o', "refquota=${size}k", $dataset]; $class->zfs_request($scfg, undef, @$cmd); }