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

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Andrew LaPierre
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!



--
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
Reply | Threaded
Open this post in threaded view
|

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

Kevin Korb
-----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. [hidden email]  (work)
        Orlando, Florida [hidden email] (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
Reply | Threaded
Open this post in threaded view
|

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

Andrew LaPierre
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 <[hidden email]> 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.               [hidden email]  (work)
>         Orlando, Florida                [hidden email] (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
--
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