<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:31: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-10028] Export the information about Lustre special mount flags and options</title>
                <link>https://jira.whamcloud.com/browse/LU-10028</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Some users need the information about Lustre mount. But the information exported by &lt;em&gt;/proc/mounts&lt;/em&gt; is not enough especially for some Lustre special mount options and flags such as abort_recov, noir, etc.&lt;/p&gt;

&lt;p&gt;This patch can export some Lustre special mount information. i.e.&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;[root@QYJ tests]# cat /sys/kernel/debug/lustre/mounts 
profile: lustre-MDT0000 device: /dev/loop0 flags: 3200 options: user_xattr,errors=remount-ro
profile: lustre-OST0000 device: /dev/loop1 flags: 3000 options: ,errors=remount-ro
profile: lustre-OST0001 device: /dev/loop2 flags: 3000 options: ,errors=remount-ro
profile: lustre-client device: 192.168.59.129@tcp:/lustre flags: 2 options: user_xattr,flock
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="48454">LU-10028</key>
            <summary>Export the information about Lustre special mount flags and options</summary>
                <type id="2" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11311&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</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="qian">Qian Yingjin</assignee>
                                    <reporter username="qian">Qian Yingjin</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Mon, 25 Sep 2017 07:04:11 +0000</created>
                <updated>Thu, 12 Apr 2018 16:36:20 +0000</updated>
                            <resolved>Wed, 22 Nov 2017 14:56:37 +0000</resolved>
                                                    <fixVersion>Lustre 2.11.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="209391" author="gerrit" created="Mon, 25 Sep 2017 07:26:50 +0000"  >&lt;p&gt;Yingjin Qian (qian@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/29187&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/29187&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10028&quot; title=&quot;Export the information about Lustre special mount flags and options&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10028&quot;&gt;&lt;del&gt;LU-10028&lt;/del&gt;&lt;/a&gt; obdclass: Export Lustre special mount infomation&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f03191a4f47a355043c47308632a448794e295f1&lt;/p&gt;</comment>
                            <comment id="209672" author="adilger" created="Tue, 26 Sep 2017 22:25:02 +0000"  >&lt;p&gt;It would be better to export this information from /proc/mounts directly rather than adding a special &lt;tt&gt;/sys/kernel/debug/lustre/mounts&lt;/tt&gt; file, so that &quot;&lt;tt&gt;mount&lt;/tt&gt;&quot; returns the right information?&lt;/p&gt;</comment>
                            <comment id="209673" author="adilger" created="Tue, 26 Sep 2017 22:29:38 +0000"  >&lt;p&gt;The patch &lt;a href=&quot;https://review.whamcloud.com/20161&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/20161&lt;/a&gt; is a step in the right direction for this. Creating a proper linkage between the superblock of the mountpoint and the superblock of the underlying filesystem, even if only for ldiskfs, would help with &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-137&quot; title=&quot;ioctl passthrough mechanism for Lustre OST/MDT mountpoints&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-137&quot;&gt;&lt;del&gt;LU-137&lt;/del&gt;&lt;/a&gt; to be able to pass superblock ioctls down to the underlying filesystems for e.g. &lt;tt&gt;resize2fs&lt;/tt&gt; and similar.&lt;/p&gt;</comment>
                            <comment id="209684" author="qian" created="Wed, 27 Sep 2017 02:36:18 +0000"  >&lt;p&gt;Hi Andreas,&lt;br/&gt;
I tried to export the information frome /proc/mounts directly, but I could not find a better solution except patching the kernel proc system.&lt;/p&gt;

&lt;p&gt;The submitted patch &lt;a href=&quot;https://review.whamcloud.com/29187&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/29187&lt;/a&gt; can be used not only for server mountpoint information, but also for exporting client side mountpoint information (i.e. abort_recov).&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Qian&lt;/p&gt;</comment>
                            <comment id="209693" author="qian" created="Wed, 27 Sep 2017 03:14:39 +0000"  >&lt;p&gt;Sorry, I just found that super_block has &apos;show_options&apos;, which can export Lustre special options via /proc/mounts. I will make a patch sooner.&lt;/p&gt;</comment>
                            <comment id="209697" author="gerrit" created="Wed, 27 Sep 2017 08:01:25 +0000"  >&lt;p&gt;Yingjin Qian (qian@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/29228&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/29228&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10028&quot; title=&quot;Export the information about Lustre special mount flags and options&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10028&quot;&gt;&lt;del&gt;LU-10028&lt;/del&gt;&lt;/a&gt; obdclass: Export Lustre mount flags and options&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 3ba3b15304d9f71173b52a667665c2ab60a4dba9&lt;/p&gt;</comment>
                            <comment id="209698" author="qian" created="Wed, 27 Sep 2017 08:02:28 +0000"  >&lt;p&gt;The output of &apos;/proc/mounts&apos; for Lustre is:&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;[root@QYJ tests]# cat /proc/mounts | grep lustre
/dev/sda1 /usr/sbin/mount.lustre xfs rw,relatime,attr2,inode64,noquota 0 0
/dev/loop0 /mnt/lustre-mds1 lustre ro,svname=lustre-MDT0000,mgs,osd=osd-ldiskfs,user_xattr,errors=remount-ro 0 0
/dev/loop1 /mnt/lustre-ost1 lustre ro,svname=lustre-OST0000,mgsnode=192.168.59.129@tcp,osd=osd-ldiskfs,errors=remount-ro 0 0
/dev/loop2 /mnt/lustre-ost2 lustre ro,svname=lustre-OST0001,mgsnode=192.168.59.129@tcp,osd=osd-ldiskfs,errors=remount-ro 0 0
192.168.59.129@tcp:/lustre /mnt/lustre lustre rw,flock,user_xattr,lazystatfs 0 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
</comment>
                            <comment id="214405" author="gerrit" created="Wed, 22 Nov 2017 03:55:48 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/29228/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/29228/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10028&quot; title=&quot;Export the information about Lustre special mount flags and options&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10028&quot;&gt;&lt;del&gt;LU-10028&lt;/del&gt;&lt;/a&gt; obdclass: Export Lustre mount flags and options&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 6ee90b7586d58b0df27a511472e38792baba4745&lt;/p&gt;</comment>
                            <comment id="214438" author="pjones" created="Wed, 22 Nov 2017 14:56:37 +0000"  >&lt;p&gt;Landed for 2.11&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="48618">LU-10087</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="36381">LU-8066</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="50849">LU-10677</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="51707">LU-10887</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|hzzkr3:</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>