Hi, I would like to set the xattr property to “sa” as recommended when supporting SMB. Unfortunately, it will not change from “on” to “sa”. For the pool and dataset, dnodesize=auto, they are mounted, readonly=off, feature@large_dnode is enabled. What might I be missing?
Thanks.
Late reply, but this issue had me confused as well, so in case anyone finds this thread:
Since zfs 2.3.0 the distinction between xattr=on and xattr=sa no longer exists. They are one and the same. Source: Issue #16996 on the openzfs github (won’t let me post the link)
Historically (pre-2.3), on == file. Now on == SA. You can still set file if desired. File-backed xattrs still exist regardless of what’s set. SA just preferentially places xattrs in SA, but if they’re too large they’ll go to files.