0

I've a Debian server that rsync files in a nfs share (Truenas).
Nfs share is mounted with systemd:

192.168.88.162:/mnt/pool3/nfsdataset /mnt/systemd/nfs/nfsdataset nfs nofail,x-systemd.automount 0 0 

Rsync command is:rsync -a -A -P testfile /mnt/systemd/nfs/nfsdataset
When rsync transfer files with acl, return this error:

sending incremental file list testfile 0 100% 0,00kB/s 0:00:00 (xfr#1, to-chk=0/1) rsync: [receiver] set_acl: sys_acl_set_file(.testfile.FS8M3I, ACL_TYPE_ACCESS): Operation not supported (95) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1338) [sender=3.2.7] 

Nfs is enabled in Truenas dataset.
It's possibile to tranfer files with acl in a nfs share?

1
  • You haven't mounted with the acl option. (Not sure if it's necessary for NFS4 but the documentation doesn't include it in the set of default options.) I'm also not certain that this is the issue driver, so not an answer (yet) Commented Feb 23 at 17:22

1 Answer 1

0

I am happy to have solved the problem and share the solution in case someone else has the same need.

I had read Truenas Scale has a different management of some filesystem options, such as the ACL.

First of all I upgraded the Truenas from CORE to SCALE, with precision from Core 13.0-U6.7 to Scale 24.10.2. To upgrade I had to export the conf from the Core, install SCALE and reimport the conf.

After that I changed the options of the nfs dataset as in the screen below, enabled POSIX acl.

Restarted nfs service on Truenas, remount path in server.

Now rsync work fine!

enter image description here

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.