<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:29:55 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-2980] sanity.sh test_17b: Read-only file system</title>
                <link>https://jira.whamcloud.com/browse/LU-2980</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for Andreas Dilger &amp;lt;andreas.dilger@intel.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;https://maloo.whamcloud.com/test_sets/43161786-8f2c-11e2-92ff-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/43161786-8f2c-11e2-92ff-52540035b04c&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The sub-test test_17b failed with the following error in the MDS dmesg log:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Lustre: DEBUG MARKER: == sanity test 17a: symlinks: create, remove (real) ==================== 16:19:07 (1363475947)&lt;br/&gt;
attempt to access beyond end of device&lt;br/&gt;
dm-0: rw=0, want=855117409799080, limit=4194304&lt;br/&gt;
attempt to access beyond end of device&lt;br/&gt;
dm-0: rw=0, want=855117409799080, limit=4194304&lt;br/&gt;
attempt to access beyond end of device&lt;br/&gt;
dm-0: rw=0, want=855117409799080, limit=4194304&lt;br/&gt;
attempt to access beyond end of device&lt;br/&gt;
dm-0: rw=0, want=855117409799080, limit=4194304&lt;br/&gt;
LDISKFS-fs error (device dm-0): ldiskfs_xattr_delete_inode: inode 524372: block 106889676224884 read error&lt;br/&gt;
Aborting journal on device dm-0-8.&lt;br/&gt;
LDISKFS-fs (dm-0): Remounting filesystem read-only&lt;br/&gt;
LDISKFS-fs error (device dm-0) in ldiskfs_free_inode: Journal has aborted&lt;br/&gt;
LustreError: 2764:0:(osd_handler.c:635:osd_trans_commit_cb()) transaction @0xffff88007cdd41c0 commit error: 2&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;It seems that test_17a is somehow corrupting the filesystem, since the block number is the same &lt;tt&gt;106889676224884&lt;/tt&gt; in the few MDS dmesg logs I looked at, and this seems to be ASCII text from the test_17a() run.&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;(gdb) p /x 106889676224884
$1 = 0x6137312e7974
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This is the ASCII string &quot;ty.17a&amp;lt;NUL&amp;gt;&amp;lt;NUL&amp;gt;&quot;, which might be a fragment from $tdir or similar &quot;sani&lt;span class=&quot;error&quot;&gt;&amp;#91;ty.17a&amp;#93;&lt;/span&gt;&quot;.&lt;/p&gt;

&lt;p&gt;Info required for matching: sanity 17b&lt;/p&gt;</description>
                <environment></environment>
        <key id="17987">LU-2980</key>
            <summary>sanity.sh test_17b: Read-only file system</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="hongchao.zhang">Hongchao Zhang</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                            <label>HB</label>
                    </labels>
                <created>Mon, 18 Mar 2013 07:02:02 +0000</created>
                <updated>Mon, 20 May 2013 18:27:42 +0000</updated>
                            <resolved>Mon, 20 May 2013 18:27:42 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="54233" author="adilger" created="Mon, 18 Mar 2013 07:07:46 +0000"  >&lt;p&gt;Searching back the past 4 weeks, this has only started failing on 2013-03-12, so it is likely a new regression introduced by a patch landed on that day or the one before:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://maloo.whamcloud.com/sub_tests/8d829c9c-8bfb-11e2-abec-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/sub_tests/8d829c9c-8bfb-11e2-abec-52540035b04c&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/sub_tests/dc5453f0-8bcf-11e2-aa89-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/sub_tests/dc5453f0-8bcf-11e2-aa89-52540035b04c&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/sub_tests/2eee8a56-8c5f-11e2-af77-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/sub_tests/2eee8a56-8c5f-11e2-af77-52540035b04c&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/sub_tests/38d2778c-8cf3-11e2-af77-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/sub_tests/38d2778c-8cf3-11e2-af77-52540035b04c&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/sub_tests/77a75086-8cfd-11e2-af77-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/sub_tests/77a75086-8cfd-11e2-af77-52540035b04c&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/sub_tests/100ab654-8dbe-11e2-abc6-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/sub_tests/100ab654-8dbe-11e2-abc6-52540035b04c&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/sub_tests/97489ff0-8dc8-11e2-bb99-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/sub_tests/97489ff0-8dc8-11e2-bb99-52540035b04c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="54344" author="di.wang" created="Tue, 19 Mar 2013 05:23:48 +0000"  >&lt;p&gt;In sanity 17a, it tries to create a symlink with &quot;/mnt/lustre/d0.sanity/d17/f.sanity.17a&quot;, since it is only 38bytes, so it should be written to i_data, but somehow i_file_acl is being overwritten according to Andreas&apos;s comment. But the interesting thing is that i_data has 60 bytes length, I do not know how it can be overwritten.&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;struct ldiskfs_inode_info {
        __le32  i_data[15];     /* unconverted */
        __u32   i_dtime;
        ldiskfs_fsblk_t i_file_acl;      
.....
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; 
</comment>
                            <comment id="54353" author="adilger" created="Tue, 19 Mar 2013 08:58:31 +0000"  >&lt;p&gt;If this can be reproduced, it would be useful to dump the inode contents, either with debugfs, or &quot;od -tx4&quot; to see what else is being written into the i_data field to offset the symlink data.&lt;/p&gt;</comment>
                            <comment id="54354" author="adilger" created="Tue, 19 Mar 2013 09:05:34 +0000"  >&lt;p&gt;Maybe a patch for test_17a() to see if &lt;tt&gt;ls -l&lt;/tt&gt; works, and/or something like:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;        local mds_dev=$(mdsdevname $(($($LFS getstripe -M $DIR/$tdir/$tfile) + 1))
        do_facet $SINGLEMDS debugfs -c -R &lt;span class=&quot;code-quote&quot;&gt;&quot;stat /ROOT$tdir/$tfile&quot;&lt;/span&gt; $mds_dev}}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="54551" author="hongchao.zhang" created="Thu, 21 Mar 2013 11:42:10 +0000"  >&lt;p&gt;there is no related patch landed on &quot;ldiskfs&quot;, and there are two patches which could be related to the issue&lt;br/&gt;
&lt;a href=&quot;http://git.whamcloud.com/?p=fs/lustre-release.git;a=commitdiff;h=c8d5aa14e50be2a85491783f169a8f4e646b9594&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://git.whamcloud.com/?p=fs/lustre-release.git;a=commitdiff;h=c8d5aa14e50be2a85491783f169a8f4e646b9594&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://git.whamcloud.com/?p=fs/lustre-release.git;a=commitdiff;h=d7ac66d2fddc3b2a6fb91b6421f9a15b80c8d10a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://git.whamcloud.com/?p=fs/lustre-release.git;a=commitdiff;h=d7ac66d2fddc3b2a6fb91b6421f9a15b80c8d10a&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;but no possible location is found to be related to the issue.&lt;/p&gt;

&lt;p&gt;how about printing the &quot;i_data&quot; and &quot;i_dtime&quot; alongside &quot;i_file_acl&quot; in ldiskfs_xattr_delete_inode (&lt;a href=&quot;http://review.whamcloud.com/#change,5798&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,5798&lt;/a&gt;) ?&lt;/p&gt;</comment>
                            <comment id="54565" author="hongchao.zhang" created="Thu, 21 Mar 2013 14:36:59 +0000"  >&lt;p&gt;this ticket can&apos;t be reproduced by running &quot;sanity.sh&quot; (from subtest0 to subtest17) repeatedly for a long time.&lt;/p&gt;</comment>
                            <comment id="54631" author="bobijam" created="Fri, 22 Mar 2013 02:57:53 +0000"  >&lt;p&gt;I think &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3005&quot; title=&quot;MDT attempted to access beyond the disk&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3005&quot;&gt;&lt;del&gt;LU-3005&lt;/del&gt;&lt;/a&gt; has the same issue.&lt;/p&gt;</comment>
                            <comment id="54646" author="simmonsja" created="Fri, 22 Mar 2013 13:09:02 +0000"  >&lt;p&gt;Yes it is a duplicate. I noticed as well it is a very difficult bug to reproduce.&lt;/p&gt;</comment>
                            <comment id="54648" author="simmonsja" created="Fri, 22 Mar 2013 13:10:33 +0000"  >&lt;p&gt;If I encounter this bug again what data should I collect?&lt;/p&gt;</comment>
                            <comment id="54754" author="pjones" created="Mon, 25 Mar 2013 14:30:29 +0000"  >&lt;p&gt;Hongchao&lt;/p&gt;

&lt;p&gt;I see that you have created a debug patch - &lt;a href=&quot;http://review.whamcloud.com/#change,5798&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,5798&lt;/a&gt; - is your intention to land this so if anyone hits this issue again then we have more info to go on?&lt;/p&gt;


&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="54901" author="hongchao.zhang" created="Wed, 27 Mar 2013 10:25:36 +0000"  >&lt;p&gt;currently, this bug only occurs during test for patch review, &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1812&quot; title=&quot;3.6/FC18 Server Patches&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1812&quot;&gt;&lt;del&gt;LU-1812&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1199&quot; title=&quot;lustre build system overhaul&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1199&quot;&gt;&lt;del&gt;LU-1199&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2473&quot; title=&quot;ldiskfs RHEL6.4 support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2473&quot;&gt;&lt;del&gt;LU-2473&lt;/del&gt;&lt;/a&gt;, which have modification on the ldiskfs.&lt;br/&gt;
then this ticket could be related to the corresponding patches.&lt;/p&gt;</comment>
                            <comment id="54902" author="hongchao.zhang" created="Wed, 27 Mar 2013 10:33:06 +0000"  >&lt;p&gt;btw, when this ticket occurs, most of the tests in sanity.sh failed! &lt;br/&gt;
e.g.&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/355feee0-8cf3-11e2-af77-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/355feee0-8cf3-11e2-af77-52540035b04c&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/d5a0d9e8-8bcf-11e2-aa89-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/d5a0d9e8-8bcf-11e2-aa89-52540035b04c&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/2bc5a18e-8c5f-11e2-af77-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/2bc5a18e-8c5f-11e2-af77-52540035b04c&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/ff2eefc8-9455-11e2-93c6-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/ff2eefc8-9455-11e2-93c6-52540035b04c&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/0e9fde50-9419-11e2-89cc-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/0e9fde50-9419-11e2-89cc-52540035b04c&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/f822c5c0-9431-11e2-8809-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/f822c5c0-9431-11e2-8809-52540035b04c&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/4c7555b2-9427-11e2-8809-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/4c7555b2-9427-11e2-8809-52540035b04c&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/b6637c0a-94c3-11e2-93c6-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/b6637c0a-94c3-11e2-93c6-52540035b04c&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/4309922a-9339-11e2-b06e-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/4309922a-9339-11e2-b06e-52540035b04c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="54909" author="simmonsja" created="Wed, 27 Mar 2013 12:28:37 +0000"  >&lt;p&gt;It would be really nice if maloo reported which patch was being tested in its subtest logs to avoid thinking that this bug was on the master branch. The failures started March 12th which is when I introduced the ldiskfs-config.h version of the patch. This makes sense if the source of the problem was the patch from &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1199&quot; title=&quot;lustre build system overhaul&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1199&quot;&gt;&lt;del&gt;LU-1199&lt;/del&gt;&lt;/a&gt;. The reason being is the ldiskfs-config.h contains the configuration for all the CONFIG_LDISKFS* setting for ldiskfs. These values need to placed before the ldiskfs/ext4 headers because those CONFIG_* settings have a impact on how the ext4/ldiskfs headers influence the code. In osd_io.c the configuration header has being placed after the ldiskfs.h headers which was what was causing the breakage. The latest patch properly places ldiskfs-config.h before all ext4/ldiskfs specific headers. If this is correct then we should not see this problem going forward. Lets keep a eye out to see if this problem goes away.&lt;/p&gt;</comment>
                            <comment id="54938" author="pjones" created="Wed, 27 Mar 2013 17:40:14 +0000"  >&lt;p&gt;Dropping priority given the latest information. Please close this ticket if no further work needs to be tracked by this ticket&lt;/p&gt;</comment>
                            <comment id="55848" author="simmonsja" created="Tue, 9 Apr 2013 12:29:55 +0000"  >&lt;p&gt;I assume we haven&apos;t seen this bug in some time. If that is the case we can close this ticket and reopen it if it for some reason reappears.&lt;/p&gt;</comment>
                            <comment id="58915" author="simmonsja" created="Mon, 20 May 2013 18:07:03 +0000"  >&lt;p&gt;Peter can you close this ticket. Thanks.&lt;/p&gt;</comment>
                            <comment id="58918" author="pjones" created="Mon, 20 May 2013 18:27:42 +0000"  >&lt;p&gt;ok thanks&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="18034">LU-3005</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="17914">LU-2974</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="18034">LU-3005</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|hzvlkv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7263</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>