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".
From: Sven Oehme <[email protected]> To: gpfsug main discussion list <[email protected]> Date: 10/22/2018 04:33 PM Subject: Re: [gpfsug-discuss] Best way to migrate data : mmfind ... mmxcp Sent by: [email protected] Marc, 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. Sven From: <[email protected]> on behalf of Marc A Kaplan <[email protected]> Reply-To: gpfsug main discussion list <[email protected]> Date: Monday, October 22, 2018 at 1:09 PM To: gpfsug main discussion list <[email protected]> Subject: Re: [gpfsug-discuss] Best way to migrate data : mmfind ... mmxcp 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. This can be done using the documented GPFS APIs that were designed for backup and restore of files. SMOP and then add it as an option to samples/ilm/mmxcp Sorry I haven't gotten around to doing this ... Seems like a modest sized project... Avoids boiling the ocean and reinventing or hacking rsync. -- marc K _______________________________________________ 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
