<font size=3 face="sans-serif">Generally you should not run mmfsck unless
you see MMFS_FSSTRUCT errors in your system logs. &nbsp;To my knowledge
online mmfsck only checks for a subset of problems, notably lost blocks,
but that situation does not indicate any problems with the file system.</font><br><br><font size=3 face="sans-serif">Fred<br>__________________________________________________<br>Fred Stock | IBM Pittsburgh Lab | 720-430-8821<br>stockf@us.ibm.com</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">&quot;Simon Thompson
(IT Research Support)&quot; &lt;S.J.Thompson@bham.ac.uk&gt;</font><br><font size=1 color=#5f5f5f face="sans-serif">To: &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">10/11/2017 06:32 AM</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]
Checking a file-system for errors</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>OK thanks,<br><br>So if I run mmfsck in online mode and it says:<br>&quot;File system is clean.<br>Exit status 0:10:0.&quot;<br><br>Then I can assume there is no benefit to running in offline mode?<br><br>But it would also be prudent to run &quot;mmrestripefs -c&quot; to be sure
my<br>filesystem is happy?<br><br>Thanks<br><br>Simon<br><br>On 11/10/2017, 11:19, &quot;gpfsug-discuss-bounces@spectrumscale.org on
behalf<br>of UWEFALKE@de.ibm.com&quot; &lt;gpfsug-discuss-bounces@spectrumscale.org
on<br>behalf of UWEFALKE@de.ibm.com&gt; wrote:<br><br>&gt;Hm , mmfsck will &nbsp;return not very reliable results in online mode,<br>&gt;especially it will report many issues which are just due to the transient<br>&gt;states in a files system in operation.<br>&gt;It should however not find less issues than in off-line mode.<br>&gt;<br>&gt;mmrestripefs -c does not do any logical checks, it just checks for<br>&gt;differences of multiple replicas of the same data/metadata.<br>&gt;File system errors can be caused by such discrepancies (if an odd/corrupt<br>&gt;replica is used by the GPFS), but can also be caused (probably more<br>&gt;likely) by logical errors / bugs when metadata were modified in the
file<br>&gt;system. In those cases, all the replicas are identical nevertheless<br>&gt;corrupt (cannot be found by mmrestripefs)<br>&gt; <br>&gt;So, mmrestripefs -c is like scrubbing for silent data corruption (on
its<br>&gt;own, it cannot decide which is the correct replica!), while mmfsck
checks<br>&gt;the filesystem structure for logical consistency.<br>&gt;If the contents of the replicas of a data block differ, mmfsck won't
see<br>&gt;any problem (as long as the fs metadata are consistent), but mmrestripefs<br>&gt;-c will. <br>&gt;<br>&gt; <br>&gt;Mit freundlichen GrüÃ\u0178en / Kind regards<br>&gt;<br>&gt; <br>&gt;Dr. Uwe Falke<br>&gt; <br>&gt;IT Specialist<br>&gt;High Performance Computing Services / Integrated Technology Services
/<br>&gt;Data Center Services<br>&gt;--------------------------------------------------------------------------<br>&gt;-----------------------------------------------------------------<br>&gt;IBM Deutschland<br>&gt;Rathausstr. 7<br>&gt;09111 Chemnitz<br>&gt;Phone: +49 371 6978 2165<br>&gt;Mobile: +49 175 575 2877<br>&gt;E-Mail: uwefalke@de.ibm.com<br>&gt;--------------------------------------------------------------------------<br>&gt;-----------------------------------------------------------------<br>&gt;IBM Deutschland Business &amp; Technology Services GmbH / Geschäftsführung:<br>&gt;Thomas Wolter, Sven SchooÃ\u0178<br>&gt;Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart,<br>&gt;HRB 17122 <br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;From: &nbsp; &quot;Simon Thompson (IT Research Support)&quot; &lt;S.J.Thompson@bham.ac.uk&gt;<br>&gt;To: &nbsp; &nbsp; &quot;gpfsug-discuss@spectrumscale.org&quot;<br>&gt;&lt;gpfsug-discuss@spectrumscale.org&gt;<br>&gt;Date: &nbsp; 10/11/2017 10:47 AM<br>&gt;Subject: &nbsp; &nbsp; &nbsp; &nbsp;[gpfsug-discuss] Checking a file-system
for errors<br>&gt;Sent by: &nbsp; &nbsp; &nbsp; &nbsp;gpfsug-discuss-bounces@spectrumscale.org<br>&gt;<br>&gt;<br>&gt;<br>&gt;I'm just wondering if anyone could share any views on checking a<br>&gt;file-system for errors.<br>&gt;<br>&gt;For example, we could use mmfsck in online and offline mode. Does online<br>&gt;mode detect errors (but not fix) things that would be found in offline<br>&gt;mode?<br>&gt;<br>&gt;And then were does mmrestripefs -c fit into this?<br>&gt;<br>&gt;&quot;-c<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Scans
the file system and compares replicas of<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;metadata
and data for conflicts. When conflicts<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;are
found, the -c option attempts to fix<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;the
replicas.<br>&gt;&quot;<br>&gt;<br>&gt;Which sorta sounds like fix things in the file-system, so how does
that<br>&gt;intersect (if at all) with mmfsck?<br>&gt;<br>&gt;Thanks<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="https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&amp;d=DwIFAw&amp;c=jf_iaSHvJObTbx-siA1ZOg&amp;r=p_1XEUyoJ7-VJxF_w8h9gJh8_Wj0Pey73LCLLoxodpw&amp;m=V8K9eELGXftg3ELG2jV1OYptzOZ-j9OdBkpgvJXV_IM&amp;s=MdJhKZ9vW4uhTesz1LqKiEWo6gZAEXjtgw0RXnlJSgY&amp;e="><tt><font size=2>https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&amp;d=DwIFAw&amp;c=jf_iaSHvJObTbx-siA1ZOg&amp;r=p_1XEUyoJ7-VJxF_w8h9gJh8_Wj0Pey73LCLLoxodpw&amp;m=V8K9eELGXftg3ELG2jV1OYptzOZ-j9OdBkpgvJXV_IM&amp;s=MdJhKZ9vW4uhTesz1LqKiEWo6gZAEXjtgw0RXnlJSgY&amp;e=</font></tt></a><tt><font size=2><br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;_______________________________________________<br>&gt;gpfsug-discuss mailing list<br>&gt;gpfsug-discuss at spectrumscale.org<br>&gt;</font></tt><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&amp;d=DwIFAw&amp;c=jf_iaSHvJObTbx-siA1ZOg&amp;r=p_1XEUyoJ7-VJxF_w8h9gJh8_Wj0Pey73LCLLoxodpw&amp;m=V8K9eELGXftg3ELG2jV1OYptzOZ-j9OdBkpgvJXV_IM&amp;s=MdJhKZ9vW4uhTesz1LqKiEWo6gZAEXjtgw0RXnlJSgY&amp;e="><tt><font size=2>https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&amp;d=DwIFAw&amp;c=jf_iaSHvJObTbx-siA1ZOg&amp;r=p_1XEUyoJ7-VJxF_w8h9gJh8_Wj0Pey73LCLLoxodpw&amp;m=V8K9eELGXftg3ELG2jV1OYptzOZ-j9OdBkpgvJXV_IM&amp;s=MdJhKZ9vW4uhTesz1LqKiEWo6gZAEXjtgw0RXnlJSgY&amp;e=</font></tt></a><tt><font size=2><br><br>_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org<br></font></tt><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&amp;d=DwIFAw&amp;c=jf_iaSHvJObTbx-siA1ZOg&amp;r=p_1XEUyoJ7-VJxF_w8h9gJh8_Wj0Pey73LCLLoxodpw&amp;m=V8K9eELGXftg3ELG2jV1OYptzOZ-j9OdBkpgvJXV_IM&amp;s=MdJhKZ9vW4uhTesz1LqKiEWo6gZAEXjtgw0RXnlJSgY&amp;e="><tt><font size=2>https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&amp;d=DwIFAw&amp;c=jf_iaSHvJObTbx-siA1ZOg&amp;r=p_1XEUyoJ7-VJxF_w8h9gJh8_Wj0Pey73LCLLoxodpw&amp;m=V8K9eELGXftg3ELG2jV1OYptzOZ-j9OdBkpgvJXV_IM&amp;s=MdJhKZ9vW4uhTesz1LqKiEWo6gZAEXjtgw0RXnlJSgY&amp;e=</font></tt></a><tt><font size=2><br><br></font></tt><br><br><BR>