<span style=" font-size:10pt;font-family:sans-serif">Just copy the extra
attributes and ACL copy immediately after the cp.  The window will
be small, and if you think about it, the window of vulnerability is going
to be there with a hacked rsync anyhow.   There need not be any additional
"passes".  Once you put it into a single script, you have
"one tool".</span><br><br><br><br><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">From:
       </span><span style=" font-size:9pt;font-family:sans-serif">Sven
Oehme <oehmes@gmail.com></span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">To:
       </span><span style=" font-size:9pt;font-family:sans-serif">gpfsug
main discussion list <gpfsug-discuss@spectrumscale.org></span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Date:
       </span><span style=" font-size:9pt;font-family:sans-serif">10/22/2018
04:33 PM</span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Subject:
       </span><span style=" font-size:9pt;font-family:sans-serif">Re:
[gpfsug-discuss] Best way to migrate data : mmfind ... mmxcp</span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Sent
by:        </span><span style=" font-size:9pt;font-family:sans-serif">gpfsug-discuss-bounces@spectrumscale.org</span><br><hr noshade><br><br><p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:Calibri">Marc,
</span></p><p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:Calibri"> </span></p><p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:Calibri">The
issue with that is that you need multiple passes and things change in between,
it also significant increases migration times. You will always miss something
or you need to manually correct. The right thing is to have 1 tool that
takes care of both, the bulk transfer and the additional attributes. </span></p><p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:Calibri"> </span></p><p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:Calibri">Sven</span></p><p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:Calibri"> </span></p><p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:Calibri"> </span></p><p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:12pt;font-family:Calibri"><b>From:
</b><gpfsug-discuss-bounces@spectrumscale.org> on behalf of Marc
A Kaplan <makaplan@us.ibm.com><b><br>Reply-To: </b>gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><b><br>Date: </b>Monday, October 22, 2018 at 1:09 PM<b><br>To: </b>gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><b><br>Subject: </b>Re: [gpfsug-discuss] Best way to migrate data : mmfind ...
mmxcp</span></p><p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:Calibri"> </span></p><p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:10pt;font-family:Arial">Rather
than hack rsync or cp ... I proposed a smallish utility that would copy
those extended attributes and ACLs that cp -a just skips over.<br>This can be done using the documented GPFS APIs that were designed for
backup and restore of files.<br>SMOP and then add it as an option to samples/ilm/mmxcp</span><span style=" font-size:11pt;font-family:Calibri"><br></span><span style=" font-size:10pt;font-family:Arial"><br>Sorry I haven't gotten around to doing this ... Seems like a modest sized
project...  Avoids boiling the ocean and reinventing or hacking rsync.</span><span style=" font-size:11pt;font-family:Calibri"><br></span><span style=" font-size:10pt;font-family:Arial"><br>-- marc K</span><span style=" font-size:11pt;font-family:Calibri"><br>_______________________________________________ gpfsug-discuss mailing
list gpfsug-discuss at spectrumscale.org </span><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><span style=" font-size:11pt;font-family:Calibri">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</span></a><span style=" font-size:11pt;font-family:Calibri"></span><tt><span style=" font-size:10pt">_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org<br></span></tt><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><tt><span style=" font-size:10pt">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</span></tt></a><tt><span style=" font-size:10pt"><br></span></tt></p><p style="margin-top:0px;margin-Bottom:0px"></p><p style="margin-top:0px;margin-Bottom:0px"></p><BR>