NFS share not supporting xattr

Hi everyone,

I am trying to setup a NFS share for a linux machine to mount in order to run opencloud. The software required access to extended attributes via NFS v4.2. However it seems like extended attributes are not supported.

Because of that I can’t get it to start. I have setup a basic test for this that fails:

Truenas:

NFS share with no special settings (GENERIC dataset).
Owner is user 3002:3002 (owncloud), no user mappings (but tried with maproot and mapall user, too).

Linux:
Created user owncloud too (3002:3002).

Mounted NFS to local system:

nfsstat -m

/tmp/test_opencloud from 192.168.20.10:/mnt/tank/data/opencloud/data
 Flags: rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.20.4,local_lock=none,addr=192.168.20.10

The version seems to be correct, however trying to set some attribute fails (with user 3002, as well as root) :

/tmp/test_opencloud$ touch testfile2

/tmp/test_opencloud$ setfattr -n user.testprop -v "hello" testfile2
setfattr: testfile2: Operation not supported

Setup:

Truenas:
25.10.2.1 - Goldeye
Intel i5-13400
WD Red Pro 18 TB x2

Linux:
VM on Proxmox:
ubuntu-24.04.3
Intel-N100

Try with different clients. IIRC there is a client-side bug in some kernel versions where it flags xattrs as not supported incorrectly.