<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:06:34 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-14068] quota transfer failed: rc = -75. Is project enforcement enabled on the ldiskfs filesystem</title>
                <link>https://jira.whamcloud.com/browse/LU-14068</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;After 2.10.8 to 2.12.5 upgrade on Oak servers, we are planning to enable project quotas like on Fir. However, I&apos;m hitting the following problem:&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;[root@oak-gw02 ~]# lfs project -p $PROJID -s -r $PROJPATH
lfs: failed to set xattr for &apos;/oak/stanford/groups/ruthm/sthiell/from_krb5_lookout2&apos;: Value too large for defined data type
lfs: failed to set xattr for &apos;/oak/stanford/groups/ruthm/sthiell/.blah.txt.swp&apos;: Value too large for defined data type
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;MDS:&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;Oct 22 16:00:56 oak-md1-s2 kernel: LustreError: 7947:0:(osd_handler.c:2998:osd_quota_transfer()) dm-4: quota transfer failed: rc = -75. Is project enforcement enabled on the ldiskfs filesystem?
Oct 22 16:00:56 oak-md1-s2 kernel: LustreError: 7947:0:(osd_handler.c:2998:osd_quota_transfer()) Skipped 1072 previous similar messages
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Full debug from the MDS when this happens attached as &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/attachment/36426/36426_oak-md1-s2.dk.log.gz&quot; title=&quot;oak-md1-s2.dk.log.gz attached to LU-14068&quot;&gt;oak-md1-s2.dk.log.gz&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.whamcloud.com/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Project quotas are enabled and also enforced:&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;[root@oak-md1-s2 ~]# lctl get_param osd-*.*.quota_slave.info
osd-ldiskfs.oak-MDT0000.quota_slave.info=
target name:    oak-MDT0000
pool ID:        0
type:           md
quota enabled:  gp
conn to master: setup
space acct:     ugp
user uptodate:  glb[0],slv[0],reint[0]
group uptodate: glb[1],slv[1],reint[0]
project uptodate: glb[1],slv[1],reint[0]
osd-ldiskfs.oak-MDT0003.quota_slave.info=
target name:    oak-MDT0003
pool ID:        0
type:           md
quota enabled:  gp
conn to master: setup
space acct:     ugp
user uptodate:  glb[0],slv[0],reint[0]
group uptodate: glb[1],slv[1],reint[0]
project uptodate: glb[1],slv[1],reint[0]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Note, this MDT only has 512-byte inodes and we have used resize2fs once in the past to grow it:&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;[root@oak-md1-s2 ~]# dumpe2fs -h /dev/mapper/md1-rbod1-ssd-mdt0 
dumpe2fs 1.45.6.wc2 (28-Sep-2020)
Filesystem volume name:   oak-MDT0000
Last mounted on:          /
Filesystem UUID:          0ed1cfdd-8e25-4b6b-9cb9-7be1e89d70ad
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery mmp flex_bg dirdata sparse_super large_file huge_file uninit_bg dir_nlink quota project
Filesystem flags:         signed_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              1869611008
Block count:              934803456
Reserved block count:     46740172
Free blocks:              481199422
Free inodes:              1155160366
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      787
Blocks per group:         16384
Fragments per group:      16384
Inodes per group:         32768
Inode blocks per group:   4096
Flex block group size:    16
Filesystem created:       Mon Feb 13 12:36:07 2017
Last mount time:          Mon Oct 19 09:37:19 2020
Last write time:          Mon Oct 19 09:37:19 2020
Mount count:              10
Maximum mount count:      -1
Last checked:             Tue Sep 10 06:37:13 2019
Check interval:           0 (&amp;lt;none&amp;gt;)
Lifetime writes:          168 TB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:	          512
Required extra isize:     28
Desired extra isize:      28
Journal inode:            8
Default directory hash:   half_md4
Directory Hash Seed:      be3bd996-8da4-4d22-80e4-e7a4c8ce22a0
Journal backup:           inode blocks
MMP block number:         13560
MMP update interval:      5
User quota inode:         3
Group quota inode:        4
Project quota inode:      325
Journal features:         journal_incompat_revoke
Journal size:             4096M
Journal length:           1048576
Journal sequence:         0x40cddf6c
Journal start:            54810
MMP_block:
    mmp_magic: 0x4d4d50
    mmp_check_interval: 10
    mmp_sequence: 0x00dd28
    mmp_update_date: Thu Oct 22 16:15:18 2020
    mmp_update_time: 1603408518
    mmp_node_name: oak-md1-s2
    mmp_device_name: dm-4
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>2.12.5_7.srcc (&lt;a href=&quot;https://github.com/stanford-rc/lustre/commits/b2_12_5&quot;&gt;https://github.com/stanford-rc/lustre/commits/b2_12_5&lt;/a&gt;)</environment>
        <key id="61324">LU-14068</key>
            <summary>quota transfer failed: rc = -75. Is project enforcement enabled on the ldiskfs filesystem</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="wshilong">Wang Shilong</assignee>
                                    <reporter username="sthiell">Stephane Thiell</reporter>
                        <labels>
                            <label>LTS12</label>
                    </labels>
                <created>Thu, 22 Oct 2020 23:16:49 +0000</created>
                <updated>Fri, 30 Oct 2020 03:05:36 +0000</updated>
                            <resolved>Fri, 30 Oct 2020 03:05:05 +0000</resolved>
                                    <version>Lustre 2.12.5</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="283060" author="sthiell" created="Thu, 22 Oct 2020 23:30:38 +0000"  >&lt;p&gt;So far, I haven&apos;t seen the same problem for setting project IDs on files hosted on oak-MDT0001 which is using 1,024-byte inodes. That&apos;s the only main difference I can see.&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;[root@oak-md1-s1 ~]# dumpe2fs -h /dev/mapper/md1-rbod1-ssd-mdt1
dumpe2fs 1.45.6.wc2 (28-Sep-2020)
Filesystem volume name: &#160; oak-MDT0001
Last mounted on:&#160; &#160; &#160; &#160; &#160; /
Filesystem UUID:&#160; &#160; &#160; &#160; &#160; 169de89e-6b5d-4480-b118-8f726d7af07b
Filesystem magic number:&#160; 0xEF53
Filesystem revision #:&#160; &#160; 1 (dynamic)
Filesystem features:&#160; &#160; &#160; has_journal ext_attr resize_inode dir_index filetype needs_recovery mmp flex_bg dirdata sparse_super large_file huge_file uninit_bg dir_nlink quota project
Filesystem flags: &#160; &#160; &#160; &#160; signed_directory_hash 
Default mount options:&#160; &#160; user_xattr acl
Filesystem state: &#160; &#160; &#160; &#160; clean
Errors behavior:&#160; &#160; &#160; &#160; &#160; Continue
Filesystem OS type: &#160; &#160; &#160; Linux
Inode count:&#160; &#160; &#160; &#160; &#160; &#160; &#160; 1495554576
Block count:&#160; &#160; &#160; &#160; &#160; &#160; &#160; 934803456
Reserved block count: &#160; &#160; 46739624
Free blocks:&#160; &#160; &#160; &#160; &#160; &#160; &#160; 549513350
Free inodes:&#160; &#160; &#160; &#160; &#160; &#160; &#160; 1357906233
First block:&#160; &#160; &#160; &#160; &#160; &#160; &#160; 0
Block size: &#160; &#160; &#160; &#160; &#160; &#160; &#160; 4096
Fragment size:&#160; &#160; &#160; &#160; &#160; &#160; 4096
Reserved GDT blocks:&#160; &#160; &#160; 834
Blocks per group: &#160; &#160; &#160; &#160; 20472
Fragments per group:&#160; &#160; &#160; 20472
Inodes per group: &#160; &#160; &#160; &#160; 32752
Inode blocks per group: &#160; 8188
Flex block group size:&#160; &#160; 16
Filesystem created: &#160; &#160; &#160; Thu Oct 18 11:43:21 2018
Last mount time:&#160; &#160; &#160; &#160; &#160; Wed Oct 21 08:32:20 2020
Last write time:&#160; &#160; &#160; &#160; &#160; Wed Oct 21 08:32:20 2020
Mount count:&#160; &#160; &#160; &#160; &#160; &#160; &#160; 9
Maximum mount count:&#160; &#160; &#160; -1
Last checked: &#160; &#160; &#160; &#160; &#160; &#160; Wed Sep 30 11:32:31 2020
Check interval: &#160; &#160; &#160; &#160; &#160; 0 (&amp;lt;none&amp;gt;)
Lifetime writes:&#160; &#160; &#160; &#160; &#160; 21 TB
Reserved blocks uid:&#160; &#160; &#160; 0 (user root)
Reserved blocks gid:&#160; &#160; &#160; 0 (group root)
First inode:&#160; &#160; &#160; &#160; &#160; &#160; &#160; 11
Inode size:	&#160; &#160; &#160; &#160; &#160; 1024
Required extra isize: &#160; &#160; 32
Desired extra isize:&#160; &#160; &#160; 32
Journal inode:&#160; &#160; &#160; &#160; &#160; &#160; 8
Default directory hash: &#160; half_md4
Directory Hash Seed:&#160; &#160; &#160; c48690f3-5625-496d-adb1-9c3288cc8b00
Journal backup: &#160; &#160; &#160; &#160; &#160; inode blocks
MMP block number: &#160; &#160; &#160; &#160; 17606
MMP update interval:&#160; &#160; &#160; 5
User quota inode: &#160; &#160; &#160; &#160; 3
Group quota inode:&#160; &#160; &#160; &#160; 4
Project quota inode:&#160; &#160; &#160; 113
Journal features: &#160; &#160; &#160; &#160; journal_incompat_revoke
Journal size: &#160; &#160; &#160; &#160; &#160; &#160; 4096M
Journal length: &#160; &#160; &#160; &#160; &#160; 1048576
Journal sequence: &#160; &#160; &#160; &#160; 0x018fbaff
Journal start:&#160; &#160; &#160; &#160; &#160; &#160; 268485
MMP_block:
&#160; &#160; mmp_magic: 0x4d4d50
&#160; &#160; mmp_check_interval: 10
&#160; &#160; mmp_sequence: 0x0059dd
&#160; &#160; mmp_update_date: Thu Oct 22 16:29:21 2020
&#160; &#160; mmp_update_time: 1603409361
&#160; &#160; mmp_node_name: oak-md1-s1
&#160; &#160; mmp_device_name: dm-3 &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
</comment>
                            <comment id="283140" author="pjones" created="Fri, 23 Oct 2020 15:43:08 +0000"  >&lt;p&gt;Shilong&lt;/p&gt;

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

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="283183" author="wshilong" created="Fri, 23 Oct 2020 23:57:04 +0000"  >&lt;p&gt;Yup, problem is:&lt;/p&gt;

&lt;p&gt;&quot;Required extra isize:     28&quot; &lt;/p&gt;

&lt;p&gt;We need &quot;Required extra isize: 32&quot; at least,  there is a patch to fix this,&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://review.whamcloud.com/#/c/38505/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/38505/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="283185" author="sthiell" created="Sat, 24 Oct 2020 05:37:09 +0000"  >&lt;p&gt;Thank you Shilong! This is very helpful. Can this patch be added to b2_12?&lt;/p&gt;</comment>
                            <comment id="283730" author="sthiell" created="Fri, 30 Oct 2020 02:26:25 +0000"  >&lt;p&gt;We have the patch running in production and it did fix our issue. I have been able to assign project IDs to many files on MDT with 512-byte inodes. We have seen only a single occurence of &quot;quota transfer failed: rc = -75&quot; since then, I&apos;m not sure why but it&apos;s probably an edge case. Thanks again for the patch!&lt;/p&gt;</comment>
                            <comment id="283738" author="pjones" created="Fri, 30 Oct 2020 03:05:05 +0000"  >&lt;p&gt;That&apos;s good Stephane. We&apos;re tracking the landing of the patch under &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13519&quot; title=&quot;expand inode if possible for project quota&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13519&quot;&gt;&lt;del&gt;LU-13519&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="59060">LU-13519</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="36426" name="oak-md1-s2.dk.log.gz" size="13059226" author="sthiell" created="Thu, 22 Oct 2020 23:14:41 +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|i01d2v:</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>