<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:36:32 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-10599] Possible for ID_FS_TYPE to be lustre / ldiskfs?</title>
                <link>https://jira.whamcloud.com/browse/LU-10599</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;consider a command like:&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;mkfs.ext4 /dev/disk/by-id/ata-VBOX_HARDDISK_OST0PORT100000000000-part1&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;This yields a UDEV event with:&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;ID_FS_TYPE=ext4
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;br/&gt;
Creating a ldiskfs also sets &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;ID_FS_TYPE=ext4
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Possible to set that to something other than &lt;tt&gt;ext4&lt;/tt&gt;, I.E. &lt;tt&gt;lustre&lt;/tt&gt; or &lt;tt&gt;ldiskfs&lt;/tt&gt;?&lt;/p&gt;</description>
                <environment></environment>
        <key id="50516">LU-10599</key>
            <summary>Possible for ID_FS_TYPE to be lustre / ldiskfs?</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="utopiabound">Nathaniel Clark</assignee>
                                    <reporter username="joe.grund">Joe Grund</reporter>
                        <labels>
                    </labels>
                <created>Fri, 2 Feb 2018 23:06:06 +0000</created>
                <updated>Tue, 14 Jul 2020 20:10:49 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="222095" author="pjones" created="Thu, 1 Mar 2018 21:54:57 +0000"  >&lt;p&gt;Nathaniel&lt;/p&gt;

&lt;p&gt;Is this something that you could help with?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="222428" author="utopiabound" created="Mon, 5 Mar 2018 19:41:57 +0000"  >&lt;p&gt;&lt;tt&gt;mkfs.lustre&lt;/tt&gt; does emit udev events and they are almost the same.  The FS_TYPE is listed as &quot;ext4&quot;, since ldiskfs is based on ext4.  &lt;/p&gt;

&lt;p&gt;&lt;b&gt;ldiskfs&lt;/b&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;[root@ieel-oss05 ~]# udevadm info --query=property --name /dev/sdb
DEVLINKS=/dev/disk/by-id/scsi-36001405d57eec3c890142e593bc04a66 /dev/disk/by-id/wwn-0x6001405d57eec3c890142e593bc04a66 /dev/disk/by-label/scratch:OST0000 /dev/disk/by-path/ip-192.168.56.3:3260-iscsi-iqn.2005-06.net.utopiabound.ieel-storage:ieel-os2-lun-0 /dev/disk/by-uuid/89fa6c99-2c9d-471c-bf86-4893c54583c6
DEVNAME=/dev/sdb
DEVPATH=/devices/platform/host5/session3/target5:0:0/5:0:0:0/block/sdb
DEVTYPE=disk
ID_BUS=scsi
ID_FS_LABEL=scratch:OST0000
ID_FS_LABEL_ENC=scratch:OST0000
ID_FS_TYPE=ext4
ID_FS_USAGE=filesystem
ID_FS_UUID=89fa6c99-2c9d-471c-bf86-4893c54583c6
ID_FS_UUID_ENC=89fa6c99-2c9d-471c-bf86-4893c54583c6
ID_FS_VERSION=1.0
ID_MODEL=ost5
ID_MODEL_ENC=ost5\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
ID_PATH=ip-192.168.56.3:3260-iscsi-iqn.2005-06.net.utopiabound.ieel-storage:ieel-os2-lun-0
ID_PATH_TAG=ip-192_168_56_3_3260-iscsi-iqn_2005-06_net_utopiabound_ieel-storage_ieel-os2-lun-0
ID_REVISION=4.0
ID_SCSI=1
ID_SCSI_SERIAL=d57eec3c-8901-42e5-93bc-04a660762a87
ID_SERIAL=36001405d57eec3c890142e593bc04a66
ID_SERIAL_SHORT=6001405d57eec3c890142e593bc04a66
ID_TARGET_PORT=0
ID_TYPE=disk
ID_VENDOR=LIO-ORG
ID_VENDOR_ENC=LIO-ORG\x20
ID_WWN=0x6001405d57eec3c8
ID_WWN_VENDOR_EXTENSION=0x90142e593bc04a66
ID_WWN_WITH_EXTENSION=0x6001405d57eec3c890142e593bc04a66
IML_IS_RO=0
IML_SCSI_80=SLIO-ORG ost5            d57eec3c-8901-42e5-93bc-04a660762a87
IML_SCSI_83=36001405d57eec3c890142e593bc04a66
IML_SIZE=16777216
MAJOR=8
MINOR=16
MPATH_SBIN_PATH=/sbin
SUBSYSTEM=block
TAGS=:systemd:
USEC_INITIALIZED=285444
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;b&gt;ext4&lt;/b&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;[root@ieel-oss05 ~]# udevadm info --query=property --name /dev/sdc
DEVLINKS=/dev/disk/by-id/scsi-360014050c340c8c56654461bf31ca064 /dev/disk/by-id/wwn-0x60014050c340c8c56654461bf31ca064 /dev/disk/by-path/ip-192.168.56.3:3260-iscsi-iqn.2005-06.net.utopiabound.ieel-storage:ieel-os2-lun-1 /dev/disk/by-uuid/45719ab5-bff2-4aa5-9e41-5239c0d56bcf
DEVNAME=/dev/sdc
DEVPATH=/devices/platform/host5/session3/target5:0:0/5:0:0:1/block/sdc
DEVTYPE=disk
ID_BUS=scsi
ID_FS_TYPE=ext4
ID_FS_USAGE=filesystem
ID_FS_UUID=45719ab5-bff2-4aa5-9e41-5239c0d56bcf
ID_FS_UUID_ENC=45719ab5-bff2-4aa5-9e41-5239c0d56bcf
ID_FS_VERSION=1.0
ID_MODEL=ost6
ID_MODEL_ENC=ost6\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
ID_PATH=ip-192.168.56.3:3260-iscsi-iqn.2005-06.net.utopiabound.ieel-storage:ieel-os2-lun-1
ID_PATH_TAG=ip-192_168_56_3_3260-iscsi-iqn_2005-06_net_utopiabound_ieel-storage_ieel-os2-lun-1
ID_REVISION=4.0
ID_SCSI=1
ID_SCSI_SERIAL=0c340c8c-5665-4461-bf31-ca064dc55200
ID_SERIAL=360014050c340c8c56654461bf31ca064
ID_SERIAL_SHORT=60014050c340c8c56654461bf31ca064
ID_TARGET_PORT=0
ID_TYPE=disk
ID_VENDOR=LIO-ORG
ID_VENDOR_ENC=LIO-ORG\x20
ID_WWN=0x60014050c340c8c5
ID_WWN_VENDOR_EXTENSION=0x6654461bf31ca064
ID_WWN_WITH_EXTENSION=0x60014050c340c8c56654461bf31ca064
IML_IS_RO=0
IML_SCSI_80=SLIO-ORG ost6            0c340c8c-5665-4461-bf31-ca064dc55200
IML_SCSI_83=360014050c340c8c56654461bf31ca064
IML_SIZE=16777216
MAJOR=8
MINOR=32
MPATH_SBIN_PATH=/sbin
SUBSYSTEM=block
TAGS=:systemd:
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="222713" author="joe.grund" created="Wed, 7 Mar 2018 17:24:46 +0000"  >&lt;p&gt;Sorry, let me update ticket to reflect my intent better&lt;/p&gt;</comment>
                            <comment id="257105" author="ofaaland" created="Fri, 25 Oct 2019 20:22:11 +0000"  >&lt;p&gt;It would be useful for the purposes of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12530&quot; title=&quot;udev add/change rule loads zfs module on clients&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12530&quot;&gt;&lt;del&gt;LU-12530&lt;/del&gt;&lt;/a&gt; if there was a property of an ldiskfs-formatted device that definitely distinguished it from an ext-formatted device.&lt;/p&gt;</comment>
                            <comment id="257182" author="simmonsja" created="Mon, 28 Oct 2019 13:07:37 +0000"  >&lt;p&gt;one day ext4 will be ldiskfs so we need to think of another way.&lt;/p&gt;</comment>
                            <comment id="275386" author="adilger" created="Tue, 14 Jul 2020 20:10:49 +0000"  >&lt;p&gt;I agree with James in that the format of ldiskfs is as close as possible to ext4, so the &lt;tt&gt;ID_FS_TYPE&lt;/tt&gt; cannot be used to distinguish them. Some options include using the &lt;tt&gt;ID_FS_LABEL&lt;/tt&gt; to check for &lt;tt&gt;$fsname&lt;span class=&quot;error&quot;&gt;&amp;#91;:-&amp;#93;&lt;/span&gt;TGTxxxx&lt;/tt&gt;, where &lt;tt&gt;TGT&lt;/tt&gt; is &lt;tt&gt;MDT&lt;/tt&gt; or &lt;tt&gt;OST&lt;/tt&gt; or &lt;tt&gt;MGS/MGT&lt;/tt&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="56305">LU-12530</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="51084">LU-10756</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|hzzs3z:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>