Andrew LaPierre
2015-Mar-11 13:41 UTC
Rsync ACLs over NFSv4 to EXT4 - rsync_xal_set: lsetxattr - Operation not supported
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! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20150311/dbbe7713/attachment.html>
Kevin Korb
2015-Mar-11 14:56 UTC
Rsync ACLs over NFSv4 to EXT4 - rsync_xal_set: lsetxattr - Operation not supported
-----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-----
Andrew LaPierre
2015-Mar-11 15:45 UTC
Rsync ACLs over NFSv4 to EXT4 - rsync_xal_set: lsetxattr - Operation not supported
Thank you, that's a good idea. I should have thought outside of the box to begin with! :-) -- Andrew LaPierre Information Technology Director Georgia-Cumberland Conference On Wed, Mar 11, 2015 at 10:56 AM, Kevin Korb <kmk at sanitarium.net> wrote:> -----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----- > -- > Please use reply-all for most replies to avoid omitting the mailing list. > To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Apparently Analagous Threads
- Rsync ACLs over NFSv4 to EXT4 - rsync_xal_set: lsetxattr - Operation not supported
- [Bug 14377] New: rsync rsync_xal_set lsetxattr failed invalid argument
- DO NOT REPLY [Bug 3701] New: rsync_xal_set: lsetxattr system.posix_acl_default failed: Permission denied
- Centos7: backup with rsync problem: "rsync: rsync_xal_set: lremovexattr(""/tmp/test/etc/fstab"", "security.selinux") failed: Permission denied (13)"
- rsync_xal_set failed : Operation not supported