[gpfsug-discuss] patched rsync question

Buterbaugh, Kevin L Kevin.Buterbaugh at Vanderbilt.Edu
Wed May 10 16:52:35 BST 2017


Hi All,

We are using the patched version of rsync:

rsync  version 3.0.9  protocol version 30
Copyright (C) 1996-2011 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
    64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
    socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
    append, ACLs, xattrs, gpfs, iconv, symtimes

rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.

to copy files from our old GPFS filesystem to our new GPFS filesystem.  Unfortunately, for one group I inadvertently left off the “-A” option when rsync’ing them, so it didn’t preserve their ACL’s.  The original files were deleted, but we were able to restore them from a backup taken on April 25th.

I looked, but cannot find any option to rsync that would only update based on ACL’s / permissions.

Out of 13,000+ files, it appears that 910 have been modified in the interim.  So what I am thinking of doing is rerunning the rsync from the restore directory to the new filesystem directory with the -A option.  I’ll test this with “—dry-run” first, of course.  I am thinking that this will update the ACL’s on all but the 910 modified files, which would then have to be dealt with on a case by case basis.

Anyone have any comments on this idea or any better ideas?  Thanks!

Kevin
—
Kevin Buterbaugh - Senior System Administrator
Vanderbilt University - Advanced Computing Center for Research and Education
Kevin.Buterbaugh at vanderbilt.edu<mailto:Kevin.Buterbaugh at vanderbilt.edu> - (615)875-9633



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20170510/d84c994f/attachment-0001.htm>


More information about the gpfsug-discuss mailing list