<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:41:26 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-4294] lctl dl does not show inactive state for deactivated OST</title>
                <link>https://jira.whamcloud.com/browse/LU-4294</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;I deactivate an OST with&lt;/p&gt;

&lt;p&gt;lctl --device 56 deactivate&lt;/p&gt;

&lt;p&gt;56 being the first column number of &quot;lctl dl&quot; output.&lt;/p&gt;


&lt;p&gt;After this &quot;lctl dl&quot; still shows the OST as &quot;UP&quot;:&lt;/p&gt;

&lt;p&gt;56 UP osp vegas-OST0059-osc-MDT0000 vegas-MDT0000-mdtlov_UUID 5&lt;/p&gt;

&lt;p&gt;Doing a&lt;/p&gt;

&lt;p&gt;cat /proc/fs/lustre/lov/vegas-MDT0000-mdtlov/target_obd&lt;/p&gt;

&lt;p&gt;however shows the OST set to INACTIVE:&lt;/p&gt;

&lt;p&gt;89: vegas-OST0059_UUID INACTIVE&lt;/p&gt;
</description>
                <environment>Lustre 2.4.1 RHEL6 2.6.32-358.18.1.el6_lustre.x86_64</environment>
        <key id="22209">LU-4294</key>
            <summary>lctl dl does not show inactive state for deactivated OST</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="3">Duplicate</resolution>
                                        <assignee username="emoly.liu">Emoly Liu</assignee>
                                    <reporter username="wbaudler">Wolfgang Baudler</reporter>
                        <labels>
                            <label>server</label>
                    </labels>
                <created>Fri, 22 Nov 2013 13:53:07 +0000</created>
                <updated>Fri, 18 Apr 2014 02:38:03 +0000</updated>
                            <resolved>Fri, 18 Apr 2014 02:38:03 +0000</resolved>
                                    <version>Lustre 2.4.1</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="72423" author="adilger" created="Wed, 27 Nov 2013 19:05:00 +0000"  >&lt;p&gt;&quot;UP&quot; means the device is configured, it is not the same thing as INACTIVE.&lt;/p&gt;</comment>
                            <comment id="73666" author="rlaifer" created="Tue, 17 Dec 2013 10:30:36 +0000"  >&lt;p&gt;This seems to have changed between Lustre 1.8 and Lustre 2.x: With Lustre 1.8 &quot;lctl dl&quot; reported &quot;IN&quot;.&lt;br/&gt;
Therefore, the question is if this change was intended since it might confuse administrators (like me). &lt;br/&gt;
Also, if the change was intended the Lustre 2.x manual has to be adapted, e.g. chapter 18.8.3 and chapter 19.1.2.&lt;/p&gt;</comment>
                            <comment id="75079" author="pjones" created="Thu, 16 Jan 2014 12:57:04 +0000"  >&lt;p&gt;Emoly&lt;/p&gt;

&lt;p&gt;Could you please look into this one?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="75341" author="emoly.liu" created="Tue, 21 Jan 2014 07:33:39 +0000"  >&lt;p&gt;I have a check at Lustre 2.x manual and find it does say &quot;lctl dl&quot; reports &quot;IN&quot;. But I think the example should be older than b2_4, because since b2_4 OSP has been added to replace OSC connected from MDS.&lt;/p&gt;

&lt;p&gt;The following values are part of &quot;lctl dl&quot; from b2_3 and master branch respectively.&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;b2_3:
 10 UP mdc lustre-MDT0000-mdc-ffff88003c798000 aff4df3d-483c-c37a-bed4-19f17dd103ed 5
 11 UP osc lustre-OST0000-osc-ffff88003c798000 aff4df3d-483c-c37a-bed4-19f17dd103ed 5
 12 UP osc lustre-OST0001-osc-ffff88003c798000 aff4df3d-483c-c37a-bed4-19f17dd103ed 5
 13 UP osc lustre-OST0000-osc-MDT0000 lustre-MDT0000-mdtlov_UUID 5
 14 UP osc lustre-OST0001-osc-MDT0000 lustre-MDT0000-mdtlov_UUID 5
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;master:
 18 UP mdc lustre-MDT0000-mdc-ffff88002379b800 67d79455-bc1e-4856-d567-68656b793b34 5
 19 UP osc lustre-OST0000-osc-ffff88002379b800 67d79455-bc1e-4856-d567-68656b793b34 5
 20 UP osc lustre-OST0001-osc-ffff88002379b800 67d79455-bc1e-4856-d567-68656b793b34 5
 21 UP osp lustre-OST0000-osc-MDT0000 lustre-MDT0000-mdtlov_UUID 5
 22 UP osp lustre-OST0001-osc-MDT0000 lustre-MDT0000-mdtlov_UUID 5
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;And the code shows that although OSP can receive de/activated setting by &quot;lctl --device&quot;, osp_import_event() doesn&apos;t call obd_notify() to update obd_inactive status used by &quot;lctl dl&quot;. That&apos;s why we didn&apos;t see &quot;IN&quot; change by deactivating osp device.&lt;/p&gt;</comment>
                            <comment id="75506" author="rlaifer" created="Thu, 23 Jan 2014 16:22:25 +0000"  >&lt;p&gt;Since &quot;lctl dl&quot; output has changed in newer Lustre versions this should be reflected in the Lustre 2.x manual. Can you create a documentation bug?&lt;/p&gt;</comment>
                            <comment id="75511" author="emoly.liu" created="Thu, 23 Jan 2014 17:47:23 +0000"  >&lt;p&gt;Yes, &lt;a href=&quot;https://jira.whamcloud.com/browse/LUDOC-218&quot; title=&quot;update Lustre 2.x manual to reflect OSP changes in &amp;quot;lctl dl&amp;quot; output&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LUDOC-218&quot;&gt;LUDOC-218&lt;/a&gt; is created for doc update.&lt;/p&gt;</comment>
                            <comment id="81898" author="pjones" created="Thu, 17 Apr 2014 23:19:38 +0000"  >&lt;p&gt;Do I understand correctly that this issue is essentially a duplicate of &lt;a href=&quot;https://jira.whamcloud.com/browse/LUDOC-218&quot; title=&quot;update Lustre 2.x manual to reflect OSP changes in &amp;quot;lctl dl&amp;quot; output&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LUDOC-218&quot;&gt;LUDOC-218&lt;/a&gt;?&lt;/p&gt;</comment>
                            <comment id="81909" author="emoly.liu" created="Fri, 18 Apr 2014 02:38:03 +0000"  >&lt;p&gt;Yes, this issue can be marked as a duplicate of &lt;a href=&quot;https://jira.whamcloud.com/browse/LUDOC-218&quot; title=&quot;update Lustre 2.x manual to reflect OSP changes in &amp;quot;lctl dl&amp;quot; output&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LUDOC-218&quot;&gt;LUDOC-218&lt;/a&gt;. And in the future if needed, we can file a new ticket to modify OSP code.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="22855">LUDOC-218</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_10040" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic</customfieldname>
                        <customfieldvalues>
                                        <label>server</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzw9xb:</customfieldvalue>

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