Preserve ZFS ACLs when syncing to Linux (ext4)
Kevin Korb
kmk at sanitarium.net
Wed Sep 24 16:02:52 MDT 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
getfattr -n user.rsync.%stat filename will show you what rsync stored
in the xattrs.
On 09/24/2014 05:51 PM, Andrew Martin wrote:
> ----- Original Message -----
>> From: "Kevin Korb" <kmk at sanitarium.net> To:
>> rsync at lists.samba.org Sent: Wednesday, September 24, 2014 4:37:25
>> PM Subject: Re: Preserve ZFS ACLs when syncing to Linux (ext4)
>>
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>
>> You only want --fake-super on the writing end so drop the -
>> --remote-option=--fake-super. You would use that if you were
>> pushing instead of pulling.
>>
>> As far as the ZFS specific stuff goes I am not sure (I use ZFS on
>> my backups and ext4 on my servers so I am the exact opposite
>> here) so be sure to try a backup and restore to make sure it gets
>> everything.
>>
> Kevin,
>
> Thanks for the suggestion. Unfortunately syncing from the remote
> Solaris system to the local linux system with just --fake-super and
> then from the local linux system back to the remote Solaris system
> with just --remote-option=--fake-super did not seem to restore the
> ACLs on the remote Solaris system; it appears to have inherited the
> default ACLs set on the share. Note that I did receive one error:
> rsync: rsync_xal_set:
> lsetxattr(""/export/test/.$EXTEND/.$QUOTA.O2aqS3"","SUNWsmb:$Q:$INDEX_ALLOCATION")
> failed: Bad file number (9)
>
> Is there a way I can verify that this extra metadata is being
> saved on the local Linux copy?
>
> Thanks,
>
> Andrew
>
- --
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
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
iEYEARECAAYFAlQjP4sACgkQVKC1jlbQAQf7gQCeMq4oP84I5cEff+c2b6NX3lzO
pFQAoNZSL5ZSpSOfYoBL7E3FwL2Vz9rQ
=MxrP
-----END PGP SIGNATURE-----
More information about the rsync
mailing list