<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:07:08 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-14135] lfs df --pool incorrectly iterates over every FS when no path is provided</title>
                <link>https://jira.whamcloud.com/browse/LU-14135</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Having several Lustre filesystems mounted on the same node will result in &lt;tt&gt;lfs df --pool ...&lt;/tt&gt; misbehaving and reporting either the same information multiple times (if the same FS is mounted multiple times), or printing error 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;$ lfs getname
fs0-abcdefabcdefabcd /mnt/fs0
fs1-abcdefabcdefabcd /mnt/fs1
$ lfs pool_list /mnt/fs0
Pools from fs0:
fs0.pool0
$ lfs df --pool fs0.pool0
&amp;lt;normal output&amp;gt;
filesystem name incorrect
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Looking at the implementation of &lt;tt&gt;lfs df&lt;/tt&gt; in &lt;tt&gt;lustre/utils/lfs.c&lt;/tt&gt; I think what is happening is pretty straightforward: since no path is provided, &lt;tt&gt;lfs df&lt;/tt&gt; assumes it should iterate on all available Lustre FS, diregarding the fact that the poolname provided on the command line points at a specific FS.&lt;/p&gt;

&lt;p&gt;Note that the behaviour of iterating on all the filesystems returned by &lt;tt&gt;llapi_search_mounts()&lt;/tt&gt; is not entirely correct anyway, as multiple bind mounts are reported as separate filesystems (which makes the output confusing).&lt;/p&gt;

&lt;p&gt;Iterating on the FS names would be better.&lt;/p&gt;</description>
                <environment></environment>
        <key id="61656">LU-14135</key>
            <summary>lfs df --pool incorrectly iterates over every FS when no path is provided</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="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="bougetq">Quentin Bouget</reporter>
                        <labels>
                    </labels>
                <created>Thu, 12 Nov 2020 15:01:54 +0000</created>
                <updated>Thu, 12 Nov 2020 15:01:54 +0000</updated>
                                            <version>Upstream</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                    <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|i01f3r:</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>