<html><body bgcolor="#FFFFFF"><div>If you have the ll_display_filter_fid tool from newer Lustre releases it will print the MDS inode/generation for the specified OST object (when mounted locally as type ldiskfs), or a newer e2fsprogs "debugfs stat {file}" will do the same.&nbsp;</div><div><br></div><div>On the MDS the "debugfs ncheck" command will print the pathnames of one or more inode numbers by scanning the filesystem. &nbsp;On 2.x pathnames can be found directly without searching by specifying the FID to the "lfs fid2path" command.&nbsp;</div><div><br>Cheers, Andreas</div><div><br>On 2011-06-27, at 8:39 AM, Wojciech Turek &lt;<a href="mailto:wjt27@cam.ac.uk">wjt27@cam.ac.uk</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div>I would check if the file list generated by find contains those remaining (after migration) files. If yes, then there is a chance that those files were changed during migration and checksum didn't match thus they were not migrated. Also there is a chance that the migration script has a problem with parsing names of some files thus fails to transfer them. I guess you could do some debugging of the migration process and narrow down the problem.<br>
<br>Best regards<br><br>Wojciech <br><br><div class="gmail_quote">On 27 June 2011 14:37, Bob Ball <span dir="ltr">&lt;<a href="mailto:ball@umich.edu"><a href="mailto:ball@umich.edu">ball@umich.edu</a></a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I had the same issue with Lustre 1.8.4. &nbsp;Wash, rinse, repeat.... &nbsp;In<br>
other words, do the lfs_find, do the lfs_migrate, then do the find a<br>
second time. &nbsp; That seemed to catch most everything of importance. &nbsp; I<br>
haven't a clue why this should be the case, but it was true on every OST<br>
that I migrated last fall.<br>
<font color="#888888"><br>
bob<br>
</font><div><div></div><div class="h5"><br>
On 6/27/2011 6:50 AM, Thomas Roth wrote:<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I am currently moving off files of a number of OSTs - some in a machine with a predicted hardware<br>
&gt; failure, some for decommissioning old hardware etc. I'm deactivating the OSTs on the MDS, then "lfs<br>
&gt; find &nbsp;--obd OSTXXXX_UUID /dir" to create a list of file to migrate.<br>
&gt; When finished, the OST partitions are still up to 14% full! Mounting as ldiskfs, I can inspect the<br>
&gt; data in O/0/d??, which all seem to be valid files, text files readable, ownership and atimes<br>
&gt; meaningfull etc.<br>
&gt; Since these OSTs have been deactivated on the clients also, nobody has complained about missing files<br>
&gt; - although this could just mean that our users keep Terabytes of old junk they don't access any more.<br>
&gt; So I wonder where these files belong to or why they are not missing. There were no severe crashes of<br>
&gt; the system in the recent past which could have caused major memory loss of the MDT.<br>
&gt; Something to worry about? Global lfs_check necessary?<br>
&gt;<br>
&gt; Perhaps I will do some "du" runs. Users want this info anyhow, and if I just missed the files in the<br>
&gt; "lfs find" run, they should show up as errors here.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Thomas<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Lustre-discuss mailing list<br>
&gt; <a href="mailto:Lustre-discuss@lists.lustre.org"><a href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a></a><br>
&gt; <a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank"><a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a></a><br>
&gt;<br>
_______________________________________________<br>
Lustre-discuss mailing list<br>
<a href="mailto:Lustre-discuss@lists.lustre.org"><a href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a></a><br>
<a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank"><a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a></a><br>
</div></div></blockquote></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Lustre-discuss mailing list</span><br><span><a href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a></span><br><span><a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a></span><br></div></blockquote></body></html>