<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:16:39 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-1440] mkfs.lustre: Warning: default mount option `errors=remount-ro&apos; is missing</title>
                <link>https://jira.whamcloud.com/browse/LU-1440</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;I&apos;m not sure if commit 26bb579 really intended to remove &quot;errors=remount-ro&quot; from local.sh, but it apparently introduced a small regression:&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@h221g tests]# MODOPTS_LNET=&quot;networks=tcp(eth1)&quot; sh llmount.sh 
Stopping clients: h221g /mnt/lustre (opts:)
Stopping clients: h221g /mnt/lustre2 (opts:)
Loading modules from /root/lustre-release/lustre/tests/..
debug=vfstrace rpctrace dlmtrace neterror ha config ioctl super
subsystem_debug=all -lnet -lnd -pinger
../lnet/lnet/lnet options: &apos;networks=tcp(eth1)&apos;
gss/krb5 is not supported
quota/lquota options: &apos;hash_lqs_cur_bits=3&apos;
Formatting mgs, mds, osts
Format mds1: /tmp/lustre-mdt1
mkfs.lustre: Warning: default mount option `errors=remount-ro&apos; is missing
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="14570">LU-1440</key>
            <summary>mkfs.lustre: Warning: default mount option `errors=remount-ro&apos; is missing</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="wc-triage">WC Triage</assignee>
                                    <reporter username="liwei">Li Wei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 25 May 2012 04:38:18 +0000</created>
                <updated>Mon, 29 May 2017 03:47:44 +0000</updated>
                            <resolved>Mon, 29 May 2017 03:47:44 +0000</resolved>
                                    <version>Lustre 2.2.0</version>
                    <version>Lustre 2.3.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="39387" author="adilger" created="Fri, 25 May 2012 04:42:57 +0000"  >&lt;p&gt;Hmm, instead of it being included in local.sh, it should be part of mkfs_lustre.c::enable_default_ext4_features() so that it doesn&apos;t cause problems for ZFS-based backing filesystems.  I guess I thought this option was now the default or something...&lt;/p&gt;</comment>
                            <comment id="39526" author="adilger" created="Tue, 29 May 2012 16:41:27 +0000"  >&lt;p&gt;Looking at this more closely, it appears that the mkfs_lustre.c code on master is adding &quot;errors=remount-ro&quot; to the mount options internally.&lt;/p&gt;

&lt;p&gt;Is this problem only seen during interop testing, where the .cfg file is from master, but the mkfs_lustre is running from 2.1.1?  This error message &quot;default mount option `errors=remount-ro&apos; is missing&quot; does not exist in master at all.&lt;/p&gt;</comment>
                            <comment id="39559" author="liwei" created="Tue, 29 May 2012 22:37:26 +0000"  >&lt;p&gt;Peter, I believe this warning is not affecting the testing and should not be a problem for real deployment at all.&lt;/p&gt;

&lt;p&gt;Andreas, on a single VM, an llmount.sh shall easily trigger this warning.  The warning should come from check_mountfsoptions(mountopts, default_mountopts, 0).  Note that mountopts will not be changed by and after the check.&lt;/p&gt;</comment>
                            <comment id="39738" author="pjones" created="Thu, 31 May 2012 12:50:00 +0000"  >&lt;p&gt;ok then I will drop the priority - thanks!&lt;/p&gt;</comment>
                            <comment id="40048" author="adilger" created="Tue, 5 Jun 2012 18:13:16 +0000"  >&lt;p&gt;My bad, the &quot;errors=remount-ro&quot; option was in fact removed and needs to be re-added.  The confusing thing is that in mkfs_lustre.c it is added to the &quot;default_mountopts&quot;, but this is only used to generate this warning message.  The option needs to be added to &quot;always_mountopts&quot; for it to be always added to the mount options, unless &quot;errors=panic&quot; is specified instead.&lt;/p&gt;

&lt;p&gt;This also affects any new filesystems formatted since 26bb579a96efced8825b63b84465334368ecc382 was landed (2.1.56 and later).&lt;/p&gt;</comment>
                            <comment id="40063" author="liwei" created="Tue, 5 Jun 2012 21:42:35 +0000"  >&lt;p&gt;Andreas, the semantics of &quot;--mountfsoptions&quot; was changed a while ago, if I remember it correctly.  From mkfs.lustre(8):&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;       --mountfsoptions=opts
              Set the mount options that will be used when mounting the backing fs.  WARNING: unlike earlier versions of mkfs.lustre, this  ver-
              sion completely replaces the default mount options with those specified on the command line, issuing a warning on stderr if any of
              the  default  mount  options  are  omitted.   The  defaults  for  ldiskfs  are  OST:  errors=remount-ro,mballoc,extents;  MGS/MDT:
              errors=remount-ro,user_xattr.  DO NOT alter the default mount options unless you know what you are doing.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Without &quot;-&lt;del&gt;mountfsoptions&quot;, mkfs.lustre adds &quot;errors=remount-ro&quot; and a few others according to the target type.  Out test scripts should not specifying &quot;&lt;/del&gt;-mountfsoptions&quot; by default, as that is the normal usage we suggest.  (I&apos;m dropping this option by default in my Orion test patches.)&lt;/p&gt;</comment>
                            <comment id="40601" author="pjones" created="Thu, 14 Jun 2012 16:59:52 +0000"  >&lt;p&gt;Dropping priority after discussion on 2.3 call&lt;/p&gt;</comment>
                            <comment id="197372" author="adilger" created="Mon, 29 May 2017 03:47:44 +0000"  >&lt;p&gt;Close old ticket.&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_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzvydr:</customfieldvalue>

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