Just a cautionary note, it doesn't work with symlinks as it fails to get the acl and so doesn't copy the symlink.
So you may want to run a traditional rsync after just to get all your symlinks on place. (having been using this over the Christmas period to merge some filesets with acls...) Simon ________________________________________ From: [email protected] [[email protected]] on behalf of Jaime Pinto [[email protected]] Sent: 06 January 2017 02:16 To: gpfsug main discussion list; Laurence Horrocks-Barlow Cc: [email protected] Subject: Re: [gpfsug-discuss] replicating ACLs across GPFS's? Great guys!!! Just what I was looking for. Everyone is always so helpful on this forum. Thanks a lot. Jaime Quoting "Laurence Horrocks-Barlow" <[email protected]>: > Are you talking about the GPFSUG github? > > https://github.com/gpfsug/gpfsug-tools > > The patched rsync there I believe was done by Orlando. > > -- Lauz > > > On 05/01/2017 22:01, Buterbaugh, Kevin L wrote: >> Hi Jaime, >> >> IBM developed a patch for rsync that can replicate ACL?s ? we?ve >> used it and it works great ? can?t remember where we downloaded it >> from, though. Maybe someone else on the list who *isn?t* having a >> senior moment can point you to it? >> >> Kevin >> >>> On Jan 5, 2017, at 3:53 PM, Jaime Pinto <[email protected]> wrote: >>> >>> Does anyone know of a functional standard alone tool to >>> systematically and recursively find and replicate ACLs that works >>> well with GPFS? >>> >>> * We're currently using rsync, which will replicate permissions >>> fine, however it leaves the ACL's behind. The --perms option for >>> rsync is blind to ACLs. >>> >>> * The native linux trick below works well with ext4 after an >>> rsync, but makes a mess on GPFS. >>> % getfacl -R /path/to/source > /root/perms.ac >>> % setfacl --restore=/root/perms.acl >>> >>> * The native GPFS mmgetacl/mmputacl pair does not have a built-in >>> recursive option. >>> >>> Any ideas? >>> >>> Thanks >>> Jaime >>> >>> --- >>> Jaime Pinto >>> SciNet HPC Consortium - Compute/Calcul Canada >>> www.scinet.utoronto.ca - www.computecanada.ca >>> University of Toronto >>> 661 University Ave. (MaRS), Suite 1140 >>> Toronto, ON, M5G1M1 >>> P: 416-978-2755 >>> C: 416-505-1477 >>> >>> ---------------------------------------------------------------- >>> This message was sent using IMP at SciNet Consortium, University >>> of Toronto. >>> >>> >>> _______________________________________________ >>> gpfsug-discuss mailing list >>> gpfsug-discuss at spectrumscale.org >>> http://gpfsug.org/mailman/listinfo/gpfsug-discuss >> _______________________________________________ >> gpfsug-discuss mailing list >> gpfsug-discuss at spectrumscale.org >> http://gpfsug.org/mailman/listinfo/gpfsug-discuss > > _______________________________________________ > gpfsug-discuss mailing list > gpfsug-discuss at spectrumscale.org > http://gpfsug.org/mailman/listinfo/gpfsug-discuss > ---------------------------------------------------------------- This message was sent using IMP at SciNet Consortium, University of Toronto. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
