<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:28:30 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-9704] ofd_grant_check() claims GRANT, real grant 0</title>
                <link>https://jira.whamcloud.com/browse/LU-9704</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;After about 2 months of production, our new Lustre 2.9-based system (Oak) started to show the following Lustre errors in the logs on our OSS servers, just a few days ago:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;Jun 22 10:45:06 oak-io1-s1 kernel: LustreError: 26807:0:(ofd_grant.c:641:ofd_grant_check()) oak-OST0014: cli 1b1c6319-5ec1-dbcc-f6e7-f85575c95c4c claims 131072 GRANT, real grant 0

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Attaching an lquota subsystem debug trace on one of the OSS and a splunk graph showing that these messages are actually new. I first thought that this could be related to &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9671&quot; title=&quot;Group quota not enforced on clients with mapped GID&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9671&quot;&gt;&lt;del&gt;LU-9671&lt;/del&gt;&lt;/a&gt; but it might not be after all.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
 Stephane&lt;/p&gt;</description>
                <environment>3.10.0-514.16.1.el7_lustre.x86_64, lustre-2.9.0_srcc7-1.el7.centos.x86_64</environment>
        <key id="46830">LU-9704</key>
            <summary>ofd_grant_check() claims GRANT, real grant 0</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="1">Fixed</resolution>
                                        <assignee username="tappro">Mikhail Pershin</assignee>
                                    <reporter username="sthiell">Stephane Thiell</reporter>
                        <labels>
                    </labels>
                <created>Thu, 22 Jun 2017 19:12:35 +0000</created>
                <updated>Wed, 16 Mar 2022 23:45:35 +0000</updated>
                            <resolved>Sat, 20 Nov 2021 15:04:27 +0000</resolved>
                                    <version>Lustre 2.9.0</version>
                                    <fixVersion>Lustre 2.12.8</fixVersion>
                    <fixVersion>Lustre 2.15.0</fixVersion>
                                        <due></due>
                            <votes>3</votes>
                                    <watches>21</watches>
                                                                            <comments>
                            <comment id="200134" author="pjones" created="Sat, 24 Jun 2017 13:15:11 +0000"  >&lt;p&gt;Niu&lt;/p&gt;

&lt;p&gt;Could you please assist with this one?&lt;/p&gt;

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="200157" author="niu" created="Mon, 26 Jun 2017 02:16:00 +0000"  >&lt;p&gt;The log has only one line of such message at the very beginning of the log file, do you have other logs which includes more messages before and after this error? What about the disk usage on this OST? Is it almost full or quite empty? Any disconnect/reconnect happened when this error showed up? Thanks.&lt;/p&gt;</comment>
                            <comment id="200277" author="sthiell" created="Mon, 26 Jun 2017 21:48:40 +0000"  >&lt;p&gt;Hi Niu,&lt;/p&gt;

&lt;p&gt;The error is gone, I cannot see it anymore... I found another trace that I took at almost the&#160;same time (attaching as&#160;oak_dbg_2_oak-io1-s1.log just in case). The disk usage is pretty low on all OSTs, from 1% to 31% (we recently added more OSTs, hence the disparity in OST usage).&lt;/p&gt;

&lt;p&gt;I will update the case if I see this error again.&lt;/p&gt;

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

&lt;p&gt;Stephane&lt;/p&gt;</comment>
                            <comment id="200301" author="niu" created="Tue, 27 Jun 2017 02:10:53 +0000"  >&lt;p&gt;Looks the &apos;granted&apos; value on client and server is inconsistent somehow, and it happened only on one client (with one OST server), I guess such inconsistency could be brought by some rare defect in reconnecting. Please keep updating when you see it again, thanks in advance.&lt;/p&gt;</comment>
                            <comment id="200700" author="bandrus" created="Fri, 30 Jun 2017 07:52:33 +0000"  >&lt;p&gt;I can consistently have this happen with 2.9.59_15_g107b2cb by running &lt;br/&gt;
    ost-survey -s 10 /LUSTRE/&lt;br/&gt;
on a client.&lt;br/&gt;
On the system with OST0, I get:&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;24348.020466&amp;#93;&lt;/span&gt; LustreError: 10346:0:(tgt_grant.c:733:tgt_grant_check()) lustre-OST0000: cli bafa5b19-f11b-9bfc-c44b-60ea94d9382d claims 4292608 GRANT, real grant 0&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;24348.020475&amp;#93;&lt;/span&gt; LustreError: 10346:0:(tgt_grant.c:733:tgt_grant_check()) Skipped 2 previous similar messages&lt;/p&gt;

&lt;p&gt;As I increase the size option, the number of skipped messages also increases.&lt;/p&gt;</comment>
                            <comment id="205182" author="sthiell" created="Fri, 11 Aug 2017 19:02:24 +0000"  >&lt;p&gt;Hey Niu,&lt;/p&gt;

&lt;p&gt;The error messages are back for us too, after having performed OST failovers (might give some hint...). We&apos;re still on 2.9 though.&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt; [2682214.198182] LustreError: 361698:0:(ofd_grant.c:641:ofd_grant_check()) oak-OST0003: cli bf793f06-a9f4-4e4a-85c9-79e10ac88ed7 claims 32768 GRANT, real grant 0
 [2682214.214014] LustreError: 361698:0:(ofd_grant.c:641:ofd_grant_check()) Skipped 1647 previous similar messages
 [2682817.076669] LustreError: 361674:0:(ofd_grant.c:641:ofd_grant_check()) oak-OST0003: cli bf793f06-a9f4-4e4a-85c9-79e10ac88ed7 claims 40960 GRANT, real grant 0
 [2682817.092530] LustreError: 361674:0:(ofd_grant.c:641:ofd_grant_check()) Skipped 748 previous similar messages
 [2683417.826667] LustreError: 361684:0:(ofd_grant.c:641:ofd_grant_check()) oak-OST0011: cli 7b5cc9f0-1221-60e2-0871-2105cd878e21 claims 32768 GRANT, real grant 0
 [2683417.842515] LustreError: 361684:0:(ofd_grant.c:641:ofd_grant_check()) Skipped 760 previous similar messages
 [2684036.203234] LustreError: 156433:0:(ofd_grant.c:641:ofd_grant_check()) oak-OST0011: cli 875f290d-d0a2-a84a-c1f4-05a972b31461 claims 847872 GRANT, real grant 0
 [2684036.219161] LustreError: 156433:0:(ofd_grant.c:641:ofd_grant_check()) Skipped 736 previous similar messages
 [2684646.921608] LustreError: 156521:0:(ofd_grant.c:641:ofd_grant_check()) oak-OST0025: cli 0e6972c3-d679-e536-aa5f-ceff2d42a2c4 claims 28672 GRANT, real grant 0
 [2684646.937477] LustreError: 156521:0:(ofd_grant.c:641:ofd_grant_check()) Skipped 917 previous similar messages


&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="215648" author="artem_blagodarenko" created="Fri, 8 Dec 2017 12:41:01 +0000"  >&lt;p&gt;Faced with this error message on one of the systems&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;claims 4218880 GRANT, real grant 0

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Do you have an idea where to move investigating this issue?&lt;/p&gt;

&lt;p&gt;There are other credits-related messages in logs&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt; kernel: LustreError: 28855:0:(ofd_grant.c:358:ofd_grant_space_left()) ... left 2232417341440 &amp;lt; tot_grant 2232417341504 unstable 0 pending 0 dirty 29528064



&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="215820" author="pjones" created="Fri, 8 Dec 2017 18:54:16 +0000"  >&lt;p&gt;Mike&lt;/p&gt;

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="222664" author="mhaakddn" created="Wed, 7 Mar 2018 02:39:01 +0000"  >&lt;p&gt;We are also seeing this issue on v2_10_2 servers with v2_7_21 client.&lt;/p&gt;



&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;Fri Mar  2 23:12:13 2018&amp;#93;&lt;/span&gt; LustreError: 15798:0:(tgt_grant.c:733:tgt_grant_check()) gdata1b-OST0029: cli 6e512e04-c8a3-bdcc-f61e-bb0e3977633d claims 4849664 GRANT, real grant 0&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;Fri Mar  2 23:12:13 2018&amp;#93;&lt;/span&gt; LustreError: 15798:0:(tgt_grant.c:733:tgt_grant_check()) Skipped 834 previous similar messages&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;Fri Mar  2 23:22:18 2018&amp;#93;&lt;/span&gt; LustreError: 28124:0:(tgt_grant.c:733:tgt_grant_check()) gdata1b-OST0029: cli 6e512e04-c8a3-bdcc-f61e-bb0e3977633d claims 1703936 GRANT, real grant 0&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;Fri Mar  2 23:22:18 2018&amp;#93;&lt;/span&gt; LustreError: 28124:0:(tgt_grant.c:733:tgt_grant_check()) Skipped 1150 previous similar messages&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;Fri Mar  2 23:32:18 2018&amp;#93;&lt;/span&gt; LustreError: 28124:0:(tgt_grant.c:733:tgt_grant_check()) gdata1b-OST0029: cli 6e512e04-c8a3-bdcc-f61e-bb0e3977633d claims 5505024 GRANT, real grant 0&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;Fri Mar  2 23:32:18 2018&amp;#93;&lt;/span&gt; LustreError: 28124:0:(tgt_grant.c:733:tgt_grant_check()) Skipped 1136 previous similar messages&lt;/p&gt;


&lt;p&gt;Can we also get this looked at?&lt;/p&gt;

&lt;p&gt;We are downgrading the client to our stable 2.5 build so we no longer have exp_grant_param_supp flag and fall back to the other behaviour of simply expanding the grant to match.&lt;/p&gt;

&lt;p&gt;This is a workaround but it looks like the client is having its data dropped:&lt;/p&gt;



&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;Sat Mar 03 00:32:42 2018&amp;#93;&lt;/span&gt; LustreError: 11-0: gdata1b-OST000c-osc-ffff8807f41f1c00: operation ost_write to node 10.112.1.53@o2ib8 failed: rc = -107&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;Sat Mar 03 00:32:42 2018&amp;#93;&lt;/span&gt; Lustre: 4848:0:(llite_lib.c:2818:ll_dirty_page_discard_warn()) gdata1b: dirty page discard: 10.112.1.41@o2ib8:10.112.1.42@o2ib8:/gdata1b/fj7/fid: &lt;span class=&quot;error&quot;&gt;&amp;#91;0x2400101ea:0x13300:0x0&amp;#93;&lt;/span&gt;// may get corrupted (rc -108)&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;Sat Mar 03 00:32:42 2018&amp;#93;&lt;/span&gt; Lustre: 4844:0:(llite_lib.c:2818:ll_dirty_page_discard_warn()) gdata1b: dirty page discard: 10.112.1.41@o2ib8:10.112.1.42@o2ib8:/gdata1b/fj7/fid: &lt;span class=&quot;error&quot;&gt;&amp;#91;0x2400101ea:0x13d2a:0x0&amp;#93;&lt;/span&gt;// may get corrupted (rc -108)&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;Sat Mar 03 00:32:42 2018&amp;#93;&lt;/span&gt; Lustre: 4842:0:(llite_lib.c:2818:ll_dirty_page_discard_warn()) gdata1b: dirty page discard: 10.112.1.41@o2ib8:10.112.1.42@o2ib8:/gdata1b/fj7/fid: &lt;span class=&quot;error&quot;&gt;&amp;#91;0x2400101ea:0x13598:0x0&amp;#93;&lt;/span&gt;/ may get corrupted (rc -108)&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;Sat Mar 03 00:32:42 2018&amp;#93;&lt;/span&gt; Lustre: 4843:0:(llite_lib.c:2818:ll_dirty_page_discard_warn()) gdata1b: dirty page discard: 10.112.1.41@o2ib8:10.112.1.42@o2ib8:/gdata1b/fj7/fid: &lt;span class=&quot;error&quot;&gt;&amp;#91;0x2400101ea:0x13291:0x0&amp;#93;&lt;/span&gt;/ may get corrupted (rc -108)&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;Sat Mar 03 00:32:42 2018&amp;#93;&lt;/span&gt; Lustre: 4854:0:(llite_lib.c:2818:ll_dirty_page_discard_warn()) gdata1b: dirty page discard: 10.112.1.41@o2ib8:10.112.1.42@o2ib8:/gdata1b/fj7/fid: &lt;span class=&quot;error&quot;&gt;&amp;#91;0x2400101ea:0x13cfb:0x0&amp;#93;&lt;/span&gt;/ may get corrupted (rc -108)&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;Sat Mar 03 00:32:43 2018&amp;#93;&lt;/span&gt; Lustre: 4840:0:(llite_lib.c:2818:ll_dirty_page_discard_warn()) gdata1b: dirty page discard: 10.112.1.41@o2ib8:10.112.1.42@o2ib8:/gdata1b/fj7/fid: &lt;span class=&quot;error&quot;&gt;&amp;#91;0x2400101ea:0x13cfa:0x0&amp;#93;&lt;/span&gt;// may get corrupted (rc -108)&lt;/p&gt;</comment>
                            <comment id="224104" author="simmonsja" created="Wed, 21 Mar 2018 13:59:27 +0000"  >&lt;p&gt;I&apos;m seeing this while testing on our ARM system running 2.11 and 2.11 servers on x86 boxes.&lt;/p&gt;</comment>
                            <comment id="224233" author="mhaakddn" created="Wed, 21 Mar 2018 23:27:48 +0000"  >&lt;p&gt;I&apos;m now seeing this with v2_10_2 servers and v2_5_43 client.&lt;/p&gt;

&lt;p&gt;Interestingly I have the same client on other nodes who aren&apos;t seeing the issue. Could this be MOFED related? It&apos;s one of the few differences between the nodes.&lt;/p&gt;</comment>
                            <comment id="226262" author="paf" created="Wed, 18 Apr 2018 17:35:45 +0000"  >&lt;p&gt;I&apos;m not sure whether or not the grant messages and the disconnect (that&apos;s what -107 is) are related or not.&#160; I&apos;m curious, has anyone explored a possible connection to &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10776&quot; title=&quot;Large grant requests still don&amp;#39;t work, resulting in small write RPCs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10776&quot;&gt;&lt;del&gt;LU-10776&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Basically, the client (with or without OBD_GRANT_PARAM, it&apos;s a long story) has several grant bugs where it can ask for more than it is allowed &lt;b&gt;or&lt;/b&gt; the grant calculation can overflow the 32 bit integer used to store it, resulting in weirdly small grant #s showing up at various points.&#160; That patch should resolve all of them in a slightly brute force manner by fixing the arithmetic and capping the resultant request at 2 GiB - some margin.&lt;/p&gt;

&lt;p&gt;If the problem is relatively easy to reproduce, it would be very interesting to see the effect of that patch on the clients.&#160; (Note that patch doesn&apos;t change anything on the server - It modifies a server-side file, but only to replace a numeric constant with a #define.&#160; No behavioral change to the server code.)&lt;/p&gt;

&lt;p&gt;It would also be interesting if that patch resolved the grant message but the disconnects and lost data continued.&#160; (In fact, that&apos;s sort of what I would expect to happen if I&apos;m right.)&lt;/p&gt;</comment>
                            <comment id="226304" author="mhaakddn" created="Thu, 19 Apr 2018 01:06:27 +0000"  >&lt;p&gt;I had a look at &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10776&quot; title=&quot;Large grant requests still don&amp;#39;t work, resulting in small write RPCs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10776&quot;&gt;&lt;del&gt;LU-10776&lt;/del&gt;&lt;/a&gt;. We are using 1MB RPC&apos;s and only 8 in flight RPC&apos;s. So I&apos;m not sure if that is related.&lt;/p&gt;

&lt;p&gt;However I do think there is value in testing this patch.&lt;/p&gt;</comment>
                            <comment id="228267" author="yong.fan" created="Mon, 21 May 2018 17:39:25 +0000"  >&lt;p&gt;We hit similar trouble on BGI site, server is 2.10.2, client is 2.7.19.10:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;00002000:00020000:9.0:1526810613.427919:0:16020:0:(tgt_grant.c:733:tgt_grant_check()) zfsz2-OST0009: cli ab95b9a6-6564-3cd9-cdc8-75af4a40f6b9 claims 4849664 GRANT, real grant 0&lt;br/&gt;
00002000:00020000:10.0:1526810619.171036:0:16033:0:(tgt_grant.c:733:tgt_grant_check()) zfsz2-OST0009: cli ab95b9a6-6564-3cd9-cdc8-75af4a40f6b9 claims 917504 GRANT, real grant 0&lt;br/&gt;
00002000:00020000:0.0:1526810624.176488:0:16007:0:(tgt_grant.c:733:tgt_grant_check()) zfsz2-OST0009: cli ab95b9a6-6564-3cd9-cdc8-75af4a40f6b9 claims 917504 GRANT, real grant 0&lt;br/&gt;
00002000:00020000:6.0:1526810648.251551:0:16035:0:(tgt_grant.c:733:tgt_grant_check()) zfsz2-OST0009: cli ab95b9a6-6564-3cd9-cdc8-75af4a40f6b9 claims 4849664 GRANT, real grant 0&lt;br/&gt;
00002000:00020000:11.0:1526810649.207223:0:16007:0:(tgt_grant.c:733:tgt_grant_check()) zfsz2-OST0009: cli ab95b9a6-6564-3cd9-cdc8-75af4a40f6b9 claims 786432 GRANT, real grant 0&lt;br/&gt;
00002000:00020000:11.0:1526810649.655100:0:16035:0:(tgt_grant.c:733:tgt_grant_check()) zfsz2-OST0009: cli ab95b9a6-6564-3cd9-cdc8-75af4a40f6b9 claims 4849664 GRANT, real grant 0&lt;/p&gt;&lt;/blockquote&gt;</comment>
                            <comment id="244611" author="sthiell" created="Mon, 25 Mar 2019 06:08:25 +0000"  >&lt;p&gt;I still don&apos;t know if these messages have a bad effect but they appeared again for us on a full 2.12.0 config (servers and clients) yesterday (on March 23, 20:11:59) and this is still ongoing.&lt;/p&gt;

&lt;p&gt;I checked and this is only on one OST with a single client uuid:&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;fir-io2-s1: Mar 23 20:11:59 fir-io2-s1 kernel: LustreError: 55051:0:(tgt_grant.c:742:tgt_grant_check()) fir-OST000c: cli b312248d-5ec3-9bfd-dd3f-1b6622ac23e2 claims 2256896 GRANT, real grant 0
fir-io2-s1: Mar 23 20:11:59 fir-io2-s1 kernel: LustreError: 55051:0:(tgt_grant.c:742:tgt_grant_check()) Skipped 68 previous similar messages
fir-io2-s1: Mar 23 20:16:59 fir-io2-s1 kernel: LustreError: 54991:0:(tgt_grant.c:742:tgt_grant_check()) fir-OST000c: cli b312248d-5ec3-9bfd-dd3f-1b6622ac23e2 claims 4218880 GRANT, real grant 0
...
...
...
fir-io2-s1: Mar 24 22:47:52 fir-io2-s1 kernel: LustreError: 55075:0:(tgt_grant.c:742:tgt_grant_check()) fir-OST000c: cli b312248d-5ec3-9bfd-dd3f-1b6622ac23e2 claims 2224128 GRANT, real grant 0
fir-io2-s1: Mar 24 22:47:52 fir-io2-s1 kernel: LustreError: 55075:0:(tgt_grant.c:742:tgt_grant_check()) Skipped 40 previous similar messages
&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;$ cat /proc/fs/lustre/obdfilter/fir-OST000c/exports/10.8.1.31@o2ib6/uuid
b312248d-5ec3-9bfd-dd3f-1b6622ac23e2
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;client is &lt;tt&gt;sh-01-31&lt;/tt&gt;, in production, quiet / no kernel logs at all (since Mar 23 02:52:28). On this node, I have found only one job and so a single user that is accessing the filesystem at the moment, and his quota values seem ok, I guess...&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 quota -u ieisenbe /fir
Disk quotas for usr ieisenbe (uid 256460):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
           /fir 6629070564  80530636800 80530636800       - 1844715  75000000 75000000       -
$ lfs quota -g $(id -g ieisenbe) /fir
Disk quotas for grp 254778 (gid 254778):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
           /fir 35467077100  91268055040 91268055040       - 14727670  85000000 85000000       -
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="285789" author="simmonsja" created="Mon, 23 Nov 2020 14:16:51 +0000"  >&lt;p&gt;Is this still valid? A solution landed to 2.12.&lt;/p&gt;</comment>
                            <comment id="316543" author="gerrit" created="Tue, 26 Oct 2021 13:23:55 +0000"  >&lt;p&gt;&quot;Vladimir Saveliev &amp;lt;vlaidimir.saveliev@hpe.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/45371&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45371&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9704&quot; title=&quot;ofd_grant_check() claims GRANT, real grant 0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9704&quot;&gt;&lt;del&gt;LU-9704&lt;/del&gt;&lt;/a&gt; grant: ignore grant info on read resend&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 18332a73752be688e69ead3e8d5ac8edb7d45c82&lt;/p&gt;</comment>
                            <comment id="316544" author="vsaveliev" created="Tue, 26 Oct 2021 13:24:31 +0000"  >&lt;p&gt;The following scenario makes a message like &quot;claims 28672 GRANT, real&lt;br/&gt;
 grant 0&quot; to appear:&lt;/p&gt;

&lt;p&gt;1. client owns X grants and run rpcs to shrink part of those&lt;br/&gt;
 2. server fails over so that the shrink rpc is to be resent.&lt;br/&gt;
 3. on the clinet reconnect server and client sync on initial amount&lt;br/&gt;
 of grants for the client.&lt;br/&gt;
 4. shrink rpc is resend, if server disk space is enough, shrink does&lt;br/&gt;
 not happen and the client adds amount of grants it was going to&lt;br/&gt;
 shrink to its newly initial amount of grants. Now, client thinks that&lt;br/&gt;
 it owns more grants than it does from server points of view.&lt;br/&gt;
 5. the client consumes grants and sends rpcs to server. Server avoids&lt;br/&gt;
 allocating new grants for the client if the current amount of grant&lt;br/&gt;
 is big enough:&lt;br/&gt;
 static long tgt_grant_alloc(struct obd_export *exp, u64 curgrant,&lt;br/&gt;
 ...&lt;br/&gt;
 if (curgrant &amp;gt;= want || curgrant &amp;gt;= ted-&amp;gt;ted_grant + chunk)&lt;br/&gt;
 RETURN(0);&lt;br/&gt;
 6. client continues grants consuming which eventually leads to&lt;br/&gt;
 complains like &quot;claims 28672 GRANT, real grant 0&quot;.&lt;/p&gt;</comment>
                            <comment id="317597" author="gerrit" created="Sat, 6 Nov 2021 17:03:15 +0000"  >&lt;p&gt;&quot;Mike Pershin &amp;lt;mpershin@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/45474&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45474&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9704&quot; title=&quot;ofd_grant_check() claims GRANT, real grant 0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9704&quot;&gt;&lt;del&gt;LU-9704&lt;/del&gt;&lt;/a&gt; grant: ignore grant info on read resend&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4162f0d61b762f70e5eb6d099291fad9f836de9d&lt;/p&gt;</comment>
                            <comment id="318443" author="gerrit" created="Wed, 17 Nov 2021 18:44:57 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/45474/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45474/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9704&quot; title=&quot;ofd_grant_check() claims GRANT, real grant 0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9704&quot;&gt;&lt;del&gt;LU-9704&lt;/del&gt;&lt;/a&gt; grant: ignore grant info on read resend&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: e1d132acf58c3e6a90a527a0a09cdd0fff7fc392&lt;/p&gt;</comment>
                            <comment id="318753" author="gerrit" created="Sat, 20 Nov 2021 06:28:08 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/45371/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45371/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9704&quot; title=&quot;ofd_grant_check() claims GRANT, real grant 0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9704&quot;&gt;&lt;del&gt;LU-9704&lt;/del&gt;&lt;/a&gt; grant: ignore grant info on read resend&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 38c78ac2e390b30106f3e185d8c4d92b8cb19c2b&lt;/p&gt;</comment>
                            <comment id="318793" author="pjones" created="Sat, 20 Nov 2021 15:04:27 +0000"  >&lt;p&gt;Landed for 2.15&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="61579">LU-14125</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="61569">LU-14124</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="58790">LU-13457</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="27095" name="dbg_lquota_oak-io1-s1.log.gz" size="2151946" author="sthiell" created="Thu, 22 Jun 2017 19:10:20 +0000"/>
                            <attachment id="27121" name="oak_dbg_2_oak-io1-s1.log" size="35693" author="sthiell" created="Mon, 26 Jun 2017 21:48:49 +0000"/>
                            <attachment id="27096" name="oak_ofd_grant_check_splunk.png" size="133862" author="sthiell" created="Thu, 22 Jun 2017 19:10:09 +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_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzzfkn:</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>