Preserve ZFS ACLs when syncing to Linux (ext4)

Kevin Korb kmk at sanitarium.net
Wed Sep 24 15:37:25 MDT 2014


-----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.

On 09/24/2014 04:53 PM, Andrew Martin wrote:
> Hello,
> 
> I am using rsync 3.1.0 on Solaris 11 and Ubuntu 14.04. I would like
> to be able to preserve ZFS (aka NFSv4) ACLs that are set on a ZFS
> filesystem on a Solaris system when rsyncing to a Linux (ext4)
> backup server. I know that ext4 does not support RichACLs, but I
> believe rsync has the ability to store this extra data and then
> restore it if synced back to a filesystem that knows how to use it?
> Testing thus far I have used these options, but ACLs do not appear
> to be preserved when I sync them back to the ZFS filesystem on
> Solaris: rsync -av --xattrs --acls --remote-option=--fake-super
> --fake-super root at solaris:/export/share /path/to/local/ext4/dir
> 
> Is this possible?
> 
> Thanks,
> 
> Andrew Martin
> 

- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
	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

iEYEARECAAYFAlQjOZUACgkQVKC1jlbQAQeE0wCfT/AWpFuNL0A5Q9tIespmH3Fj
ia8AoI3F8dnnTvzKSHBAHeOL2UBJaNYz
=WAJx
-----END PGP SIGNATURE-----


More information about the rsync mailing list