<div dir="ltr">Thanks all for great suggestions. We will most likely end up using either AFM or some mechanism of file copy (tar/rsync etc.). </div><br><div class="gmail_quote"><div dir="ltr">On Mon, Feb 1, 2016 at 12:39 PM Wahl, Edward &lt;<a href="mailto:ewahl@osc.edu">ewahl@osc.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Along the same vein I&#39;ve patched rsync to maintain source atimes in Linux for large transitions such as this.  Along with the stadnard &quot;patches&quot; mod for destination atimes it is quite useful.   Works in 3.0.8 and 3.0.9.  I&#39;ve not yet ported it to 3.1.x<br>
<a href="https://www.osc.edu/sites/osc.edu/files/staff_files/ewahl/onoatime.diff" rel="noreferrer" target="_blank">https://www.osc.edu/sites/osc.edu/files/staff_files/ewahl/onoatime.diff</a><br>
<br>
Ed Wahl<br>
OSC<br>
<br>
________________________________________<br>
From: <a href="mailto:gpfsug-discuss-bounces@spectrumscale.org" target="_blank">gpfsug-discuss-bounces@spectrumscale.org</a> [<a href="mailto:gpfsug-discuss-bounces@spectrumscale.org" target="_blank">gpfsug-discuss-bounces@spectrumscale.org</a>] on behalf of Orlando Richards [<a href="mailto:orlando.richards@ed.ac.uk" target="_blank">orlando.richards@ed.ac.uk</a>]<br>
Sent: Monday, February 01, 2016 4:25 AM<br>
To: <a href="mailto:gpfsug-discuss@spectrumscale.org" target="_blank">gpfsug-discuss@spectrumscale.org</a><br>
Subject: Re: [gpfsug-discuss] migrating data from GPFS3.5 to ESS appliance (GPFS4.1)<br>
<br>
For what it&#39;s worth - there&#39;s a patch for rsync which IBM provided a<br>
while back that will copy NFSv4 ACLs (maybe other stuff?). I put it up<br>
on the gpfsug github here:<br>
<br>
   <a href="https://github.com/gpfsug/gpfsug-tools/tree/master/bin/rsync" rel="noreferrer" target="_blank">https://github.com/gpfsug/gpfsug-tools/tree/master/bin/rsync</a><br>
<br>
<br>
<br>
On 29/01/16 22:36, Sven Oehme wrote:<br>
&gt; Doug,<br>
&gt;<br>
&gt; This won&#39;t really work if you make use of ACL&#39;s or use special GPFS<br>
&gt; extended attributes or set quotas, filesets, etc<br>
&gt; so unfortunate the answer is you need to use a combination of things and<br>
&gt; there is work going on to make some of this simpler (e.g. for ACL&#39;s) ,<br>
&gt; but its a longer road to get there.  so until then you need to think<br>
&gt; about multiple aspects .<br>
&gt;<br>
&gt; 1. you need to get the data across and there are various ways to do this.<br>
&gt;<br>
&gt; a) AFM is the simplest of all as it not just takes care of ACL&#39;s and<br>
&gt; extended attributes and alike as it understands the GPFS internals it<br>
&gt; also is operating in parallel can prefetch data, etc so its a efficient<br>
&gt; way to do this but as already pointed out doesn&#39;t transfer quota or<br>
&gt; fileset informations.<br>
&gt;<br>
&gt; b) you can either use rsync or any other pipe based copy program. the<br>
&gt; downside is that they are typical single threaded and do a file by file<br>
&gt; approach, means very metadata intensive on the source as well as target<br>
&gt; side and cause a lot of ios on both side.<br>
&gt;<br>
&gt; c) you can use the policy engine to create a list of files to transfer<br>
&gt; to at least address the single threaded scan part, then partition the<br>
&gt; data and run multiple instances of cp or rsync in parallel, still<br>
&gt; doesn&#39;t fix the ACL / EA issues, but the data gets there faster.<br>
&gt;<br>
&gt; 2. you need to get ACL/EA informations over too. there are several<br>
&gt; command line options to dump the data and restore it, they kind of<br>
&gt; suffer the same problem as data transfers , which is why using AFM is<br>
&gt; the best way of doing this if you rely on ACL/EA  informations.<br>
&gt;<br>
&gt; 3. transfer quota / fileset infos.  there are several ways to do this,<br>
&gt; but all require some level of scripting to do this.<br>
&gt;<br>
&gt; if you have TSM/HSM you could also transfer the data using SOBAR it&#39;s<br>
&gt; described in the advanced admin book.<br>
&gt;<br>
&gt; sven<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Jan 29, 2016 at 11:35 AM, Hughes, Doug<br>
&gt; &lt;<a href="mailto:Douglas.Hughes@deshawresearch.com" target="_blank">Douglas.Hughes@deshawresearch.com</a><br>
&gt; &lt;mailto:<a href="mailto:Douglas.Hughes@deshawresearch.com" target="_blank">Douglas.Hughes@deshawresearch.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     I have found that a tar pipe is much faster than rsync for this sort<br>
&gt;     of thing. The fastest of these is \u2018star\u2019 (schily tar). On average it<br>
&gt;     is about 2x-5x faster than rsync for doing this. After one pass with<br>
&gt;     this, you can use rsync for a subsequent or last pass synch.____<br>
&gt;<br>
&gt;     __ __<br>
&gt;<br>
&gt;     e.g.____<br>
&gt;<br>
&gt;     $ cd /export/gpfs1/foo____<br>
&gt;<br>
&gt;     $ star \u2013c H=xtar | (cd /export/gpfs2/foo; star \u2013xp)____<br>
&gt;<br>
&gt;     __ __<br>
&gt;<br>
&gt;     This also will not preserve filesets and quotas, though. You should<br>
&gt;     be able to automate that with a little bit of awk, perl, or whatnot.____<br>
&gt;<br>
&gt;     __ __<br>
&gt;<br>
&gt;     __ __<br>
&gt;<br>
&gt;     *From:*<a href="mailto:gpfsug-discuss-bounces@spectrumscale.org" target="_blank">gpfsug-discuss-bounces@spectrumscale.org</a><br>
&gt;     &lt;mailto:<a href="mailto:gpfsug-discuss-bounces@spectrumscale.org" target="_blank">gpfsug-discuss-bounces@spectrumscale.org</a>&gt;<br>
&gt;     [mailto:<a href="mailto:gpfsug-discuss-bounces@spectrumscale.org" target="_blank">gpfsug-discuss-bounces@spectrumscale.org</a><br>
&gt;     &lt;mailto:<a href="mailto:gpfsug-discuss-bounces@spectrumscale.org" target="_blank">gpfsug-discuss-bounces@spectrumscale.org</a>&gt;] *On Behalf Of<br>
&gt;     *Damir Krstic<br>
&gt;     *Sent:* Friday, January 29, 2016 2:32 PM<br>
&gt;     *To:* gpfsug main discussion list<br>
&gt;     *Subject:* [gpfsug-discuss] migrating data from GPFS3.5 to ESS<br>
&gt;     appliance (GPFS4.1)____<br>
&gt;<br>
&gt;     __ __<br>
&gt;<br>
&gt;     We have recently purchased ESS appliance from IBM (GL6) with 1.5PT<br>
&gt;     of storage. We are in planning stages of implementation. We would<br>
&gt;     like to migrate date from our existing GPFS installation (around<br>
&gt;     300TB) to new solution. ____<br>
&gt;<br>
&gt;     __ __<br>
&gt;<br>
&gt;     We were planning of adding ESS to our existing GPFS cluster and<br>
&gt;     adding its disks and then deleting our old disks and having the data<br>
&gt;     migrated this way. However, our existing block size on our projects<br>
&gt;     filesystem is 1M and in order to extract as much performance out of<br>
&gt;     ESS we would like its filesystem created with larger block size.<br>
&gt;     Besides rsync do you have any suggestions of how to do this without<br>
&gt;     downtime and in fastest way possible? ____<br>
&gt;<br>
&gt;     __ __<br>
&gt;<br>
&gt;     I have looked at AFM but it does not seem to migrate quotas and<br>
&gt;     filesets so that may not be an optimal solution. ____<br>
&gt;<br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     gpfsug-discuss mailing list<br>
&gt;     gpfsug-discuss at <a href="http://spectrumscale.org" rel="noreferrer" target="_blank">spectrumscale.org</a> &lt;<a href="http://spectrumscale.org" rel="noreferrer" target="_blank">http://spectrumscale.org</a>&gt;<br>
&gt;     <a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" rel="noreferrer" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; gpfsug-discuss mailing list<br>
&gt; gpfsug-discuss at <a href="http://spectrumscale.org" rel="noreferrer" target="_blank">spectrumscale.org</a><br>
&gt; <a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" rel="noreferrer" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a><br>
&gt;<br>
<br>
--<br>
             --<br>
        Dr Orlando Richards<br>
     Research Services Manager<br>
        Information Services<br>
    IT Infrastructure Division<br>
        Tel: 0131 650 4994<br>
      skype: orlando.richards<br>
<br>
The University of Edinburgh is a charitable body, registered in<br>
Scotland, with registration number SC005336.<br>
_______________________________________________<br>
gpfsug-discuss mailing list<br>
gpfsug-discuss at <a href="http://spectrumscale.org" rel="noreferrer" target="_blank">spectrumscale.org</a><br>
<a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" rel="noreferrer" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a><br>
_______________________________________________<br>
gpfsug-discuss mailing list<br>
gpfsug-discuss at <a href="http://spectrumscale.org" rel="noreferrer" target="_blank">spectrumscale.org</a><br>
<a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" rel="noreferrer" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a><br>
</blockquote></div>