Copy data from Linux with ACL problem

tomeks11

Cadet
Joined
May 25, 2021
Messages
8
I wanted to copy data from an old Linux SMB server to TrueNAS while keeping the permissions.
I tried through rsync:
rsync -av -AX -e 'ssh' / home / Wspólne root@192.168.0.2: / mnt / poolBack1 / dsSmb
message appears:
rsync error: error in rsync protocol data stream (code 12) at io.c (226)
When trying to tar
tar --xattrs -czvp -C / home / common -. | ssh root@192.168.0.2 "tar -C / mnt / poolBack1 / dsSmb -xzvf -"
the data is copying but with each file I have the following message:
"Cannot restore extended attributes: system.posix_acl_access security.NTACL"
Do you have any way to copy data from Linux to TrueNAS with ACL?
 

c77dk

Patron
Joined
Nov 27, 2019
Messages
468
Maybe you can do it by using robocopy, if you have the same users on both storages - I'm in the middle of a similar process myself, but ended up applying fresh ACLs due to some users missing and old ACLs was a mess (Even for the files I send via NFS the ACLs get right inheritance - I love it :smile: )
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
"Cannot restore extended attributes: system.posix_acl_access security.NTACL" ZFS on FreeBSD does not support POSIX1E acl type. Migration in this case must be done through the SMB protocol.

Likewise, FreeBSD does not have a security xattr namespace.
 
Top