<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:48:06 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-11922] mkfs.lustre in 1.44.3.wc1 causes corruption if &apos;metadata_csum&apos; option enabled</title>
                <link>https://jira.whamcloud.com/browse/LU-11922</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&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 --mgs --fsname=lustre /dev/sda 
# mkfs.lustre --ost --servicenode=172.16.251.20@o2ib --mgsnode=172.16.251.20@o2ib --fsname=lustre --index=0 --reformat --mkfsoptions=&apos;-text4&apos; /dev/sdc 

# mount -t lustre /dev/sda /tmp/mgs/
# mount -t lustre /dev/sdc /tmp/ost0/
&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;Feb  5 06:08:59 ai200-7f94-vm00 kernel: LDISKFS-fs (sdc): file extents enabled, maximum tree depth=5
Feb  5 06:08:59 ai200-7f94-vm00 kernel: LDISKFS-fs (sdc): mounted filesystem with ordered data mode. Opts: errors=remount-ro
Feb  5 06:08:59 ai200-7f94-vm00 kernel: LDISKFS-fs (sdc): file extents enabled, maximum tree depth=5
Feb  5 06:08:59 ai200-7f94-vm00 kernel: LDISKFS-fs (sdc): mounted filesystem with ordered data mode. Opts: ,errors=remount-ro,no_mbcache,nodelalloc
Feb  5 06:08:59 ai200-7f94-vm00 kernel: LDISKFS-fs error (device sdc): htree_dirblock_to_tree:1278: inode #11272193: block 721437184:
         comm mount.lustre: bad entry in directory: rec_len is too small for name_len - offset=4084(4084), inode=0, rec_len=12, name_len=0
Feb  5 06:08:59 ai200-7f94-vm00 kernel: Aborting journal on device sdc-8.
Feb  5 06:08:59 ai200-7f94-vm00 kernel: LDISKFS-fs (sdc): Remounting filesystem read-only
Feb  5 06:09:04 ai200-7f94-vm00 kernel: LDISKFS-fs warning (device sdc): kmmpd:187: kmmpd being stopped since filesystem has been remounted as readonly.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Without &apos;-t ext4&apos;, it was no problem.&lt;br/&gt;
Also, 1.42.13.wc6 didn&apos;t cause problem even with &apos;-t ext4&apos;. it seems lustre version  doesn&apos;t matter. hit problem with 2.10, 2.12 and master.&lt;/p&gt;</description>
                <environment></environment>
        <key id="54772">LU-11922</key>
            <summary>mkfs.lustre in 1.44.3.wc1 causes corruption if &apos;metadata_csum&apos; option enabled</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="dongyang">Dongyang Li</assignee>
                                    <reporter username="sihara">Shuichi Ihara</reporter>
                        <labels>
                            <label>LTS12</label>
                            <label>ldiskfs</label>
                            <label>nasa</label>
                    </labels>
                <created>Tue, 5 Feb 2019 06:21:52 +0000</created>
                <updated>Mon, 5 Oct 2020 14:58:23 +0000</updated>
                            <resolved>Sat, 16 Mar 2019 00:24:34 +0000</resolved>
                                    <version>Lustre 2.12.0</version>
                    <version>Lustre 2.13.0</version>
                                    <fixVersion>Lustre 2.13.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="241366" author="adilger" created="Tue, 5 Feb 2019 07:35:57 +0000"  >&lt;p&gt;I&apos;m able to reproduce this locally. It looks like it is caused by the use of &lt;tt&gt;metadata_csum&lt;/tt&gt;, which is inherited from &lt;tt&gt;/etc/mke2fs.conf&lt;/tt&gt; when &quot;&lt;tt&gt;-t ext4&lt;/tt&gt;&quot; is enabled. Removing &lt;tt&gt;metadata_csum&lt;/tt&gt; from &lt;tt&gt;/etc/mke2fs.conf&lt;/tt&gt; avoids the 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;formatting backing filesystem ldiskfs on /dev/loop0
        target name   testfs:OST0000
        kilobytes     400000
        options       -t ext4 -I 512 -q -O extents,uninit_bg,dir_nlink,quota,huge_file,flex_bg
                      -G 256 -E resize=&quot;4290772992&quot;,lazy_journal_init -F
mkfs_cmd = mke2fs -j -b 4096 -L testfs:OST0000 -t ext4 -I 512 -q
           -O extents,uninit_bg,dir_nlink,quota,huge_file,flex_bg -G 256 -E resize=&quot;4290772992&quot;,lazy_journal_init -F /dev/loop0 400000k

Filesystem volume name:   testfs:OST0000
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype
                   needs_recovery extent 64bit flex_bg sparse_super large_file
                   huge_file dir_nlink extra_isize quota metadata_csum
Checksum type:            crc32c
Checksum:                 0x4ae324f9
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The later &quot;-O&quot; features that &lt;tt&gt;mkfs.lustre&lt;/tt&gt; enables to not disable the default features that &lt;tt&gt;/etc/mke2fs.conf&lt;/tt&gt; enables.&lt;/p&gt;

&lt;p&gt;I suspect it is some kind of bad interaction between the &lt;tt&gt;dir_data&lt;/tt&gt; feature (even though it is not enabled on the OST) and the &lt;tt&gt;metadata_csum&lt;/tt&gt; feature. Using &lt;tt&gt;metadata_csum&lt;/tt&gt; stores a checksum in a fake directory entry at the end of each directory block. The &lt;tt&gt;dirdata&lt;/tt&gt; feature tries to reserve enough space in the dirent to store extra FID data, so my &lt;b&gt;guess&lt;/b&gt; is that &lt;tt&gt;htree_dirblock_to_tree()&lt;/tt&gt; is trying to get enough space for the &lt;tt&gt;dirdata&lt;/tt&gt; field, even though this feature is disabled on the OST.&lt;/p&gt;

&lt;p&gt;Looking at the code more closely, it definitely seems that this is the case:&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;
/*      
 * This is a bogus directory entry at the end of each leaf block that
 * records checksums.
 */
struct ext4_dir_entry_tail {
        __le32  det_reserved_zero1;     &lt;span class=&quot;code-comment&quot;&gt;/* Pretend to be unused */&lt;/span&gt;
        __le16  det_rec_len;            &lt;span class=&quot;code-comment&quot;&gt;/* 12 */&lt;/span&gt;
        __u8    det_reserved_zero2;     &lt;span class=&quot;code-comment&quot;&gt;/* Zero name length */&lt;/span&gt;
        __u8    det_reserved_ft;        &lt;span class=&quot;code-comment&quot;&gt;/* 0xDE, fake file type */&lt;/span&gt;
        __le32  det_checksum;           &lt;span class=&quot;code-comment&quot;&gt;/* crc32c(uuid+inum+dirblock) */&lt;/span&gt;
};
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Sadly, it seems that setting &lt;tt&gt;det_reserved_ft = 0xde&lt;/tt&gt; is causing &lt;tt&gt;EXT4_DIR_REC_LEN(de)-&amp;gt;ext4_get_dirent_data_len()&lt;/tt&gt; to think there are extra &lt;tt&gt;dirdata&lt;/tt&gt; records in the directory, adding bogus record lengths onto the dirent and triggering this error. This is quite problematic, because the &lt;tt&gt;metadata_csum&lt;/tt&gt; feature is already the default for e2fsprogs-1.44, and the kernel code using &lt;tt&gt;det_reserved_ft = 0xde&lt;/tt&gt; has been in ext4 since commit v3.4-rc5-2-ge61539189606, so there is no way to fix this to work transparently with &lt;tt&gt;dirdata&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;I think a few options exist:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;only check &lt;tt&gt;ext4_get_dirent_data_len()&lt;/tt&gt; if the &lt;tt&gt;dirdata&lt;/tt&gt; feature is enabled, which would probably be smart, but doesn&apos;t fix this problem in the future when we actually want &lt;tt&gt;metadata_csum&lt;/tt&gt; enabled. This is also hard to implement without passing the superblock pointer to &lt;tt&gt;EXT4_DIR_REC_LEN()&lt;/tt&gt;, or masking off the high bits of &lt;tt&gt;de-&amp;gt;file_type&lt;/tt&gt; in the caller (which should be zero if this feature is disabled, but will break &lt;tt&gt;metadata_csum&lt;/tt&gt;?)&lt;/li&gt;
	&lt;li&gt;check in &lt;tt&gt;ext4_get_dirent_data_len()&lt;/tt&gt; for the case &lt;tt&gt;de-&amp;gt;file_type == EXT4_FT_DIR_CSUM&lt;/tt&gt; and return 0 immediately. This would prevent other features from being enabled in this fake dirent, but that in itself is OK... but...&lt;/li&gt;
	&lt;li&gt;There may be a problem at some point in the future if there really is a filetype &lt;tt&gt;E&lt;/tt&gt; and all the &lt;tt&gt;dirdata&lt;/tt&gt; flags &lt;tt&gt;D&lt;/tt&gt; are set (0x80, 0x40, 0x10 = EXT4_DIRENT_LUFID), so a simple check &lt;tt&gt;EXT4_FT_DIR_CSUM&lt;/tt&gt; may get confused, so only skip this filetype if it is the last entry in the directory block.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="241417" author="dongyang" created="Tue, 5 Feb 2019 23:41:33 +0000"  >&lt;p&gt;I like the last one which allows us to enable metadata_csum on the targets.&lt;/p&gt;

&lt;p&gt;and yes only checking if file_type is EXT4_FT_DIR_CSUM is not enough.&lt;/p&gt;

&lt;p&gt;however within ext4_get_dirent_data_len() we can not figure out if the de is the last in the block, we need the beginning of the de block to determine that.&lt;/p&gt;

&lt;p&gt;we can check other things instead, if it is indeed a ext4_dir_entry_tail, then the inode number should be 0, also the name len. and the rec_len should be sizeof(struct ext4_dir_entry_tail) as well as the file_type should be 0xde. I think this is enough for us to return 0 in ext4_get_dirent_data_len().&lt;/p&gt;</comment>
                            <comment id="241427" author="dongyang" created="Wed, 6 Feb 2019 05:54:53 +0000"  >&lt;p&gt;I made the changes mentioned in the previous comment, the targets can be mounted now.&lt;/p&gt;

&lt;p&gt;however when I started mdtest from the client it ran into problems:&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;
[439597.196196] LDISKFS-fs error (device vdb): ldiskfs_dx_csum_set:473: inode #524298: comm mdt00_003: dir seems corrupt?  Run e2fsck -D.
[439597.199074] Aborting journal on device vdb-8.
[439597.200800] LDISKFS-fs (vdb): Remounting filesystem read-only
[439597.202036] LDISKFS-fs error (device vdb) in ldiskfs_reserve_inode_write:5313: Journal has aborted
[439597.203684] LDISKFS-fs error (device vdb) in iam_txn_add:575: Journal has aborted
[439597.204777] LustreError: 14478:0:(osd_io.c:2008:osd_ldiskfs_write_record()) journal_get_write_access() returned error -30
[439597.205744] LustreError: 14478:0:(osd_io.c:2008:osd_ldiskfs_write_record()) Skipped 1 previous similar message
[439597.206623] LustreError: 14478:0:(llog_cat.c:576:llog_cat_add_rec()) llog_write_rec -30: lh=ffff8ecfd7315400
[439597.207585] LustreError: 14478:0:(tgt_lastrcvd.c:1176:tgt_add_reply_data()) testfs-MDT0000: can&apos;t update reply_data file: rc = -30
[439597.209803] LustreError: 14478:0:(osd_handler.c:2008:osd_trans_stop()) testfs-MDT0000: failed in transaction hook: rc = -30
[439597.211020] LustreError: 14478:0:(osd_handler.c:2018:osd_trans_stop()) testfs-MDT0000: failed to stop transaction: rc = -30
[439597.211149] LustreError: 14367:0:(osd_handler.c:1708:osd_trans_commit_cb()) transaction @0xffff8ecfdfb52700 commit error: 2
[439597.211151] LustreError: 14367:0:(osd_handler.c:1708:osd_trans_commit_cb()) Skipped 183 previous similar messages
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;and mdtest on a ldiskfs mount is showing some different errors:&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;
[450387.326280] LDISKFS-fs (loop0): mounted filesystem with ordered data mode. Opts: (&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;)
[450485.679052] LDISKFS-fs warning (device loop0): warn_no_space_for_csum:336: no space in directory inode 524290 leaf &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; checksum.  Please run e2fsck -D.
[450485.679055] LDISKFS-fs warning (device loop0): warn_no_space_for_csum:336: no space in directory inode 524290 leaf &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; checksum.  Please run e2fsck -D.
[450485.679058] LDISKFS-fs error (device loop0): __ldiskfs_read_dirblock:1110: inode #524290: block 508: comm mdtest: Directory index failed checksum
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;I need to look further into it.&lt;/p&gt;</comment>
                            <comment id="241639" author="mhanafi" created="Fri, 8 Feb 2019 23:23:37 +0000"  >&lt;p&gt;Just ran into to this on a newly created filesystem. Lustre2.12 and e2fsprogs-1.44.5.wc1-0.el7.x86_64. Removing the metadata_csum from the /etc/mke2fs.conf the workaround?&lt;/p&gt;</comment>
                            <comment id="241656" author="gerrit" created="Sat, 9 Feb 2019 06:06:50 +0000"  >&lt;p&gt;Li Dongyang (dongyangli@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/34219&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34219&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11922&quot; title=&quot;mkfs.lustre in 1.44.3.wc1 causes corruption if &amp;#39;metadata_csum&amp;#39; option enabled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11922&quot;&gt;&lt;del&gt;LU-11922&lt;/del&gt;&lt;/a&gt; ldiskfs: make dirdata work with metadata_csum&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 466a6c245551fde0b414956e236a0a383a39d3c0&lt;/p&gt;</comment>
                            <comment id="241657" author="dongyang" created="Sat, 9 Feb 2019 06:10:34 +0000"  >&lt;p&gt;We need to do more testing on this, especially performance tests. I&apos;ve just done some simple mdtest.&lt;/p&gt;

&lt;p&gt;@Mahmoud correct, for now you can removing&#160;metadata_csum from /etc/mke2fs.conf.&lt;/p&gt;</comment>
                            <comment id="244036" author="gerrit" created="Fri, 15 Mar 2019 23:45:54 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/34219/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34219/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11922&quot; title=&quot;mkfs.lustre in 1.44.3.wc1 causes corruption if &amp;#39;metadata_csum&amp;#39; option enabled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11922&quot;&gt;&lt;del&gt;LU-11922&lt;/del&gt;&lt;/a&gt; ldiskfs: make dirdata work with metadata_csum&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: ec7a166a498be607c3882ff11e98b625839e69d0&lt;/p&gt;</comment>
                            <comment id="244046" author="pjones" created="Sat, 16 Mar 2019 00:24:34 +0000"  >&lt;p&gt;Landed for 2.13&lt;/p&gt;</comment>
                            <comment id="253280" author="gerrit" created="Mon, 19 Aug 2019 14:53:23 +0000"  >&lt;p&gt;Minh Diep (mdiep@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35833&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35833&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11922&quot; title=&quot;mkfs.lustre in 1.44.3.wc1 causes corruption if &amp;#39;metadata_csum&amp;#39; option enabled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11922&quot;&gt;&lt;del&gt;LU-11922&lt;/del&gt;&lt;/a&gt; ldiskfs: make dirdata work with metadata_csum&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 12e2fe9da3e7f80177070a9e5f2906ea5d5cd4f1&lt;/p&gt;</comment>
                            <comment id="271468" author="adilger" created="Thu, 28 May 2020 23:52:20 +0000"  >&lt;p&gt;Mahmoud, could you please comment on how you are seeing the &lt;tt&gt;metadata_csum&lt;/tt&gt; feature being enabled for your filesystem?&#160; Is it possible that you are supplying additional formatting options to &lt;tt&gt;mkfs.lustre&lt;/tt&gt; that would enable &lt;tt&gt;metadata_csum&lt;/tt&gt;?&lt;/p&gt;

&lt;p&gt;Lustre does not enable this feature in &lt;tt&gt;mkfs.lustre&lt;/tt&gt;, since this feature has never been tested, and the patch here is meant only to fix an obvious bug in the combination of &lt;tt&gt;metadata_csum&lt;/tt&gt; and &lt;tt&gt;dirdata&lt;/tt&gt;, but is not in any way an endorsement of the use of &lt;tt&gt;metadata_csum&lt;/tt&gt;.  The use of metadata checksums is surprisingly less useful for ldiskfs than it is for e.g. ZFS, because there is no backup copy of the metadata that can be used to recover from checksum errors, as there is in ZFS.&lt;/p&gt;

&lt;p&gt;In the case where a checksum error is hit by the mounted filesystem, the best that it can do is report an error and make the filesystem read-only, and e2fsck only has the option of recalculating the checksum based on the current metadata contents, or considering the metadata corrupt and discarding the inode/block/directory entirely.  In essence, recomputing the checksum is no better than the kernel just ignoring the bad checksum and continuing on to use the metadata as-is, except with a system outage in the middle.  Since ldiskfs already validates metadata content (since &lt;tt&gt;metadata_csum&lt;/tt&gt; is only a recent addition), it can already typically determine whether the content is corrupted.  ZFS on the other hand blindly assumes that if the block checksum is correct that the contents &lt;b&gt;must&lt;/b&gt; be valid, and will happily use bad data within the block (e.g. dereference index values read from disk that exceed the bounds of an array).&lt;/p&gt;</comment>
                            <comment id="271489" author="mhanafi" created="Fri, 29 May 2020 05:33:39 +0000"  >&lt;p&gt;The format option was getting picked up from &lt;tt&gt;/etc/mke2fs.conf. I just removed the option from the file as workaround.&lt;/tt&gt;&lt;/p&gt;</comment>
                            <comment id="271496" author="adilger" created="Fri, 29 May 2020 06:56:11 +0000"  >&lt;p&gt;Sure, I understand that the option was coming from &lt;tt&gt;/etc/mke2fs.conf&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;My question is &lt;b&gt;why&lt;/b&gt; was &lt;tt&gt;metadata_csum&lt;/tt&gt; taken from &lt;tt&gt;/etc/mke2fs.conf&lt;/tt&gt;?  &lt;tt&gt;mkfs.lustre&lt;/tt&gt; doesn&apos;t specify any options to &lt;tt&gt;mke2fs&lt;/tt&gt; that will normally cause this feature to be used.  Did you have a custom &lt;tt&gt;mke2fs.conf&lt;/tt&gt; file that added it to the &lt;tt&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;defaults&amp;#93;&lt;/span&gt;&lt;/tt&gt; section, or specify some extra option like &quot;&lt;tt&gt;mkfs.lustre --mkfsoptions=&apos;-t ext4&apos;&lt;/tt&gt;&quot; that took this option from the &quot;&lt;tt&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;fstypes&amp;#93;&lt;/span&gt;.ext4&lt;/tt&gt;&quot; section, as was reported in this ticket originally?  Do you have the output from &lt;tt&gt;mkfs.lustre&lt;/tt&gt; that shows the command-line options for &lt;tt&gt;mke2fs&lt;/tt&gt;?&lt;/p&gt;</comment>
                            <comment id="271535" author="mhanafi" created="Fri, 29 May 2020 16:26:18 +0000"  >&lt;p&gt;Oh yes we do pass &quot;-t ext4&quot; during our format. We use csv with lustre_configure. Here is an example. (IP address are blocked out.)&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;
service401-ib1,&lt;span class=&quot;code-quote&quot;&gt;&quot;options lnet networks=o2ib(ib1)&quot;&lt;/span&gt;,/dev/mapper/nbp10_1-MGS0,/mnt/lustre/nbp10_1-MGS0,mgs,&lt;span class=&quot;code-quote&quot;&gt;&quot;nbp10&quot;&lt;/span&gt;,x.x.x.x@o2ib:x.x.x.x@o2ib,,,&lt;span class=&quot;code-quote&quot;&gt;&quot;-m 0 &quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;errors=panic,user_xattr,max_sectors_kb=0&quot;&lt;/span&gt;,x.x.x.159@o2ib:x.x.x.x@o2ib
service401-ib1,&lt;span class=&quot;code-quote&quot;&gt;&quot;options lnet networks=o2ib(ib1)&quot;&lt;/span&gt;,/dev/mapper/nbp10_1-MDT0,/mnt/lustre/nbp10_1-MDT0,mdt,nbp10,&lt;span class=&quot;code-quote&quot;&gt;&quot;x.x.x.x@o2ib:x.x.x.x@o2ib&quot;&lt;/span&gt;,0,,&lt;span class=&quot;code-quote&quot;&gt;&quot;-m 0 -N 200000000 -t ext4&quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;acl,errors=panic,user_xattr,max_sectors_kb=0&quot;&lt;/span&gt;,x.x.x.x@o2ib:x.x.x.x@o2ib
service403-ib1,&lt;span class=&quot;code-quote&quot;&gt;&quot;options lnet networks=o2ib(ib1)&quot;&lt;/span&gt;,/dev/mapper/nbp10_2-MDT1,/mnt/lustre/nbp10_2-MDT1,mdt,nbp10,&lt;span class=&quot;code-quote&quot;&gt;&quot;x.x.x.x@o2ib:x.x.x.x@o2ib&quot;&lt;/span&gt;,1,,&lt;span class=&quot;code-quote&quot;&gt;&quot;-m 0 -N 200000000 -t ext4&quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;acl,errors=panic,user_xattr,max_sectors_kb=0&quot;&lt;/span&gt;,x.x.x.x@o2ib:x.x.x.x@o2ib
service401-ib1,&lt;span class=&quot;code-quote&quot;&gt;&quot;options lnet networks=o2ib(ib1)&quot;&lt;/span&gt;,/dev/mapper/nbp10_1-OST0,/mnt/lustre/nbp10_1-OST0,ost,nbp10,&lt;span class=&quot;code-quote&quot;&gt;&quot;x.x.x.x@o2ib:x.x.x.x@o2ib&quot;&lt;/span&gt;,0,,&lt;span class=&quot;code-quote&quot;&gt;&quot;-m 0 -N 34000000  -t ext4 -E packed_meta_blocks=1&quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;acl,errors=panic,user_xattr,max_sectors_kb=0&quot;&lt;/span&gt;,x.x.x.x@o2ib:x.x.x.x@o2ib
service403-ib1,&lt;span class=&quot;code-quote&quot;&gt;&quot;options lnet networks=o2ib(ib1)&quot;&lt;/span&gt;,/dev/mapper/nbp10_2-OST1,/mnt/lustre/nbp10_2-OST1,ost,nbp10,&lt;span class=&quot;code-quote&quot;&gt;&quot;x.x.x.x@o2ib:10.x.26.x@o2ib&quot;&lt;/span&gt;,1,,&lt;span class=&quot;code-quote&quot;&gt;&quot;-m 0 -N 34000000  -t ext4 -E packed_meta_blocks=1&quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;acl,errors=panic,user_xattr,max_sectors_kb=0&quot;&lt;/span&gt;,x.x.x.x@o2ib:x.x.x.x@o2ib
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="271576" author="adilger" created="Sat, 30 May 2020 00:40:10 +0000"  >&lt;p&gt;What is the reason for adding &quot;&lt;tt&gt;-t ext4&lt;/tt&gt;&quot;?  That enables variable and untested features to the filesystem, as shown by this ticket, and is not required AFAIK.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="55437">LU-12196</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="57081">LU-12827</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="59488">LU-13650</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i00ayf:</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>