<font size=2 face="sans-serif">Diffing file lists can be fast - IF you
keep the file lists sorted by a unique key, e.g. the inode number.</font><br><font size=2 face="sans-serif">I believe that's how mmbackup does it.
&nbsp;Use the classic set difference algorithm.<br></font><br><font size=2 face="sans-serif">Standard diff is designed to do something
else and is terribly slow on large file lists.</font><br><br><br><br><font size=1 color=#5f5f5f face="sans-serif">From: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Edward Wahl &lt;ewahl@osc.edu&gt;</font><br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">&quot;Simon Thompson
(Research Computing - IT Services)&quot; &lt;S.J.Thompson@bham.ac.uk&gt;</font><br><font size=1 color=#5f5f5f face="sans-serif">Cc: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">gpfsug main discussion
list &lt;gpfsug-discuss@spectrumscale.org&gt;</font><br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">02/27/2017 03:51 PM</font><br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">Re: [gpfsug-discuss]
Tracking deleted files</font><br><font size=1 color=#5f5f5f face="sans-serif">Sent by: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">gpfsug-discuss-bounces@spectrumscale.org</font><br><hr noshade><br><br><br><tt><font size=2>I can think of a couple of ways to do this. &nbsp;But
using snapshots seems heavy,<br>but so does using mmbackup unless you are already running it every day.
<br><br>Diff the shadow files? &nbsp;Haha could be a _terrible_ idea if you have
a couple<br>hundred million files. But it IS possible. <br><br><br>Next, I'm NOT a tsm expert, but I know a bit about it: (and I probably
stayed<br>at a Holiday Inn express at least once in my heavy travel days)<br><br>-query objects using '-ina=yes' and yesterdays date? Might be a touch slow.
But<br>it probably uses the next one as it's backend:<br><br>-db2 query inside TSM to see a similar thing. &nbsp;This ought to be the
fastest,<br>and I'm sure with a little google'ing you can work this out. &nbsp;Tivoli
MUST know<br>exact dates of deletion as it uses that and the retention time to know<br>when to purge/reclaim deleted objects from it's storage pools.<br>(retain extra version or RETEXTRA or retain only version) <br><br>Ed<br><br>On Mon, 27 Feb 2017 13:32:42 +0000<br>&quot;Simon Thompson (Research Computing - IT Services)&quot; &lt;S.J.Thompson@bham.ac.uk&gt;<br>wrote:<br><br>&gt; &gt;It has been discussed in the past, but the way to track stuff
is to<br>&gt; &gt;enable HSM and then hook into the DSMAPI. That way you can see
all the<br>&gt; &gt;file creates and deletes &quot;live&quot;. &nbsp;<br>&gt; <br>&gt; Won't work, I already have a &quot;real&quot; HSM client attached
to DMAPI<br>&gt; (dsmrecalld).<br>&gt; <br>&gt; I'm not actually wanting to backup for this use case, we already have<br>&gt; mmbackup running to do those things, but it was a list of deleted
files<br>&gt; that I was after (I just thought it might be easy given mmbackup is<br>&gt; tracking it already).<br>&gt; <br>&gt; Simon<br>&gt; <br>&gt; _______________________________________________<br>&gt; gpfsug-discuss mailing list<br>&gt; gpfsug-discuss at spectrumscale.org<br>&gt; </font></tt><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><tt><font size=2>http://gpfsug.org/mailman/listinfo/gpfsug-discuss</font></tt></a><tt><font size=2><br><br><br><br>-- <br><br>Ed Wahl<br>Ohio Supercomputer Center<br>614-292-9302<br>_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org<br></font></tt><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><tt><font size=2>http://gpfsug.org/mailman/listinfo/gpfsug-discuss</font></tt></a><tt><font size=2><br><br></font></tt><br><BR>