<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:57: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-12983] OBD_IOC_LLOG_PRINT failed: No such file or directory</title>
                <link>https://jira.whamcloud.com/browse/LU-12983</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Trying to print out params log we get error&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;
 # lctl --device MGS  llog_print param 
OBD_IOC_LLOG_PRINT failed: No such file or directory
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I dumped the params file via debugfs. It looks fine. It does have 216 records.&lt;/p&gt;

&lt;p&gt;Here is strace out&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;
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x66, 0x7f, 0x08), 0x7fffffffc9d0) = 0
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x66, 0xc0, 0x08), 0x7fffffffc9d0) = -1 ENOENT (No such file or directory)
write(2, &lt;span class=&quot;code-quote&quot;&gt;&quot;OBD_IOC_LLOG_PRINT failed: No su&quot;&lt;/span&gt;..., 53OBD_IOC_LLOG_PRINT failed: No such file or directory
) = 53
rt_sigaction(SIGINT, {0x40a140, ~[RTMIN RT_1], SA_RESTORER|SA_RESTART, 0x2aaaaaf0b5f0}, NULL, 8) = 0
exit_group(1)                           = ?
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="57417">LU-12983</key>
            <summary>OBD_IOC_LLOG_PRINT failed: No such file or directory</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="4">Incomplete</resolution>
                                        <assignee username="pjones">Peter Jones</assignee>
                                    <reporter username="mhanafi">Mahmoud Hanafi</reporter>
                        <labels>
                    </labels>
                <created>Tue, 19 Nov 2019 21:51:06 +0000</created>
                <updated>Fri, 19 Nov 2021 19:52:28 +0000</updated>
                            <resolved>Wed, 6 Jan 2021 13:14:40 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="258639" author="green" created="Thu, 21 Nov 2019 15:59:15 +0000"  >&lt;p&gt;hm, I suspect this might be because MGS is not up or something like that?&lt;/p&gt;

&lt;p&gt;can you please enable -1 debug log (lctl set_param_debug=-1) repeat the llog_print lctl command and thel do &quot;lctl dk &amp;gt;/tmp/log&quot;&lt;/p&gt;

&lt;p&gt;if this is a working system that you are using you might want to capture &quot;lctl get_param debug&quot; output first and then restore it by repeating lctl set_param debug= with that output afterwards.&lt;/p&gt;</comment>
                            <comment id="258640" author="green" created="Thu, 21 Nov 2019 16:12:46 +0000"  >&lt;p&gt;also please do &quot;lctl dl&quot; and attach the output as well.&lt;/p&gt;</comment>
                            <comment id="258652" author="mhanafi" created="Thu, 21 Nov 2019 19:10:31 +0000"  >&lt;p&gt;Got the debug output requested.&lt;br/&gt;
 &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/attachment/33893/33893_debug.tgz&quot; title=&quot;debug.tgz attached to LU-12983&quot;&gt;debug.tgz&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.whamcloud.com/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;</comment>
                            <comment id="258708" author="adilger" created="Fri, 22 Nov 2019 19:32:51 +0000"  >&lt;p&gt;Did you try &quot;&lt;tt&gt;lctl --device MGS llog_print &lt;b&gt;params&lt;/b&gt;&lt;/tt&gt;&quot; (note the &apos;&lt;b&gt;s&lt;/b&gt;&apos; at the end)? &#160;That is the name of the parameter file, not &quot;param&quot;.&lt;/p&gt;</comment>
                            <comment id="258709" author="adilger" created="Fri, 22 Nov 2019 19:34:26 +0000"  >&lt;p&gt;Note, if this is documented incorrectly somewhere, please let us know so that the documentation can be fixed.&#160;&lt;/p&gt;</comment>
                            <comment id="258711" author="adilger" created="Fri, 22 Nov 2019 19:59:59 +0000"  >&lt;p&gt;PS: what Lustre version is in use here? The &quot;&lt;tt&gt;Affects Version:&lt;/tt&gt;&quot; field is blank.&#160;I&apos;m seeing similar issues with an older 2.10, but I believe this is fixed in 2.12. &lt;/p&gt;</comment>
                            <comment id="258713" author="adilger" created="Fri, 22 Nov 2019 20:17:04 +0000"  >&lt;p&gt;PPS: as a temporary workaround, you can use the following commands to dump this log:&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;debugfs -c -R &quot;dump CONFIGS/params /tmp/debug&quot; /dev/&amp;lt;mgt_device&amp;gt;
llog_reader /tmp/debug
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Where the &lt;tt&gt;&amp;lt;mgt_device&amp;gt;&lt;/tt&gt; is the block device where the MGT info is stored (may be MDT device, or standalone MGT device).&lt;/p&gt;</comment>
                            <comment id="258715" author="mhanafi" created="Fri, 22 Nov 2019 20:37:46 +0000"  >&lt;p&gt;This filesystem was just upgraded to l2.12.2 and we started to see this issue. FYI the filesystem was created with l2.4. The command was working in l2.10.8.&#160; &lt;/p&gt;

&lt;p&gt;The missing &quot;s&quot; was a cut and past issue.&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;
# lctl --device MGS llog_print params
OBD_IOC_LLOG_PRINT failed: Inappropriate ioctl &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; device
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="288753" author="mhanafi" created="Wed, 6 Jan 2021 01:31:36 +0000"  >&lt;p&gt;We can close this for now&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="33893" name="debug.tgz" size="163255" author="mhanafi" created="Thu, 21 Nov 2019 19:10:17 +0000"/>
                    </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|i00pnr:</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>