<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:23:59 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-9187] LFSCK needs to handle parameter &quot;failout&quot; and &quot;dryrun&quot; properly</title>
                <link>https://jira.whamcloud.com/browse/LU-9187</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Current implementation does not properly handle the LFSCK parameter &quot;failout&quot; and &quot;dryrun&quot;, as to it only works for OI scrub, but does NOT work for namespace LFSCK and layout LFSCK.&lt;/p&gt;</description>
                <environment></environment>
        <key id="44352">LU-9187</key>
            <summary>LFSCK needs to handle parameter &quot;failout&quot; and &quot;dryrun&quot; properly</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="yong.fan">nasf</assignee>
                                    <reporter username="yong.fan">nasf</reporter>
                        <labels>
                    </labels>
                <created>Tue, 7 Mar 2017 06:36:47 +0000</created>
                <updated>Tue, 23 May 2017 16:19:59 +0000</updated>
                            <resolved>Tue, 9 May 2017 17:31:21 +0000</resolved>
                                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="187303" author="gerrit" created="Tue, 7 Mar 2017 08:03:17 +0000"  >&lt;p&gt;Fan Yong (fan.yong@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/25849&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/25849&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9187&quot; title=&quot;LFSCK needs to handle parameter &amp;quot;failout&amp;quot; and &amp;quot;dryrun&amp;quot; properly&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9187&quot;&gt;&lt;del&gt;LU-9187&lt;/del&gt;&lt;/a&gt; lfsck: handle parameters properly&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: b2a84a3bf8a9dc68616e5a6db65d483e28d349aa&lt;/p&gt;</comment>
                            <comment id="192614" author="gerrit" created="Wed, 19 Apr 2017 04:43:19 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/25849/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/25849/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9187&quot; title=&quot;LFSCK needs to handle parameter &amp;quot;failout&amp;quot; and &amp;quot;dryrun&amp;quot; properly&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9187&quot;&gt;&lt;del&gt;LU-9187&lt;/del&gt;&lt;/a&gt; lfsck: handle parameters properly&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 03ab4771dfc6dafa8e6cd72509d8a6ac6c7046da&lt;/p&gt;</comment>
                            <comment id="193924" author="simmonsja" created="Fri, 28 Apr 2017 17:21:16 +0000"  >&lt;p&gt;The last dry run for LFSCK on our atlas production systems completed, but we are still seeing that there were entries that were fixed even though we have the &#8220;dryrun&#8221; patch (see output below). So the patch that landed for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9187&quot; title=&quot;LFSCK needs to handle parameter &amp;quot;failout&amp;quot; and &amp;quot;dryrun&amp;quot; properly&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9187&quot;&gt;&lt;del&gt;LU-9187&lt;/del&gt;&lt;/a&gt; only partially fixed the issue.&lt;/p&gt;

&lt;p&gt;Also, it looks like no debug data could be captured for the lfsck output using the debug buffer even though lfsck output was configured to be captured. I don&#8217;t think we overwrote The debug buffer was not overwritten because the dump file was only 3.1 MB and the buffer was set to hold 721MB before overwriting (see output below). It would like to at a minimum get output of what was fixed even if we can&#8217;t run in dryrun mode. &lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;output&amp;#93;&lt;/span&gt;&lt;br/&gt;
name: lfsck_namespace&lt;br/&gt;
magic: 0xa0621a0b&lt;br/&gt;
version: 2&lt;br/&gt;
status: completed&lt;br/&gt;
flags: inconsistent&lt;br/&gt;
param: dryrun,all_targets,orphan&lt;br/&gt;
last_completed_time: 1493374063&lt;br/&gt;
time_since_last_completed: 3809 seconds&lt;br/&gt;
latest_start_time: 1493035314&lt;br/&gt;
time_since_latest_start: 342558 seconds&lt;br/&gt;
last_checkpoint_time: 1493374063&lt;br/&gt;
time_since_last_checkpoint: 3809 seconds&lt;br/&gt;
latest_start_position: 77, N/A, N/A&lt;br/&gt;
last_checkpoint_position: 1073740039, N/A, N/A&lt;br/&gt;
first_failure_position: 930672790, N/A, N/A&lt;br/&gt;
checked_phase1: 468966333&lt;br/&gt;
checked_phase2: 272516&lt;br/&gt;
updated_phase1: 1&lt;br/&gt;
updated_phase2: 0&lt;br/&gt;
failed_phase1: 0&lt;br/&gt;
failed_phase2: 14&lt;br/&gt;
directories: 66928508&lt;br/&gt;
dirent_repaired: 0&lt;br/&gt;
linkea_repaired: 1&lt;br/&gt;
nlinks_repaired: 0&lt;br/&gt;
multiple_linked_checked: 547668&lt;br/&gt;
multiple_linked_repaired: 0&lt;br/&gt;
unknown_inconsistency: 0&lt;br/&gt;
unmatched_pairs_repaired: 0&lt;br/&gt;
dangling_repaired: 0&lt;br/&gt;
multiple_referenced_repaired: 0&lt;br/&gt;
bad_file_type_repaired: 0&lt;br/&gt;
lost_dirent_repaired: 0&lt;br/&gt;
local_lost_found_scanned: 0&lt;br/&gt;
local_lost_found_moved: 0&lt;br/&gt;
local_lost_found_skipped: 0&lt;br/&gt;
local_lost_found_failed: 0&lt;br/&gt;
striped_dirs_scanned: 0&lt;br/&gt;
striped_dirs_repaired: 0&lt;br/&gt;
striped_dirs_failed: 0&lt;br/&gt;
striped_dirs_disabled: 0&lt;br/&gt;
striped_dirs_skipped: 0&lt;br/&gt;
striped_shards_scanned: 0&lt;br/&gt;
striped_shards_repaired: 0&lt;br/&gt;
striped_shards_failed: 0&lt;br/&gt;
striped_shards_skipped: 0&lt;br/&gt;
name_hash_repaired: 0&lt;br/&gt;
linkea_overflow_cleared: 0&lt;br/&gt;
success_count: 3&lt;br/&gt;
run_time_phase1: 338639 seconds&lt;br/&gt;
run_time_phase2: 102 seconds&lt;br/&gt;
average_speed_phase1: 1384 items/sec&lt;br/&gt;
average_speed_phase2: 2671 objs/sec&lt;br/&gt;
average_speed_total: 1385 items/sec&lt;br/&gt;
real_time_speed_phase1: N/A&lt;br/&gt;
real_time_speed_phase2: N/A&lt;br/&gt;
current_position: N/A&lt;/p&gt;

&lt;p&gt;We have the dumps if you want them as well.&lt;/p&gt;</comment>
                            <comment id="193984" author="yong.fan" created="Sat, 29 Apr 2017 00:46:29 +0000"  >&lt;p&gt;Under the &apos;dryrun&apos; mode, the &quot;fixed&quot; items in the LFSCK output does not means real fix, instead, it means the found inconsistent items. You can verify whether the inconsistency has been fixed or not via another dryrun mode LFSCK. If the inconsistency has been fixed in the first dryrun LFSCK, it should NOT be found again during the second dyrun LFSCK.&lt;/p&gt;</comment>
                            <comment id="194477" author="adilger" created="Thu, 4 May 2017 17:47:48 +0000"  >&lt;p&gt;I think it would be more clear for users if &quot;repaired&quot; only indicated actual fixed items, and there be a separate field accounting the errors found. That should probably be a separate ticket. &lt;/p&gt;</comment>
                            <comment id="195137" author="pjones" created="Tue, 9 May 2017 17:31:21 +0000"  >&lt;p&gt;It sounds like any remaining work will be tracked under a new ticket&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="46272">LU-9548</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="46258">LU-9545</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzz5yv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>