<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:07:45 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-7307] quota output</title>
                <link>https://jira.whamcloud.com/browse/LU-7307</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;We would like the default quota output improved to make it easier&lt;br/&gt;
to understand for users who are unfamiliar with Lustre.  &lt;/p&gt;

&lt;p&gt;This has been a frequent question from our users about quotas for &lt;br/&gt;
years now.  &lt;br/&gt;
  &quot;I&apos;m under quota, but the quota command says I&apos;m over???&quot;&lt;/p&gt;

&lt;p&gt;The fact that the quota command shows only the use and the quota,&lt;br/&gt;
but not the allocation (which the quota status is based on) is &lt;br/&gt;
very confusing for users.  All they can see is that they are &lt;br/&gt;
marked as over quota when the lfs quota command shows them that &lt;br/&gt;
they are under.&lt;/p&gt;

&lt;p&gt;We need the allocation to be included in the basic &quot;lfs quota&quot; &lt;br/&gt;
output so that users can see the number they are actually over.  &lt;br/&gt;
Having it at the bottom of the verbose output hundreds of lines &lt;br/&gt;
away from from their quota may seem workable to computer &lt;br/&gt;
professionals and power users, but it is not useful to many of &lt;br/&gt;
our users focused on their science who often aren&apos;t even aware &lt;br/&gt;
that commands like &quot;head&quot; and &quot;tail&quot; exist.&lt;/p&gt;

&lt;p&gt;---------------------------------------------------------------&lt;br/&gt;
Here are the output fields for &quot;lfs quota -u joecool /nobackup&quot;&lt;br/&gt;
as we would like them (-h as the default would be good):&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;Disk quotas for user joecool (uid 77777):
  Filesystem    used  alloc   quota   limit   grace   files   alloc  quota   limit   grace
  /nobackup   14.55T  15.59T  10.24T  20.49T       -  199105  202752 300000  400000       -
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;---------------------------------------------------------------&lt;/p&gt;


&lt;p&gt;---------------------------------------------------------------&lt;br/&gt;
Current less-useful verbose output with 620 lines of output deleted:&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;Disk quotas for user someguy  (uid 11361):
     Filesystem    used   quota   limit   grace   files   quota   limit   grace
    /nobackupp8  14.55T  10.24T  20.49T       -  128182  250000  300000       -
nbp8-MDT0000_UUID
                  14.1M       -      0k       -  128182*      -  131072       -
nbp8-OST0000_UUID
                 46.03G*      -  26.55G       -       -       -       -       -

[*620 lines deleted*]

nbp8-OST0137_UUID
                 47.09G*      -  26.51G       -       -       -       -       -
Total allocated inode limit: 131072, total allocated block limit: 8.549T
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;---------------------------------------------------------------&lt;/p&gt;</description>
                <environment>lustre 2.5.3</environment>
        <key id="32666">LU-7307</key>
            <summary>quota output</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="6">Not a Bug</resolution>
                                        <assignee username="niu">Niu Yawei</assignee>
                                    <reporter username="mhanafi">Mahmoud Hanafi</reporter>
                        <labels>
                    </labels>
                <created>Thu, 15 Oct 2015 23:52:02 +0000</created>
                <updated>Thu, 29 Jun 2017 13:09:43 +0000</updated>
                            <resolved>Thu, 29 Jun 2017 13:09:43 +0000</resolved>
                                    <version>Lustre 2.5.3</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="130648" author="pjones" created="Fri, 16 Oct 2015 17:15:26 +0000"  >&lt;p&gt;Niu&lt;/p&gt;

&lt;p&gt;Could you please advise?&lt;/p&gt;

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="130740" author="niu" created="Mon, 19 Oct 2015 02:17:39 +0000"  >&lt;p&gt;Mahmoud, you mean you want the &quot;Total allocated&quot; is displayed as well even if no &apos;-v&apos; is specified?&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&quot;I&apos;m under quota, but the quota command says I&apos;m over???&quot;&lt;br/&gt;
The fact that the quota command shows only the use and the quota,&lt;br/&gt;
but not the allocation (which the quota status is based on) is &lt;br/&gt;
very confusing for users. All they can see is that they are &lt;br/&gt;
marked as over quota when the lfs quota command shows them that &lt;br/&gt;
they are under&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&apos;overquota&apos; is determined by &quot;used&quot; and the &quot;limits&quot;, &quot;allocation&quot; isn&apos;t involved here. So I&apos;m not sure how can a user observe &apos;overquota&apos; when the &apos;used&apos; is less than &apos;limit&apos;, could you show me some real example? Thanks.&lt;/p&gt;</comment>
                            <comment id="200576" author="mhanafi" created="Thu, 29 Jun 2017 13:07:55 +0000"  >&lt;p&gt;We can close this case thank you.&lt;/p&gt;</comment>
                            <comment id="200579" author="pjones" created="Thu, 29 Jun 2017 13:09:43 +0000"  >&lt;p&gt;Thanks Mahmoud.&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_10490" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>End date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 19 Oct 2015 23:52:02 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzxqlb:</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>
                                                                                                                        <customfield id="customfield_10493" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 15 Oct 2015 23:52:02 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>