<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:24:02 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-9192] lfs quota reports wrong file count when using ZFS backend</title>
                <link>https://jira.whamcloud.com/browse/LU-9192</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;I recently set up a Lustre 2.8 file system that uses ZFS for the backend storage (both on the MDT and OSTs).  When I was doing some testing, I noticed that the output from lfs quota seemed odd.  While the quota information for the amount of used space seemed correct, the info on the number of files was off.  For example, when I started with no files, &#8220;lfs quota&#8221; showed this:&lt;/p&gt;

&lt;p&gt;    Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace&lt;br/&gt;
/lustre/xxxxx&lt;br/&gt;
                    33       0       0       - 18446744073709551595       0       0       -&lt;/p&gt;

&lt;p&gt;As I created empty files one-by-one, the number of files kept incrementing.  Once I had 21 files created, lfs quota then reported that I had zero files:&lt;/p&gt;

&lt;p&gt;    Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace&lt;br/&gt;
/lustre/xxxxx&lt;br/&gt;
                   211       0       0       -       0       0       0       -&lt;/p&gt;

&lt;p&gt;It looks like some kind of counter under/overflow,  but I am not sure if this is an issue with Lustre or with ZFS.&lt;/p&gt;</description>
                <environment>CentOS Linux release 7.2.1511&lt;br/&gt;
Kernel 3.10.0-327.4.4.el7.x86_64&lt;br/&gt;
Lustre 2.8.0</environment>
        <key id="44569">LU-9192</key>
            <summary>lfs quota reports wrong file count when using ZFS backend</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="3">Duplicate</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="rmohr">Rick Mohr</reporter>
                        <labels>
                    </labels>
                <created>Tue, 7 Mar 2017 22:24:50 +0000</created>
                <updated>Fri, 17 Mar 2017 10:37:56 +0000</updated>
                            <resolved>Tue, 14 Mar 2017 17:31:13 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="188286" author="adilger" created="Tue, 14 Mar 2017 17:31:00 +0000"  >&lt;p&gt;Rick, this is (unfortunately) a known issue.  There is new inode quota accounting for ZFS that is in the upcoming 0.7.0 release, along with a patch for Lustre in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2435&quot; title=&quot;inode accounting in osd-zfs is racy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2435&quot;&gt;&lt;del&gt;LU-2435&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="188301" author="rmohr" created="Tue, 14 Mar 2017 19:18:47 +0000"  >&lt;p&gt;Thanks for the information.  When the fix comes, if we upgrade Lustre/ZFS, will it automatically fix the quotas or will we need to run some command to correct the current quota info?&lt;/p&gt;</comment>
                            <comment id="188749" author="adilger" created="Fri, 17 Mar 2017 10:37:56 +0000"  >&lt;p&gt;If you upgrade both ZFS and Lustre, I believe it will transparently upgrade the quotas. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="14304">LU-2435</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_10030" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic/Theme</customfieldname>
                        <customfieldvalues>
                                        <label>Quota</label>
            <label>zfs</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzz66v:</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>