zfs: enable posixacl and xattr for subvolumes

This commit is contained in:
Dietmar Maurer
2015-11-06 16:39:17 +01:00
parent 4c76432a70
commit efaf4017f4

View File

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