Rsync ACLs over NFSv4 to EXT4 - rsync_xal_set: lsetxattr - Operation not supported

Kevin Korb kmk at sanitarium.net
Wed Mar 11 08:56:26 MDT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Xattrs are not supported via NFS:
http://comments.gmane.org/gmane.linux.nfs/53259

I would suggest letting rsync do the networking between the Linux
systems (probably over ssh).  This will also prevent you from being
stuck in --whole-file.

On 03/11/2015 09:41 AM, Andrew LaPierre wrote:
> I think this is an NFS or ext4 question, but wanted to post this
> here for a sanity check. :) I've been searching for over a week for
> a solution and have turned up nil.
> 
> I'm trying to rsync with options -AX over an NFSv4 mount TO an
> ext4 drive FROM an ext4 drive and both have acl and user_xattr
> enabled. The command:
> 
> rsync -aAX /data/ /mnt/back/data
> 
> results in:
> 
> rsync: rsync_xal_set: 
> lsetxattr(""/mnt/back/data/Users/user/Documents/Desktop"","security.NTACL")
>
> 
failed: Operation not supported (95)
> 
> along with all the other files.
> 
> Running the same command to a local folder works perfect so I'm
> assuming it has something to do with NFS4 or EXT4 on the Server
> side.
> 
> My fstab mount:
> 
> UUID=732683f0-e6ac-42d6-a492-e07643d7719c /media/back   ext4 
> defaults,acl,user_xattr,barrier=1       0       0
> 
> My nfs exports file:
> 
> /media/back 
> 10.111.106.3(fsid=0,rw,async,no_root_squash,no_subtree_check)
> 
> My mount command:
> 
> mount -t nfs4 -o proto=tcp,port=2049 10.111.106.12:/ /mnt/back
> 
> Version info:
> 
> Server
> 
> Ubuntu 14.04.2
> 
> Client
> 
> Ubuntu 14.04.2 rsync 3.1.0
> 
> Thanks for any suggestions!
> 
> 
> 
> 

- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at FutureQuest.net  (work)
	Orlando, Florida		kmk at sanitarium.net (personal)
	Web page:			http://www.sanitarium.net/
	PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlUAV5oACgkQVKC1jlbQAQdOmACeNdPOwkNF/HLTpYP6v10cax3k
4DsAoNMvtCOaNcaltelcXQTlbVbMlDpR
=OxuS
-----END PGP SIGNATURE-----


More information about the rsync mailing list