<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:01:47 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-6620] Can not Re-use loop device for MDT once unmounted from Lustre, throws error : device is busy </title>
                <link>https://jira.whamcloud.com/browse/LU-6620</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Hi, &lt;br/&gt;
Pre-requisite to reproduce this bug :&lt;br/&gt;
1. A single Scientific Linux (release 6.6) VM, with min 1 GB memory and &lt;br/&gt;
50GB disk space.&lt;br/&gt;
2. A lustre setup 2.7.51 up and running on the above VM, in my case all &lt;br/&gt;
lustre components are configured on the same VM .&lt;br/&gt;
3. I have added 2 extra MDTs of 20 GB each to the lustre setup, the MDTs were configured on two loop devices.&lt;br/&gt;
===================================&lt;br/&gt;
Steps to reproduce the issue :&lt;br/&gt;
===================================&lt;br/&gt;
1. run dd command to generate some IO on the lustre filesystem .&lt;br/&gt;
( dd if=/dev/zero of=/mnt/lustre/test bs=512M count=10).&lt;br/&gt;
2. Once IOs are completed , stop Lustre filesystem , i had executed &lt;br/&gt;
lustrecleanup.sh script (../lustre-release/lustre/tests/llmountcleanup.sh) &lt;br/&gt;
to unmount/stop the lustre.&lt;br/&gt;
3.Then  I had unmounted those two extra MDTs manually using command &lt;br/&gt;
    &amp;lt; umount -f /mnt/mds2&amp;gt;&lt;br/&gt;
     &amp;lt; umount -f /mnt/mds3&amp;gt;&lt;br/&gt;
4.Later when I remounted the lustre with llmount.sh script , Lustre got mounted successfully. But as Soon as I tried to bring back those two loop devices on which previously both the MDTs were configured , started throwing &quot;device is busy&quot; message.&lt;br/&gt;
=========================&lt;br/&gt;
Busy message  on the command prompt&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; when I wanted to bring back two additional MDTs on the same loops devices used before for MDTs)&lt;br/&gt;
------------------------------------------------------------------&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@localhost ~&amp;#93;&lt;/span&gt;# losetup /dev/loop7 /home/MGS_MDT&lt;br/&gt;
losetup: /dev/loop7: device is busy&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@localhost ~&amp;#93;&lt;/span&gt;#&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@localhost ~&amp;#93;&lt;/span&gt;#&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@localhost ~&amp;#93;&lt;/span&gt;# losetup /dev/loop6 /home/MGS_MDT3&lt;br/&gt;
losetup: /dev/loop6: device is busy&lt;br/&gt;
==============================================&lt;/p&gt;

&lt;p&gt;Before the Test&lt;br/&gt;
=============&lt;br/&gt;
lfs df -h&lt;br/&gt;
UUID                       bytes        Used   Available Use% Mounted on&lt;br/&gt;
lustre-MDT0000_UUID         7.2G      435.8M        6.2G   6% /mnt/lustre&lt;span class=&quot;error&quot;&gt;&amp;#91;MDT:0&amp;#93;&lt;/span&gt;&lt;br/&gt;
lustre-MDT0001_UUID        15.0G      869.1M       13.1G   6% /mnt/lustre&lt;span class=&quot;error&quot;&gt;&amp;#91;MDT:1&amp;#93;&lt;/span&gt;&lt;br/&gt;
lustre-MDT0002_UUID        15.0G      869.1M       13.1G   6% /mnt/lustre&lt;span class=&quot;error&quot;&gt;&amp;#91;MDT:2&amp;#93;&lt;/span&gt;&lt;br/&gt;
lustre-OST0000_UUID        14.9G      441.4M       13.7G   3% /mnt/lustre&lt;span class=&quot;error&quot;&gt;&amp;#91;OST:0&amp;#93;&lt;/span&gt;&lt;br/&gt;
lustre-OST0001_UUID        14.9G      441.4M       13.7G   3% /mnt/lustre&lt;span class=&quot;error&quot;&gt;&amp;#91;OST:1&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;filesystem summary:        29.9G      882.8M       27.5G   3% /mnt/lustre&lt;/p&gt;

&lt;p&gt;===================================================&lt;br/&gt;
Unmounting Lustre:&lt;br/&gt;
===================&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@localhost ~&amp;#93;&lt;/span&gt;# sh /var/lib/jenkins/jobs/Lustre-New-Test/workspace/default/lustre-release/lustre/tests/llmountcleanup.sh&lt;br/&gt;
==============================&lt;br/&gt;
Unmounting the additional MDTs&lt;br/&gt;
==============================&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@localhost ~&amp;#93;&lt;/span&gt;# umount -f /mnt/mds2&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@localhost ~&amp;#93;&lt;/span&gt;# umount -f /mnt/mds3&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@localhost ~&amp;#93;&lt;/span&gt;#&lt;br/&gt;
====================================================&lt;/p&gt;

&lt;p&gt;Mounting the Lustre again :&lt;br/&gt;
=========================&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@localhost ~&amp;#93;&lt;/span&gt;# sh /var/lib/jenkins/jobs/Lustre-New-Test/workspace/default/lustre-release/lustre/tests/llmount.sh&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@localhost ~&amp;#93;&lt;/span&gt;# lfs df -h&lt;/p&gt;

&lt;p&gt;UUID                       bytes        Used   Available Use% Mounted on&lt;br/&gt;
lustre-MDT0000_UUID         7.2G      435.7M        6.2G   6% /mnt/lustre&lt;span class=&quot;error&quot;&gt;&amp;#91;MDT:0&amp;#93;&lt;/span&gt;&lt;br/&gt;
lustre-OST0000_UUID        14.9G      441.1M       13.7G   3% /mnt/lustre&lt;span class=&quot;error&quot;&gt;&amp;#91;OST:0&amp;#93;&lt;/span&gt;&lt;br/&gt;
======================&lt;br/&gt;
Trying to bring back  additional MDTs using same loop devices used before:&lt;br/&gt;
=============================================&lt;br/&gt;
lustre-OST0001_UUID        14.9G      441.1M       13.7G   3% /mnt/lustre&lt;span class=&quot;error&quot;&gt;&amp;#91;OST:1&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;filesystem summary:        29.9G      882.2M       27.5G   3% /mnt/lustre&lt;br/&gt;
======================&lt;br/&gt;
Attaching var/log/messages&lt;br/&gt;
Attaching dmesgs&lt;br/&gt;
Attaching kernel.log&lt;/p&gt;

&lt;p&gt;===========================&lt;br/&gt;
Thanks,&lt;br/&gt;
Paramita Varma&lt;/p&gt;
</description>
                <environment>Scientific Linux release 6.6 (Carbon)&lt;br/&gt;
[&lt;a href=&apos;mailto:root@localhost&apos;&gt;root@localhost&lt;/a&gt; ~]# uname -r&lt;br/&gt;
2.6.32.431.5.1.el6_lustre&lt;br/&gt;
</environment>
        <key id="30233">LU-6620</key>
            <summary>Can not Re-use loop device for MDT once unmounted from Lustre, throws error : device is busy </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="5">Cannot Reproduce</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="paramitavarma">Paramita varma</reporter>
                        <labels>
                            <label>mdt</label>
                    </labels>
                <created>Tue, 19 May 2015 10:18:39 +0000</created>
                <updated>Wed, 5 Aug 2020 21:59:32 +0000</updated>
                            <resolved>Wed, 5 Aug 2020 21:59:32 +0000</resolved>
                                    <version>Lustre 2.7.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                    <attachments>
                            <attachment id="17823" name="LogMessagesfor-DeviceBusy" size="823643" author="paramitavarma" created="Tue, 19 May 2015 10:18:39 +0000"/>
                            <attachment id="17821" name="dmesg-for-deviceBusy.txt" size="83259" author="paramitavarma" created="Tue, 19 May 2015 10:18:39 +0000"/>
                            <attachment id="17822" name="kernel.log" size="1733284" author="paramitavarma" created="Tue, 19 May 2015 10:18:39 +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_10040" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic</customfieldname>
                        <customfieldvalues>
                                        <label>client</label>
            <label>metadata</label>
            <label>mount</label>
            <label>server</label>
            <label>test</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10030" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic/Theme</customfieldname>
                        <customfieldvalues>
                                        <label>Lustre-2.5.2</label>
            <label>test</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10070" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Project</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10032"><![CDATA[Test Infrastructure]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzxdof:</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>