<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:24:24 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-2341] e2fsprogs: m_quota: enable quota feature on mkfs: failed</title>
                <link>https://jira.whamcloud.com/browse/LU-2341</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;While building e2fsprogs against master branch, the following error occurred:&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;m_quota: enable quota feature on mkfs: failed
--- m_quota/expect.1    2012-11-16 03:35:44.000000000 +0000
+++ m_quota.1.log       2012-11-16 03:41:38.000000000 +0000
@@ -24,7 +24,7 @@
 Pass 3: Checking directory connectivity
 Pass 4: Checking reference counts
 Pass 5: Checking group summary information
-test_filesys: 11/32768 files (18.2% non-contiguous), 5709/131072 blocks
+test_filesys: 11/32768 files (18.2% non-contiguous), 5703/131072 blocks
 Exit status is 0

 Filesystem volume name:   &amp;lt;none&amp;gt;
@@ -39,7 +39,7 @@
 Inode count:              32768
 Block count:              131072
 Reserved block count:     6553
-Free blocks:              125363
+Free blocks:              125369
 Free inodes:              32757
 First block:              1  
 Block size:               1024
@@ -65,8 +65,8 @@
   Reserved GDT blocks at 3-258
   Block bitmap at 259 (+258), Inode bitmap at 260 (+259)
   Inode table at 261-516 (+260)
-  7644 free blocks, 2037 free inodes, 2 directories
-  Free blocks: 549-8192
+  7650 free blocks, 2037 free inodes, 2 directories
+  Free blocks: 543-8192
   Free inodes: 12-2048
 Group 1: (Blocks 8193-16384) 
   Backup superblock at 8193, Group descriptors at 8194-8194
m_raid_opt: raid options: ok  
m_std: standard filesystem options: ok
m_uninit: uninitialized group feature: ok
r_inline_xattr: shrinking filesystem with in-inode extended attributes: ok
r_move_itable: filesystem resize which requires moving the inode table: ok
r_resize_inode: filesystem resize with a resize_inode present: ok
s_basic_scan: e2scan quick test: ok
t_ext_jnl_rm: remove missing external journal device: ok
t_mmp_1on: enable MMP using tune2fs: ok
t_mmp_2off: disable MMP using tune2fs: ok
t_quota_1on: enable quota using tune2fs: ok
t_quota_2off: disable quota using tune2fs: ok
u_mke2fs: e2undo with mke2fs: ok
u_tune2fs: e2undo with tune2fs: ok
152 tests succeeded     1 tests failed
Tests failed: m_quota
make[2]: *** [test_post] Error 1
make[2]: Leaving directory `/root/rpmbuild/BUILD/e2fsprogs-1.42.5.wc3/tests&apos;
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/e2fsprogs-1.42.5.wc3&apos;
error: Bad exit status from /var/tmp/rpm-tmp.swysI9 (%check)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.swysI9 (%check)
make: *** [rpm] Error 1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Build log is attached.&lt;/p&gt;</description>
                <environment></environment>
        <key id="16703">LU-2341</key>
            <summary>e2fsprogs: m_quota: enable quota feature on mkfs: failed</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="1">Fixed</resolution>
                                        <assignee username="yujian">Jian Yu</assignee>
                                    <reporter username="yujian">Jian Yu</reporter>
                        <labels>
                            <label>e2fsprogs</label>
                    </labels>
                <created>Fri, 16 Nov 2012 00:23:32 +0000</created>
                <updated>Wed, 8 Aug 2018 21:04:34 +0000</updated>
                            <resolved>Wed, 8 Aug 2018 21:04:34 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="47904" author="yujian" created="Fri, 16 Nov 2012 00:56:04 +0000"  >&lt;p&gt;After updating m_quota/expect.1 according to the error message, building e2fsprogs succeeded.&lt;/p&gt;

&lt;p&gt;I wonder whether we only need update m_quota/expect.1 to fix this build issue. If we do this, e2fsprogs will likely no longer build against older versions of Lustre.&lt;/p&gt;</comment>
                            <comment id="47905" author="niu" created="Fri, 16 Nov 2012 01:19:16 +0000"  >&lt;p&gt;I still don&apos;t see why the free blocks is different on different building environment, see:&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;commit a15e46cc3d8d8462a790365e2adb4d1b82014cd4
Author: Niu Yawei &amp;lt;niu@whamcloud.com&amp;gt;
Date:   Tue Jun 12 01:37:13 2012 -0700

    LU-1502 quota: Add basic tests &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; quota

    Fixed two minor defects in the quota code, added basic tests &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt;
    the quota feature.

    Note that the m_quota test is *FAILING* on some systems, but the same
    test is passing on other systems (in particular the build/test nodes):

      @@ -24,7 +24,7 @@ Pass 2: Checking directory structure
       Pass 3: Checking directory connectivity
       Pass 4: Checking reference counts
       Pass 5: Checking group summary information
      -test_filesys: 11/32768 files (18.2% non-contiguous), 5703/131072 blocks
      +test_filesys: 11/32768 files (18.2% non-contiguous), 5709/131072 blocks
       Exit status is 0

       Filesystem volume name:   &amp;lt;none&amp;gt;
      @@ -39,7 +39,7 @@ Filesystem OS type:       Linux
       Inode count:              32768
       Block count:              131072
       Reserved block count:     6553
      -Free blocks:              125369
      +Free blocks:              125363
       Free inodes:              32757
       First block:              1
       Block size:               1024
      @@ -65,8 +65,8 @@ Group 0: (Blocks 1-8192)
         Reserved GDT blocks at 3-258
         Block bitmap at 259 (+258), Inode bitmap at 260 (+259)
         Inode table at 261-516 (+260)
      -  7650 free blocks, 2037 free inodes, 2 directories
      -  Free blocks: 543-8192
      +  7644 free blocks, 2037 free inodes, 2 directories
      +  Free blocks: 549-8192
         Free inodes: 12-2048
       Group 1: (Blocks 8193-16384)
         Backup superblock at 8193, Group descriptors at 8194-8194

    I&apos;m leaving &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; in the &lt;span class=&quot;code-quote&quot;&gt;&quot;passing-on-build nodes&quot;&lt;/span&gt; state, even though it
    is failing on my local system, so that at least we can build and test
    packages.

    Signed-off-by: Niu Yawei &amp;lt;niu@whamcloud.com&amp;gt;
    Signed-off-by: Andreas Dilger &amp;lt;adilger@whamcloud.com&amp;gt;
    Change-Id: If3d68075aa89d6abf0cf77be93ee3b7d927ed545
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Andreas and I were getting 125369 blocks on local building, but our building system is getting 125363 blocks at that time, now seems the building system is changed. I think it&apos;s ok to change it back to 125369 for passing the build. Andreas, what do you think about?&lt;/p&gt;</comment>
                            <comment id="47972" author="yujian" created="Sat, 17 Nov 2012 07:19:55 +0000"  >&lt;p&gt;Hi Niu,&lt;/p&gt;

&lt;p&gt;Thanks for the info.&lt;/p&gt;

&lt;p&gt;FYI, the original issue I reported here occurred in my manual building. Building e2fsprogs by our build system is blocked by &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1606&quot; title=&quot;lustre_idl.h does not compile in user-space&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1606&quot;&gt;&lt;del&gt;LU-1606&lt;/del&gt;&lt;/a&gt; currently. So, after the patch for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1606&quot; title=&quot;lustre_idl.h does not compile in user-space&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1606&quot;&gt;&lt;del&gt;LU-1606&lt;/del&gt;&lt;/a&gt; is landed master branch, I&apos;ll trigger an e2fsprogs build on Jenkins to see whether it succeeds or not. &lt;/p&gt;</comment>
                            <comment id="48284" author="yujian" created="Thu, 22 Nov 2012 08:24:24 +0000"  >&lt;p&gt;After the patch for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1606&quot; title=&quot;lustre_idl.h does not compile in user-space&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1606&quot;&gt;&lt;del&gt;LU-1606&lt;/del&gt;&lt;/a&gt; was landed on master branch, building e2fsprogs succeeded on Jenkins:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://build.whamcloud.com/job/e2fsprogs-reviews/128/arch=x86_64,distro=el6/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://build.whamcloud.com/job/e2fsprogs-reviews/128/arch=x86_64,distro=el6/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let&apos;s close this ticket now.&lt;/p&gt;</comment>
                            <comment id="57593" author="adilger" created="Thu, 2 May 2013 22:51:12 +0000"  >&lt;p&gt;This problem was not really fixed - the e2fsprogs m_quota test passes on Toro/Rosso, but it fails in my local testing environments.  I pushed a debugging patch (&lt;a href=&quot;http://review.whamcloud.com/6158&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/6158&lt;/a&gt;) to see why these blocks are allocated, and it appears that the size of the quota files is different on Toro/Rosso compared to my local systems:&lt;/p&gt;

&lt;p&gt;Output from Rosso build test:&lt;br/&gt;
&lt;a href=&quot;http://build.whamcloud.com/job/e2fsprogs-reviews/160/arch=x86_64,distro=el6/console&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://build.whamcloud.com/job/e2fsprogs-reviews/160/arch=x86_64,distro=el6/console&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;m_quota: enable quota feature on mkfs: ok
debugfs 1.41.12 (17-May-2010)
/tmp/e2fsprogs-tmp.2w9mYe: catastrophic mode - not reading inode or group bitmaps
Inode: 3   Type: regular    Mode:  0600   Flags: 0x10
Generation: 0    Version: 0x00000000
User:     0   Group:     0   Size: 9216
File ACL: 0    Directory ACL: 0
Links: 1   Blockcount: 18
Fragment:  Address: 0    Number: 0    Size: 0
ctime: 0x5182ce50 -- Thu May  2 20:36:32 2013
atime: 0x5182ce50 -- Thu May  2 20:36:32 2013
mtime: 0x5182ce50 -- Thu May  2 20:36:32 2013
BLOCKS:
(0):531, (1):536, (2-5):532-535, (6-8):537-539
TOTAL: 9

debugfs 1.41.12 (17-May-2010)
/tmp/e2fsprogs-tmp.2w9mYe: catastrophic mode - not reading inode or group bitmaps
Inode: 4   Type: regular    Mode:  0600   Flags: 0x10
Generation: 0    Version: 0x00000000
User:     0   Group:     0   Size: 9216
File ACL: 0    Directory ACL: 0
Links: 1   Blockcount: 18
Fragment:  Address: 0    Number: 0    Size: 0
ctime: 0x5182ce50 -- Thu May  2 20:36:32 2013
atime: 0x5182ce50 -- Thu May  2 20:36:32 2013
mtime: 0x5182ce50 -- Thu May  2 20:36:32 2013
BLOCKS:
(0):540, (1):545, (2-5):541-544, (6-8):546-548
TOTAL: 9
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Output from local testing:&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;m_quota: enable quota feature on mkfs: failed
debugfs 1.42.7.wc1 (12-Apr-2013)
/tmp/e2fsprogs-tmp.nIEM6f: catastrophic mode - not reading inode or group bitmap
s
Inode: 3   Type: regular    Mode:  0600   Flags: 0x10
Generation: 0    Version: 0x00000000
User:     0   Group:     0   Size: 6144
File ACL: 0    Directory ACL: 0
Links: 1   Blockcount: 12
Fragment:  Address: 0    Number: 0    Size: 0
ctime: 0x5182ec44 -- Thu May  2 22:44:20 2013
atime: 0x5182ec44 -- Thu May  2 22:44:20 2013
mtime: 0x5182ec44 -- Thu May  2 22:44:20 2013
BLOCKS:
(0):531, (1):536, (2-5):532-535
TOTAL: 6

debugfs 1.42.7.wc1 (12-Apr-2013)
/tmp/e2fsprogs-tmp.nIEM6f: catastrophic mode - not reading inode or group bitmaps
Inode: 4   Type: regular    Mode:  0600   Flags: 0x10
Generation: 0    Version: 0x00000000
User:     0   Group:     0   Size: 6144
File ACL: 0    Directory ACL: 0
Links: 1   Blockcount: 12
Fragment:  Address: 0    Number: 0    Size: 0
ctime: 0x5182ec44 -- Thu May  2 22:44:20 2013
atime: 0x5182ec44 -- Thu May  2 22:44:20 2013
mtime: 0x5182ec44 -- Thu May  2 22:44:20 2013
BLOCKS:
(0):537, (1):542, (2-5):538-541
TOTAL: 6
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Note the local quota files only have 6 blocks allocated each, while the the Toro/Rosso quota files each have 9 blocks.  Together, these account for the 6-block difference in the filesystem allocation.&lt;/p&gt;

&lt;p&gt;Possibly the quota files are created with the maximum UID/GID in /etc/passwd and /etc/group (i.e. are filesystem specific), instead of the actual UID/GID that are in use on the filesystem?&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12056" name="build_e2fsprogs.log" size="108817" author="yujian" created="Fri, 16 Nov 2012 00:23:32 +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|hzvcdz:</customfieldvalue>

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