<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:27:36 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-2718] Unable to re-mount OST (-17)</title>
                <link>https://jira.whamcloud.com/browse/LU-2718</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Seen in a 2.3.58 build. &lt;/p&gt;

&lt;p&gt;The error messages here are similar to &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2110&quot; title=&quot;Unable to mount (-17) MDT&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2110&quot;&gt;&lt;del&gt;LU-2110&lt;/del&gt;&lt;/a&gt;, but these occur when mounting a target right after a umount. This is easily reproducible in my test environment. &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;2013-01-30 22:11:47,707 [1494] shell.run: [&apos;mount&apos;, &apos;-t&apos;, &apos;lustre&apos;, &apos;/dev/sdf&apos;, &apos;/mnt/targets/scratch-OST0009&apos;]
2013-01-30 22:11:47,948 [1494] ERR&amp;gt; mount.lustre: mount /dev/xvdj at /mnt/targets/scratch-OST0009 failed: File exists
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Messages:&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;LustreError: 1634:0:(genops.c:318:class_newdev()) Device scratch-MDT0000-osp-OST0009 already exists at 4, won&apos;t add
LustreError: 1634:0:(obd_config.c:374:class_attach()) Cannot create device scratch-MDT0000-osp-OST0009 of type osp : -17
LustreError: 1634:0:(obd_mount.c:373:lustre_start_simple()) scratch-MDT0000-osp-OST0009 attach error -17
LustreError: 1634:0:(obd_mount.c:1137:lustre_osp_setup()) scratch-MDT0000-osp-OST0009: setup up failed: rc -17
LustreError: 15c-8: MGC10.197.11.79@tcp: The configuration from log &apos;scratch-client&apos; failed (-17). This may be the result of communication errors between this node and the MGS, a bad configuration, or other errors. See the syslog for more information.
LustreError: 1598:0:(obd_mount.c:1865:server_start_targets()) scratch-OST0009: failed to start OSP: -17
LustreError: 1598:0:(obd_mount.c:2400:server_fill_super()) Unable to start targets: -17
LustreError: 1598:0:(obd_mount.c:1365:lustre_disconnect_osp()) Can&apos;t find osp-on-ost scratch-MDT0000-osp-OST0009
LustreError: 1598:0:(obd_mount.c:2114:server_put_super()) scratch-OST0009: failed to disconnect osp-on-ost (rc=-2)!
Lustre: Failing over scratch-OST0009
LustreError: 1598:0:(obd_mount.c:1420:lustre_stop_osp()) Can not find osp-on-ost scratch-MDT0000-osp-OST0009
LustreError: 1598:0:(obd_mount.c:2159:server_put_super()) scratch-OST0009: Fail to stop osp-on-ost!
Lustre: server umount scratch-OST0009 complete
LustreError: 1598:0:(obd_mount.c:2988:lustre_fill_super()) Unable to mount  (-17)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;From reading the debug log (attached), the osp device is not cleaned up until a few seconds after the initial umount completes.  In the meantime, there were two unsuccessful mount attemps.  After the osp device was cleaned up, I was able to mount. &lt;/p&gt;

&lt;p&gt;Would it be possible to block umount on this device cleanup?&lt;/p&gt;</description>
                <environment></environment>
        <key id="17376">LU-2718</key>
            <summary>Unable to re-mount OST (-17)</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="rread">Robert Read</reporter>
                        <labels>
                    </labels>
                <created>Wed, 30 Jan 2013 19:00:43 +0000</created>
                <updated>Wed, 11 Oct 2017 19:17:31 +0000</updated>
                            <resolved>Wed, 11 Oct 2017 19:17:31 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="51504" author="brian" created="Wed, 30 Jan 2013 21:30:42 +0000"  >&lt;p&gt;I&apos;ve seen this in 2.1.x also.  I ended up just putting mount in a loop.  I thought I had filed a bug about it but can&apos;t seem to find it any more.&lt;/p&gt;</comment>
                            <comment id="51519" author="bzzz" created="Thu, 31 Jan 2013 03:38:09 +0000"  >&lt;p&gt;we did hit this in some conf-sanity tests, a workaround was to unload modules. but this isn&apos;t quite the solution, of course.&lt;/p&gt;</comment>
                            <comment id="51545" author="rread" created="Thu, 31 Jan 2013 12:13:08 +0000"  >&lt;p&gt;Obviously unloading modules isn&apos;t particularly convenient when there is more than one target on the node, but luckily it doesn&apos;t appear to be necessary as eventually the device does get cleaned up.  It looks like it&apos;s kept alive waiting on the export, btw. For now I added a sleep and retry, like Brian it seems. &lt;/p&gt;</comment>
                            <comment id="51815" author="adilger" created="Tue, 5 Feb 2013 16:04:42 +0000"  >&lt;p&gt;There is also a &quot;--retry&quot; option to mount.lustre that can be used instead of having an external loop.  It will sleep an increasing interval from 0s up to 5s between retries.&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|hzvia7:</customfieldvalue>

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