<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:17:56 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-1584] error set quota fs limit</title>
                <link>https://jira.whamcloud.com/browse/LU-1584</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;At an our customer site, an group hit quota limit regardless that group was not set quota limitation yet. (this group&apos;s quota size is 160TB, but that group exceeded quota limit around 150TB) In this case, the following messages showed up on an OSS. Is this related to &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-935&quot; title=&quot;Crash lquota:dquot_create_oqaq+0x28f/0x510&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-935&quot;&gt;&lt;del&gt;LU-935&lt;/del&gt;&lt;/a&gt;?&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;Jun 29 14:58:47 nos031i kernel: LustreError: 8322:0:(quota_context.c:685:dqacq_completion()) error set quota fs limit! (rc:-34)
Jun 29 14:58:47 nos031i kernel: LustreError: 8322:0:(quota_context.c:685:dqacq_completion()) Skipped 19 previous similar messages
Jun 29 14:58:47 nos031i kernel: LustreError: 8322:0:(quota_context.c:685:dqacq_completion()) error set quota fs limit! (rc:-34)
Jun 29 14:58:47 nos031i kernel: LustreError: 8322:0:(quota_context.c:685:dqacq_completion()) Skipped 542 previous similar messages
Jun 29 14:58:48 nos031i kernel: LustreError: 8322:0:(quota_context.c:685:dqacq_completion()) error set quota fs limit! (rc:-34)
Jun 29 14:58:48 nos031i kernel: LustreError: 8322:0:(quota_context.c:685:dqacq_completion()) Skipped 1774 previous similar messages
Jun 29 14:58:49 nos031i kernel: LustreError: 8322:0:(quota_context.c:685:dqacq_completion()) error set quota fs limit! (rc:-34)
Jun 29 14:58:49 nos031i kernel: LustreError: 8322:0:(quota_context.c:685:dqacq_completion()) Skipped 4177 previous similar messages
Jun 29 14:58:51 nos031i kernel: LustreError: 8322:0:(quota_context.c:685:dqacq_completion()) error set quota fs limit! (rc:-34)
Jun 29 14:58:51 nos031i kernel: LustreError: 8322:0:(quota_context.c:685:dqacq_completion()) Skipped 8905 previous similar messages
Jun 29 14:58:55 nos031i kernel: LustreError: 8322:0:(quota_context.c:685:dqacq_completion()) error set quota fs limit! (rc:-34)
Jun 29 14:58:55 nos031i kernel: LustreError: 8322:0:(quota_context.c:685:dqacq_completion()) Skipped 17831 previous similar messages
Jun 29 14:59:03 nos031i kernel: LustreError: 8322:0:(quota_context.c:685:dqacq_completion()) error set quota fs limit! (rc:-34)
Jun 29 14:59:03 nos031i kernel: LustreError: 8322:0:(quota_context.c:685:dqacq_completion()) Skipped 42377 previous similar messages
Jun 29 14:59:19 nos031i kernel: LustreError: 8322:0:(quota_context.c:685:dqacq_completion()) error set quota fs limit! (rc:-34)
Jun 29 14:59:19 nos031i kernel: LustreError: 8322:0:(quota_context.c:685:dqacq_completion()) Skipped 86190 previous similar messages
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
</description>
                <environment>lustre-1.8.7-wc1 RHEL5</environment>
        <key id="15091">LU-1584</key>
            <summary>error set quota fs limit</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="niu">Niu Yawei</assignee>
                                    <reporter username="ihara">Shuichi Ihara</reporter>
                        <labels>
                    </labels>
                <created>Fri, 29 Jun 2012 07:04:41 +0000</created>
                <updated>Sat, 18 Aug 2012 10:33:48 +0000</updated>
                            <resolved>Sat, 18 Aug 2012 10:33:48 +0000</resolved>
                                    <version>Lustre 1.8.7</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="41315" author="bogl" created="Fri, 29 Jun 2012 12:23:10 +0000"  >&lt;p&gt;Could you try upgrading to 1.8.8-wc1?  It may solve your problem.  There have been a number of fixes in quota code including the one from &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-935&quot; title=&quot;Crash lquota:dquot_create_oqaq+0x28f/0x510&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-935&quot;&gt;&lt;del&gt;LU-935&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="41318" author="ihara" created="Fri, 29 Jun 2012 12:28:46 +0000"  >&lt;p&gt;Bob,&lt;br/&gt;
Yes, we want, but before upgrade we also wanted to make sure this is exactly same problem of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-935&quot; title=&quot;Crash lquota:dquot_create_oqaq+0x28f/0x510&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-935&quot;&gt;&lt;del&gt;LU-935&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Until upgrading, the following workaround would be help to avoid this issue that described on &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-935&quot; title=&quot;Crash lquota:dquot_create_oqaq+0x28f/0x510&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-935&quot;&gt;&lt;del&gt;LU-935&lt;/del&gt;&lt;/a&gt;.&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;# lctl set_param lquota.*.quota_switch_qs=0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="41319" author="bogl" created="Fri, 29 Jun 2012 12:39:59 +0000"  >&lt;p&gt;By the way, where did the 1.8.7 release you are running come from, Whamcloud directly or some other supplier?  Can you upgrade to a Whamcloud release or is that path blocked for you?&lt;/p&gt;</comment>
                            <comment id="41325" author="johann" created="Fri, 29 Jun 2012 15:22:10 +0000"  >&lt;p&gt;#define ERANGE          34      /* Math result not representable */&lt;/p&gt;

&lt;p&gt;Looks similar to the problem reported on wc-discuss:&lt;br/&gt;
&lt;a href=&quot;https://groups.google.com/a/whamcloud.com/group/wc-discuss/browse_thread/thread/91b5ceae1a663bad/01a84d777079cc46?utoken=8NerwC0AAADp76oaNbE87RxLb3AWLsFF1dK1zSSxgp828G_EjM7-wrBMBmDPXU48RC1TYmZ5gaU#01a84d777079cc46&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://groups.google.com/a/whamcloud.com/group/wc-discuss/browse_thread/thread/91b5ceae1a663bad/01a84d777079cc46?utoken=8NerwC0AAADp76oaNbE87RxLb3AWLsFF1dK1zSSxgp828G_EjM7-wrBMBmDPXU48RC1TYmZ5gaU#01a84d777079cc46&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="41339" author="ihara" created="Fri, 29 Jun 2012 21:17:18 +0000"  >&lt;p&gt;Johann,&lt;br/&gt;
Originally, we hit a quota prolbem (&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1438&quot; title=&quot;quota_chk_acq_common() still haven&amp;#39;t managed to acquire quota&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1438&quot;&gt;&lt;del&gt;LU-1438&lt;/del&gt;&lt;/a&gt;). We did setquota zero to all groups, but &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1438&quot; title=&quot;quota_chk_acq_common() still haven&amp;#39;t managed to acquire quota&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1438&quot;&gt;&lt;del&gt;LU-1438&lt;/del&gt;&lt;/a&gt; still can&apos;t be fixed yet. Niu is investigating this and grateful advices us.&lt;br/&gt;
Two days ago, we hit &quot;quota exceeded&quot; for an group, but this quota&apos;s limit is more high and shouldn&apos;t be exceeded size.&lt;/p&gt;

&lt;p&gt;Yesterday, we did setquota zero to this group, but today hit &quot;quota exceeded&quot; again for same group and showed up this messages on an OSS.&lt;/p&gt;</comment>
                            <comment id="41341" author="pjones" created="Sat, 30 Jun 2012 00:35:44 +0000"  >&lt;p&gt;Niu&lt;/p&gt;

&lt;p&gt;Are you able to help with this one?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;

&lt;p&gt;PS/ Added Johann as a watcher so that he can see the feedback from Ihara&lt;/p&gt;</comment>
                            <comment id="41359" author="niu" created="Mon, 2 Jul 2012 05:24:55 +0000"  >&lt;p&gt;could you run &apos;lfs quota -v -u $group_id $fsname&apos; and post the output here? I don&apos;t see why OST still acquire quota from master after the limit is cleared.&lt;/p&gt;

&lt;p&gt;And the setquota on local fs got ERANAGE, it looks like the problem the Johann mentioned, could you verify what version of e2fsprogs is using on servers? Thanks.&lt;/p&gt;</comment>
                            <comment id="41363" author="ihara" created="Mon, 2 Jul 2012 07:32:55 +0000"  >&lt;p&gt;it seems that quota was disabled after this issue was showed up. let me try to get &quot;lfs quota -v -g ..&quot;.&lt;br/&gt;
btw, e2fsprogs-1.41.90.wc3 is running on here.&lt;/p&gt;</comment>
                            <comment id="41386" author="niu" created="Mon, 2 Jul 2012 22:46:59 +0000"  >&lt;p&gt;The similar problem reported in wc-discuss is also reproduced by e2fsprogs-1.41.90.wc3, but I don&apos;t see how e2fsprogs can affect the quota files. BTW, could you also check the &apos;quota_type&apos; for all servers? (/proc/fs/lustre/obdfilter/*/quota_type). Thanks.&lt;/p&gt;</comment>
                            <comment id="41390" author="johann" created="Tue, 3 Jul 2012 03:02:36 +0000"  >&lt;p&gt;Niu, could you please summarize the steps you used to reproduce the problem? Could you please also attach the output of e2fsck? TIA&lt;/p&gt;</comment>
                            <comment id="41391" author="niu" created="Tue, 3 Jul 2012 03:16:48 +0000"  >&lt;p&gt;I didn&apos;t reporduce it, I just searched the wc-disucss.&lt;/p&gt;</comment>
                            <comment id="41433" author="ihara" created="Tue, 3 Jul 2012 19:29:16 +0000"  >&lt;p&gt;as far as I saw wc-discuss, finally he reformatted the filesystem with e2fsprogs-1.41.90.wc4 and confirmed the problem is gone. But, for existing filesystem, how can we fix this? just upgrade e2fsprogs to 1.41.90.wc4? the larger quota limit (175921860444160) doesn&apos;t matter?&lt;/p&gt;</comment>
                            <comment id="41439" author="niu" created="Tue, 3 Jul 2012 22:24:47 +0000"  >&lt;p&gt;I didn&apos;t think the problem is caused by e2fsprogs-1.41.90.wc3, and I tried it in my local test environment, it can&apos;t be reproduced.&lt;/p&gt;

&lt;p&gt;The 160TB limit should be an valid limit for the v2 qutoa file. Could you paste the output of &quot;quota_type&quot; &amp;amp; &quot;lfs quota -v -g ...&quot; here? Thanks.&lt;/p&gt;</comment>
                            <comment id="41441" author="ihara" created="Wed, 4 Jul 2012 01:32:27 +0000"  >&lt;p&gt;Niu,&lt;/p&gt;

&lt;p&gt;Uploaded on uploads/&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1584&quot; title=&quot;error set quota fs limit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1584&quot;&gt;&lt;del&gt;LU-1584&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;we found a related problem. &lt;/p&gt;

&lt;p&gt;quota_type was set as &quot;ug1&quot; even if we set &quot;ug2&quot; during the format time.&lt;br/&gt;
We are setting &quot;ost.quota_type=ug2&quot; when we formatted OST/MDT.&lt;/p&gt;

&lt;p&gt;Here is quick reproducer what I said.&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;# mkfs.lustre --reformat --mgs --mdt --param mdt.quota_type=ug2 /dev/sda1
# mkfs.lustre --reformat --mgsnode=s01i@o2ib --ost --param ost.quota_type=ug2 /dev/sda2
# mkfs.lustre --reformat --mgsnode=s01i@o2ib --ost --param ost.quota_type=ug3 /dev/sda3
# mkfs.lustre --reformat --mgsnode=s01i@o2ib --ost /dev/sda4

# for i in `seq 1 4`; do mount -t lustre /dev/sda$i /mnt/lustre/sda$i; done
&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;# lctl get_param lquota.*.quota_type 
lquota.lustre-MDT0000.quota_type=2
lquota.lustre-OST0000.quota_type=1
lquota.lustre-OST0001.quota_type=3
lquota.lustre-OST0002.quota_type=3

# tunefs.lustre --dryrun /dev/sda2 
checking for existing Lustre data: found CONFIGS/mountdata
Reading CONFIGS/mountdata

   Read previous values:
Target:     lustre-OST0000
Index:      0
Lustre FS:  lustre
Mount type: ldiskfs
Flags:      0x2
              (OST )
Persistent mount opts: errors=remount-ro,extents,mballoc
Parameters: mgsnode=192.168.100.150@o2ib ost.quota_type=ug2


   Permanent disk data:
Target:     lustre-OST0000
Index:      0
Lustre FS:  lustre
Mount type: ldiskfs
Flags:      0x2
              (OST )
Persistent mount opts: errors=remount-ro,extents,mballoc
Parameters: mgsnode=192.168.100.150@o2ib ost.quota_type=ug2

exiting before disk write.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;OST0000&apos;s (/dev/sda2) quota_type is ug1 even it&apos;s formatted with ug2 and parameter is set on OST.&lt;/p&gt;

&lt;p&gt;Just try removing ost.quota_type=ug2, but it&apos;s still ug1.&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;# umount /dev/sda2
# tunefs.lustre --erase-param /dev/sda2
# tunefs.lustre --mgsnode=192.168.100.150@o2ib /dev/sda2

# lctl get_param lquota.*.quota_type 
lquota.lustre-MDT0000.quota_type=2
lquota.lustre-OST0000.quota_type=1
lquota.lustre-OST0001.quota_type=3
lquota.lustre-OST0002.quota_type=3
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Set ost.quota_type=ug3 and confirmed it&apos;s set to ug3 correctly&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;# tunefs.lustre --erase-param /dev/sda2
# tunefs.lustre --mgsnode=192.168.100.150@o2ib --param=ost.quota_type=ug3 /dev/sda2

# lctl get_param lquota.*.quota_type 
lquota.lustre-MDT0000.quota_type=2
lquota.lustre-OST0000.quota_type=3
lquota.lustre-OST0001.quota_type=3
lquota.lustre-OST0002.quota_type=3
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;MDS was no problem.&lt;/p&gt;

&lt;p&gt;If we set ug2 to MDT, it&apos;s running with ug2 and if we set ug3, it works with ug3 as well.&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;# mkfs.lustre --reformat --mgs --mdt /dev/sda1
# mount -t lustre /dev/sda1 /mnt/lustre/sda1
# lctl get_param lquota.*.quota_type
lquota.lustre-MDT0000.quota_type=3
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="41445" author="niu" created="Wed, 4 Jul 2012 02:25:13 +0000"  >&lt;p&gt;Thanks, Ihara&lt;/p&gt;

&lt;p&gt;The quota_type of OST is 1 (which means 32bit quota limit on OSTs), so 160T has exceeded the limit range, it&apos;s not supported.&lt;/p&gt;

&lt;p&gt;Following is the comment for quuota_type:&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; * MDS: u &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; user quotas (administrative+operational) turned on,
 *      g &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; group quotas (administrative+operational) turned on,
 *      1 &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 32-bit operational quotas and 32-bit administrative quotas,
 *      2 &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 32-bit operational quotas and 64-bit administrative quotas,
 *      3 &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 64-bit operational quotas and 64-bit administrative quotas
 * OST: u &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; user quotas (operational) turned on,
 *      g &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; group quotas (operational) turned on,
 *      1 &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 32-bit local operational quotas,
 *      2 &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 32-bit local operational quotas,
 *      3 &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 64-bit local operational quotas,
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So, if you want 64bit local quota limit, you should specifiy the quota_type as 3. No matter if you specify 1 or 2 to OST quota_type, OST will use 32bit quota limit, and the proc file always dispaly 1 for OSTs.&lt;/p&gt;

&lt;p&gt;If you want change your current MDS/OSTs to 64bit quota limit, you need to specify 3 for both MDS &amp;amp; OSTs, then run &apos;lfs quotacheck&apos; to regenerate the quota files. (I suppose your kernel support 64 bit quota limit).&lt;/p&gt;</comment>
                            <comment id="41446" author="ihara" created="Wed, 4 Jul 2012 02:48:12 +0000"  >&lt;p&gt;Thanks Niu for confirmation.&lt;/p&gt;

&lt;p&gt;So, what is &quot;operations qutoas&quot; and &quot;administrative quotas&quot;, btw?&lt;/p&gt;

&lt;p&gt;4TB is quota limitation per OST if quota if quota_type is 1 or 2.&lt;br/&gt;
The total 42 OSTs are running on here, 168TB is user and group quota limitation on the entire filesystem.&lt;br/&gt;
We have been seeing this problem once a group usage per OST is going to close of 4TB and achieved.&lt;/p&gt;

&lt;p&gt;To enable 64bit quota on the production system, can the following changes work without restart?&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;# lctl set_param lquota.*.quota_type=3
# lfs quotacheck &amp;lt;fs&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;For permanent fix, need to rewrite ost.quota_type=ug3 to OSTs with tunfs.lustre if we have an chance to stop the OSTs.&lt;/p&gt;
</comment>
                            <comment id="41448" author="niu" created="Wed, 4 Jul 2012 03:03:29 +0000"  >&lt;blockquote&gt;
&lt;p&gt;So, what is &quot;operations qutoas&quot; and &quot;administrative quotas&quot;, btw?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Operational quotas is the quota file of the local fs for each OST/MDS, which is used for storing usage &amp;amp; local limit for each target. Administrative quotas is the cluster wide quota file, which is used to store quota limit (clustre wide), the administrative quota file is located on MDS.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;To enable 64bit quota on the production system, can the following changes work without restart?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Yes. Actually, you can use &quot;lctl conf_param $MDTNAME.mdt.quota_type=ug3&quot; &amp;amp; &quot;lctl conf_param $OSTNAME.ost.quota_type=ug3&quot; to write it in the config log permanently.&lt;/p&gt;</comment>
                            <comment id="41451" author="ihara" created="Wed, 4 Jul 2012 03:31:06 +0000"  >&lt;blockquote&gt;
&lt;p&gt;Operational quotas is the quota file of the local fs for each OST/MDS, which is used for storing usage &amp;amp; local limit for each target. Administrative quotas is the cluster wide quota file, which is used to store quota limit (clustre wide), the administrative quota file is located on MDS.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;OK, that makes perfect sense.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Yes. Actually, you can use &quot;lctl conf_param $MDTNAME.mdt.quota_type=ug3&quot; &amp;amp; &quot;lctl conf_param $OSTNAME.ost.quota_type=ug3&quot; to write it in the config log permanently.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Yes, that also worked on my test system and I&apos;ve confirmed quota_type is set to ug3 permanently. if we see params by tunefs.lustre, the params of OST is not updated though (still ug2). sometimes confused. anyway, conf_param can be fixed.&lt;/p&gt;</comment>
                            <comment id="41587" author="ihara" created="Mon, 9 Jul 2012 02:11:31 +0000"  >&lt;p&gt;Niu,&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;# lctl set_param lquota.*.quota_type=3
# lfs quotacheck &amp;lt;fs&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It doesn&apos;t help to convert from ug2 to ug3. &quot;lctl conf_param $MDTNAME.mdt.quota_type=ug3&quot; &amp;amp; &quot;lctl conf_param $OSTNAME.ost.quota_type=ug3&quot; and restart OST/MDT, doesn&apos;t help either. We still got quota exceeded when an user writes 4TB data to single OST even quota_type=ug3 is set.&lt;/p&gt;

&lt;p&gt;In order to convert from v2 to v3 and support 64bit completely, it needed umount MDT/OSTs and mount them with ldiskfs, and remove lquota.&lt;/p&gt;
{user,group} and lquota_v2.{user,group}
&lt;p&gt; files, then restart all MDT/OST and &apos;lfs quotacheck&apos;, again...&lt;/p&gt;</comment>
                            <comment id="41603" author="niu" created="Mon, 9 Jul 2012 06:59:24 +0000"  >&lt;p&gt;hmm, set the quota_type as &quot;ug3&quot; then run &apos;lfs quotacheck&quot; doesn&apos;t help?&lt;/p&gt;

&lt;p&gt;&quot;lctl set_param lquota.&lt;b&gt;.quota_type=3&quot; isn&apos;t correct, because it doesn&apos;t enable user or group quota, quotacheck will not recreate any quota files. I think it should be &quot;lctl set_param lquota.&lt;/b&gt;.quota_type=ug3&quot;, then run quotacheck. Sorry I didn&apos;t find this trap before.&lt;/p&gt;

&lt;p&gt;Thanks for your effort on this, and I&apos;m glad to hear that you&apos;ve convert the quota files successfully.&lt;/p&gt;</comment>
                            <comment id="43464" author="ihara" created="Sat, 18 Aug 2012 09:10:18 +0000"  >&lt;p&gt;Originally, this is one of configuration problem, but finally, the root cause of this problem was &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1720&quot; title=&quot;Quota doesn&amp;#39;t work over 4TB on single OST&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1720&quot;&gt;&lt;del&gt;LU-1720&lt;/del&gt;&lt;/a&gt;. So, please close this ticket, anyway. Thanks!&lt;/p&gt;</comment>
                            <comment id="43469" author="pjones" created="Sat, 18 Aug 2012 10:33:48 +0000"  >&lt;p&gt;ok thanks Ihara!&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_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzvgsf:</customfieldvalue>

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