<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:57:09 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-6093] mke2fs is confused by existence of ZFS mounts</title>
                <link>https://jira.whamcloud.com/browse/LU-6093</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This causes sanity.sh to fail when a single-node is used with FSTYPE=zfs.&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;# which mke2fs
/sbin/mke2fs
# rpm -q --file /sbin/mke2fs
e2fsprogs-1.42.12.wc1-7.el6.x86_64

# mount
/dev/vda1 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
#
# rm -f /tmp/f0
# touch /tmp/f0
# mke2fs -j -F /tmp/f0 8000
mke2fs 1.42.12.wc1 (15-Sep-2014)
Creating filesystem with 8000 1k blocks and 2000 inodes

Allocating group tables: done
Writing inode tables: done
Creating journal (1024 blocks): done
Writing superblocks and filesystem accounting information: done

# export FSTYPE=zfs
# llmount.sh
...
# mount
/dev/vda1 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/root/lustre-release/lustre/utils/mount.lustre on /sbin/mount.lustre type none (rw,bind)
lustre-mdt1/mdt1 on /mnt/mds1 type lustre (rw)
lustre-ost1/ost1 on /mnt/ost1 type lustre (rw)
lustre-ost2/ost2 on /mnt/ost2 type lustre (rw)
t@tcp:/lustre on /mnt/lustre type lustre (rw,user_xattr,flock)
# rm -f /tmp/f0
# touch /tmp/f0
# mke2fs -j -F /tmp/f0 8000
mke2fs 1.42.12.wc1 (15-Sep-2014)
Cannot resolve mntdev lustre-mdt1/mdt1
/tmp/f0 is mounted; will not make a filesystem here!
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;If I downgrage to the CentOS 6.4 e2fsprogs but keep the ZFS backed&lt;br/&gt;
Lustre FS mounted then mke2fs works fine.&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;t:~# rpm -qi e2fsprogs
Name        : e2fsprogs                    Relocations: (not relocatable)
Version     : 1.41.12                           Vendor: CentOS
Release     : 14.el6                        Build Date: Thu 21 Feb 2013 05:51:14 PM CST
Install Date: Thu 08 Jan 2015 09:53:02 AM CST      Build Host: c6b7.bsys.dev.centos.org
Group       : System Environment/Base       Source RPM: e2fsprogs-1.41.12-14.el6.src.rpm
Size        : 2016016                          License: GPLv2
Signature   : RSA/SHA1, Sat 23 Feb 2013 11:41:10 AM CST, Key ID 0946fca2c105b9de
Packager    : CentOS BuildSystem &amp;lt;http://bugs.centos.org&amp;gt;
URL         : http://e2fsprogs.sourceforge.net/
Summary     : Utilities for managing ext2, ext3, and ext4 filesystems
Description :
The e2fsprogs package contains a number of utilities for creating,
checking, modifying, and correcting any inconsistencies in second,
third and fourth extended (ext2/ext3/ext4) filesystems. E2fsprogs
contains e2fsck (used to repair filesystem inconsistencies after an
unclean shutdown), mke2fs (used to initialize a partition to contain
an empty ext2 filesystem), debugfs (used to examine the internal
structure of a filesystem, to manually repair a corrupted
filesystem, or to create test cases for e2fsck), tune2fs (used to
modify filesystem parameters), and most of the other core ext2fs
filesystem utilities.

You should install the e2fsprogs package if you need to manage the
performance of an ext2, ext3, or ext4 filesystem.
# mount
...
lustre-mdt1/mdt1 on /mnt/mds1 type lustre (rw)
lustre-ost1/ost1 on /mnt/ost1 type lustre (rw)
lustre-ost2/ost2 on /mnt/ost2 type lustre (rw)
t@tcp:/lustre on /mnt/lustre type lustre (rw,user_xattr,flock)
# mke2fs -j -F /tmp/f0 8000
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
2000 inodes, 8000 blocks
400 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=8388608
1 block group
8192 blocks per group, 8192 fragments per group
2000 inodes per group

Writing inode tables: done
Creating journal (1024 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 28 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="28091">LU-6093</key>
            <summary>mke2fs is confused by existence of ZFS mounts</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="niu">Niu Yawei</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>e2fsprogs</label>
                    </labels>
                <created>Thu, 8 Jan 2015 15:58:51 +0000</created>
                <updated>Mon, 1 Jun 2015 07:31:53 +0000</updated>
                            <resolved>Mon, 1 Jun 2015 07:31:53 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="110799" author="gerrit" created="Fri, 27 Mar 2015 05:48:03 +0000"  >&lt;p&gt;Niu Yawei (yawei.niu@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/14223&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/14223&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6093&quot; title=&quot;mke2fs is confused by existence of ZFS mounts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6093&quot;&gt;&lt;del&gt;LU-6093&lt;/del&gt;&lt;/a&gt; ext2fs: don&apos;t confuse mke2fs by zfs Lustre mount&lt;br/&gt;
Project: tools/e2fsprogs&lt;br/&gt;
Branch: master-lustre&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 066f4f9d82eb66a34aada7bb450fb793a364f732&lt;/p&gt;</comment>
                            <comment id="110800" author="niu" created="Fri, 27 Mar 2015 05:48:58 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/14223&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/14223&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="115004" author="gerrit" created="Tue, 12 May 2015 10:58:04 +0000"  >&lt;p&gt;Andreas Dilger (andreas.dilger@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/14223/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/14223/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6093&quot; title=&quot;mke2fs is confused by existence of ZFS mounts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6093&quot;&gt;&lt;del&gt;LU-6093&lt;/del&gt;&lt;/a&gt; ext2fs: don&apos;t confuse mke2fs by Lustre zfs mount&lt;br/&gt;
Project: tools/e2fsprogs&lt;br/&gt;
Branch: master-lustre&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 95e6026b98f517fc7810a068572367728b3887da&lt;/p&gt;</comment>
                            <comment id="117005" author="niu" created="Mon, 1 Jun 2015 07:31:53 +0000"  >&lt;p&gt;patch landed.&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|hzx3gf:</customfieldvalue>

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