
So what does xattr=sa do? It simply enables handling of extended attributes the way ZFS was designed to do. SuSE has supported it since 11.3, but I'm not aware of any others that do.

Richacls is at present the most promising candidate to bring true, decent ACL support into the Linux kernel. Andreas Gruenbacher - the author of the utilities - clearly did a great job implementing something that doesn't have great support in the kernel. It's using getfactl/getxattr/setfacl/setattr the native chown/chmod utilities on Linux don't even support extended attributes yet. The issue here appears to be that - under the hood - Linux doesn't have a competent extended attribute engine yet. These were accepted in a RFC, and support is implemented by most major operating systems.
LINUX KERNEL EXTENDED ATTRIBUTE UPDATE
There are some efforts to update POSIX ACLs to NFSv4/CIFS-compliant ACL handling, but I'm not sure where they are.

It's UNIX-specific, has low to no interoperability with Windows, and in general is an easy-to-understand pain in the ass. While there was a common "practice" for POSIX ACLs (mainly on Linux, even today), it was never an accepted RFC. It's important to note there are two kinds of ACLs: I think I understand, but by no means does this make me an expert on this particular topic.

I was wondering, will setting xattr=sa have changed the xattr storage method for all files within the dataset (including those created when I was using xattr=on)? Is there a way that I can check which xattr storage method ZFS is using for particular files?ĭid more reading. I have since changed this property to xattr=sa after reading that it is faster and as a result, my latest snapshot diffs list new files as being added without the xattrdir clutter. I've been doing some reading around the topic and it seems that this hidden directory storing extended attributes was created for files added when I was using the setting xattr=on. + /myPool/someDataset/someFile//system.posix_acl_access When I diff earlier snapshots, there are lots of entries of extended attributes. I've been trying to track changes to my datasets between snapshots by looking at the output of zfs diff. Hi all, I've recently started using ZFS on Linux and I have a question about xattr. Half the point of asking questions in a public sub is so that everyone can benefit from the answers-which is impossible if you go deleting everything behind yourself once you've gotten yours.

If I catch anybody else deleting their question and all their comments on it immediately after getting an answer, they're getting an instant banhammer. But please don't flame people for not using your own personal One True Platform. If there's useful information about a difference in implementation or performance between OpenZFS on FreeBSD and/or Linux and/or Illumos - or even Oracle ZFS! - great. If your post or comment gets hidden, send modmail and we'll take a look. NOTE: sometimes Reddit's auto-spam system flags links it shouldn't. This isn't an issue we usually have trouble with, so let's just keep not having trouble with it. BUT, only if it's materially useful to answer a question, or offer information, in some sense other than "this will get people to give me money." It's fine to link to youtube videos, blog posts, what have you. If you think somebody's wrong, you can say that without casting aspersions or being super sarcastic.
