<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:50:25 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-5315] mkfs.lustre FATAL: unhandled fs type 1 &apos;ldiskfs&apos;</title>
                <link>https://jira.whamcloud.com/browse/LU-5315</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;I hit this error when I run mkfs.lustre as before:&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;[root@centos6-1 tests]# LOAD=yes sh llmount.sh 
Loading modules from /root/master/lustre/tests/..
detected 2 online CPUs by sysfs
Force libcfs to create 2 CPU partitions
../libcfs/libcfs/libcfs options: &apos;cpu_npartitions=2&apos;
debug=vfstrace rpctrace dlmtrace neterror ha config 		      ioctl super lfsck
subsystem_debug=all -lnet -lnd -pinger
gss/krb5 is not supported
quota/lquota options: &apos;hash_lqs_cur_bits=3&apos;
[root@centos6-1 tests]# ../utils/mkfs.lustre --mgs --fsname=lustre --mdt --index=0 --backfstype=ldiskfs --device-size=200000 --reformat /tmp/lustre-mdt1

mkfs.lustre FATAL: unhandled fs type 1 &apos;ldiskfs&apos;

mkfs.lustre FATAL: unable to prepare backend (22)
mkfs.lustre: exiting with 22 (Invalid argument)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It happened because load_backfs_module(mount_type=LDD_MT_LDISKFS) failed in osd_init(). Running gdb showed&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;468			dirname = getenv(&lt;span class=&quot;code-quote&quot;&gt;&quot;LUSTRE&quot;&lt;/span&gt;);
(gdb) n
469			&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (dirname) {
(gdb) p dirname
$1 = 0x0
(gdb) n
507			&lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; NULL;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Failed to use locally built modules.&lt;/p&gt;

&lt;p&gt;This code is from the patch &lt;a href=&quot;http://review.whamcloud.com/#/c/10468&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/10468&lt;/a&gt;. &lt;/p&gt;</description>
                <environment></environment>
        <key id="25516">LU-5315</key>
            <summary>mkfs.lustre FATAL: unhandled fs type 1 &apos;ldiskfs&apos;</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</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="5">Cannot Reproduce</resolution>
                                        <assignee username="emoly.liu">Emoly Liu</assignee>
                                    <reporter username="emoly.liu">Emoly Liu</reporter>
                        <labels>
                    </labels>
                <created>Thu, 10 Jul 2014 09:25:54 +0000</created>
                <updated>Fri, 1 Sep 2023 16:53:08 +0000</updated>
                            <resolved>Fri, 28 Feb 2020 00:00:47 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="88682" author="emoly.liu" created="Thu, 10 Jul 2014 09:28:23 +0000"  >&lt;p&gt;Nathaniel, I&apos;m cooking the patch, but if you have a patch for that, please go ahead. Thanks.&lt;/p&gt;</comment>
                            <comment id="88733" author="adilger" created="Thu, 10 Jul 2014 17:28:40 +0000"  >&lt;p&gt;Probably the best fix is to use a relative path if mkfs.lustre (argv&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;) is itself called with a relative path.&lt;/p&gt;</comment>
                            <comment id="88799" author="emoly.liu" created="Fri, 11 Jul 2014 06:42:18 +0000"  >&lt;p&gt;The patch is at &lt;a href=&quot;http://review.whamcloud.com/11063&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/11063&lt;/a&gt; .&lt;/p&gt;</comment>
                            <comment id="89073" author="rread" created="Tue, 15 Jul 2014 17:54:54 +0000"  >&lt;p&gt;Why not just set LUSTRE?&lt;/p&gt;</comment>
                            <comment id="89169" author="adilger" created="Tue, 15 Jul 2014 23:18:23 +0000"  >&lt;p&gt;LUSTRE is set by the test scripts via &lt;tt&gt;$(dirname $0)/..&lt;/tt&gt; in most cases anyway, and this returns the functionality to what it was before we made mkfs.lustre require an external library to have basic functionality.&lt;/p&gt;</comment>
                            <comment id="89170" author="adilger" created="Tue, 15 Jul 2014 23:19:59 +0000"  >&lt;p&gt;Also, if LUSTRE is statically set in the user&apos;s environment, it will become incorrect (in a potentially hard to diagnose manner) if they are testing from different build trees, which is exactly the situation that developers who need this change will be in.&lt;/p&gt;</comment>
                            <comment id="89171" author="rread" created="Tue, 15 Jul 2014 23:51:19 +0000"  >&lt;p&gt;Your comment about a static LUSTRE being set applies to current patch as well, since LUSTRE is evaluated first.  Hopefully developers are using a test script (like llmount.sh) which should set LUSTRE correctly for them.  For situations where the utilities are used directly, perhaps it would be better to specify the module directory with a  command line option instead of LUSTRE should the developer need to override the default of $(dirname $0).   If there is no need to override that default, then we probably don&apos;t need to evaluate $LUSTRE  anymore. &lt;/p&gt;
</comment>
                            <comment id="89838" author="emoly.liu" created="Wed, 23 Jul 2014 10:06:31 +0000"  >&lt;p&gt;mount.lustre is always invoked from /sbin by mount and even relative path doesn&apos;t work for this situation. So I cook a patch to specify the mount plugin modules directory with a command line option, as Robert&amp;amp;Ned Bass suggested.&lt;/p&gt;

&lt;p&gt;Since this new option will break some test scripts, I will upload the patch for a full test only first, and then request for review after it passes the test.&lt;/p&gt;</comment>
                            <comment id="100855" author="jlevi" created="Fri, 5 Dec 2014 18:34:23 +0000"  >&lt;p&gt;Emoly,&lt;br/&gt;
Is this issue still happening on Master?&lt;/p&gt;</comment>
                            <comment id="100919" author="emoly.liu" created="Mon, 8 Dec 2014 07:12:58 +0000"  >&lt;p&gt;Jodi, yes, this problem is still happening on Master. Per Ned Bass&apos; comment, the patch needs to be improved to use libtool to  parse plugin path.&lt;/p&gt;

&lt;p&gt;Since I have been busy with CDH5 components study and testing these months, I didn&apos;t get a chance to improve this patch. I will keep working on it later.&lt;/p&gt;</comment>
                            <comment id="264202" author="adilger" created="Fri, 28 Feb 2020 00:00:47 +0000"  >&lt;p&gt;Close old bug that hasn&apos;t been seen in a long time.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="77731">LU-17079</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|hzwr27:</customfieldvalue>

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