<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:24:21 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-2336] mds llog_write_rec  &apos;No space left on device&apos;</title>
                <link>https://jira.whamcloud.com/browse/LU-2336</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;I noticed that our MDS logs this message once in while:&lt;br/&gt;
LustreError: 3354:0:(llog_cat.c:298:llog_cat_add_rec()) llog_write_rec -28: lh=ffff8809f8de6780&lt;br/&gt;
LustreError: 20199:0:(llog_cat.c:298:llog_cat_add_rec()) llog_write_rec -28: lh=ffff8809c6b299c0&lt;br/&gt;
LustreError: 32022:0:(llog_cat.c:298:llog_cat_add_rec()) llog_write_rec -28: lh=ffff8804dd524d80&lt;br/&gt;
LustreError: 32015:0:(llog_cat.c:298:llog_cat_add_rec()) llog_write_rec -28: lh=ffff8804dd76af00&lt;/p&gt;</description>
                <environment>&lt;br/&gt;
[&lt;a href=&apos;mailto:root@n-mds1&apos;&gt;root@n-mds1&lt;/a&gt; ~]# cat /proc/fs/lustre/version &lt;br/&gt;
lustre: 2.2.0 &lt;br/&gt;
kernel: patchless_client &lt;br/&gt;
build: 2.2.0-RC2--PRISTINE-2.6.32-220.4.2.el6_lustre.x86_64 &lt;br/&gt;
&lt;br/&gt;
[&lt;a href=&apos;mailto:root@n-mds1&apos;&gt;root@n-mds1&lt;/a&gt; ~]# uname -r &lt;br/&gt;
2.6.32-220.4.2.el6_lustre.x86_64 &lt;br/&gt;
&lt;br/&gt;
[&lt;a href=&apos;mailto:root@n-mds1&apos;&gt;root@n-mds1&lt;/a&gt; ~]# rpm -qa|grep lustre &lt;br/&gt;
lustre-ldiskfs-3.3.0-2.6.32_220.4.2.el6_lustre.x86_64.x86_64 &lt;br/&gt;
lustre-2.2.0-2.6.32_220.4.2.el6_lustre.x86_64.x86_64 &lt;br/&gt;
kernel-firmware-2.6.32-220.4.2.el6_lustre.x86_64 &lt;br/&gt;
lustre-modules-2.2.0-2.6.32_220.4.2.el6_lustre.x86_64.x86_64 &lt;br/&gt;
kernel-headers-2.6.32-220.4.2.el6_lustre.x86_64 &lt;br/&gt;
kernel-2.6.32-220.4.2.el6_lustre.x86_64 &lt;br/&gt;
kernel-devel-2.6.32-220.4.2.el6_lustre.x86_64</environment>
        <key id="16689">LU-2336</key>
            <summary>mds llog_write_rec  &apos;No space left on device&apos;</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="ethz.support">ETHz Support</reporter>
                        <labels>
                            <label>metadata</label>
                            <label>mn1</label>
                            <label>shh</label>
                    </labels>
                <created>Thu, 15 Nov 2012 10:07:28 +0000</created>
                <updated>Sat, 15 Mar 2014 21:01:47 +0000</updated>
                            <resolved>Sat, 8 Mar 2014 01:22:32 +0000</resolved>
                                    <version>Lustre 2.2.0</version>
                    <version>Lustre 2.1.2</version>
                                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="47840" author="ethz.support" created="Thu, 15 Nov 2012 10:09:36 +0000"  >&lt;p&gt;Could be a problem? This is not related with the mds crashes that I have described in the &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2323&quot; title=&quot;mds crash&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2323&quot;&gt;&lt;del&gt;LU-2323&lt;/del&gt;&lt;/a&gt; issue.&lt;/p&gt;

&lt;p&gt;thanks in advance&lt;/p&gt;</comment>
                            <comment id="47855" author="pjones" created="Thu, 15 Nov 2012 11:12:43 +0000"  >&lt;p&gt;Hongchao&lt;/p&gt;

&lt;p&gt;Could you please comment on this one?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="47923" author="hongchao.zhang" created="Fri, 16 Nov 2012 07:41:08 +0000"  >&lt;p&gt;no, this should be not a problem, the PIDs in these logs are different, a new llog file will be created if the current one&lt;br/&gt;
is full, and if there are two logs with same PID in a row, then it could indicate there is some problem. the related codes is,&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;        &lt;span class=&quot;code-comment&quot;&gt;/* now let&apos;s &lt;span class=&quot;code-keyword&quot;&gt;try&lt;/span&gt; to add the record */&lt;/span&gt;
        rc = llog_write_rec(env, loghandle, rec, reccookie, 1, buf, -1, th);
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (rc &amp;lt; 0)
                CERROR(&lt;span class=&quot;code-quote&quot;&gt;&quot;llog_write_rec %d: lh=%p\n&quot;&lt;/span&gt;, rc, loghandle);
        cfs_up_write(&amp;amp;loghandle-&amp;gt;lgh_lock);
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (rc == -ENOSPC) {
                &lt;span class=&quot;code-comment&quot;&gt;/* &lt;span class=&quot;code-keyword&quot;&gt;try&lt;/span&gt; to use next log */&lt;/span&gt;
                loghandle = llog_cat_current_log(cathandle, th);
                LASSERT(!IS_ERR(loghandle));
                &lt;span class=&quot;code-comment&quot;&gt;/* &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; llog can be created concurrently */&lt;/span&gt;
                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (!llog_exist(loghandle)) {
                        rc = llog_cat_new_log(env, cathandle, loghandle, th);
                        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (rc &amp;lt; 0) {
                                cfs_up_write(&amp;amp;loghandle-&amp;gt;lgh_lock);
                                RETURN(rc);
                        }
                }
                &lt;span class=&quot;code-comment&quot;&gt;/* now let&apos;s &lt;span class=&quot;code-keyword&quot;&gt;try&lt;/span&gt; to add the record */&lt;/span&gt;
                rc = llog_write_rec(env, loghandle, rec, reccookie, 1, buf,
                                    -1, th);
                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (rc &amp;lt; 0)
                        CERROR(&lt;span class=&quot;code-quote&quot;&gt;&quot;llog_write_rec %d: lh=%p\n&quot;&lt;/span&gt;, rc, loghandle);
                cfs_up_write(&amp;amp;loghandle-&amp;gt;lgh_lock);
        }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="49216" author="prakash" created="Thu, 13 Dec 2012 17:23:19 +0000"  >&lt;p&gt;We&apos;re seeing this in production here at LLNL, and it is confusing our admins. If the message is harmless, it really should be removed (or at least masked behind a CDEBUG flag).&lt;/p&gt;</comment>
                            <comment id="51017" author="hongchao.zhang" created="Wed, 23 Jan 2013 04:40:56 +0000"  >&lt;p&gt;the patch is tracked at &lt;a href=&quot;http://review.whamcloud.com/#change,5146&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,5146&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="56646" author="jlevi" created="Fri, 19 Apr 2013 21:50:07 +0000"  >&lt;p&gt;With Change, 5146 landed can this ticket be closed?&lt;/p&gt;</comment>
                            <comment id="78793" author="jfc" created="Sat, 8 Mar 2014 01:22:32 +0000"  >&lt;p&gt;Patch provided and landed.&lt;/p&gt;</comment>
                    </comments>
                    <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_10040" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic</customfieldname>
                        <customfieldvalues>
                                        <label>metadata</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzvcbr:</customfieldvalue>

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