<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:06:17 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-7134] Ensure ZFS hostid protection if servicenode/failover options given to mkfs.lustre</title>
                <link>https://jira.whamcloud.com/browse/LU-7134</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;SPL import protection only exists if &lt;tt&gt;hostid&lt;/tt&gt; is set to a non-zero value.  If servicenode or failover is given as an option, then mkfs.lustre should at least warn that &lt;tt&gt;hostid&lt;/tt&gt; is set to zero and import protection won&apos;t work.&lt;/p&gt;

&lt;p&gt;Proposed solution:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Have &lt;tt&gt;mkfs.lustre&lt;/tt&gt; fail if &lt;tt&gt;&amp;#45;&amp;#45;servicenode&lt;/tt&gt; / &lt;tt&gt;&amp;#45;&amp;#45;failover&lt;/tt&gt; is specified and &lt;tt&gt;hostid&lt;/tt&gt; is zero (will check &lt;tt&gt;spl&amp;#95;hostid&lt;/tt&gt; value).&lt;/li&gt;
	&lt;li&gt;Add override option &lt;tt&gt;&amp;#45;&amp;#45;force&amp;#45;nohostid&lt;/tt&gt; to ignore this case&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="32043">LU-7134</key>
            <summary>Ensure ZFS hostid protection if servicenode/failover options given to mkfs.lustre</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="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="utopiabound">Nathaniel Clark</assignee>
                                    <reporter username="utopiabound">Nathaniel Clark</reporter>
                        <labels>
                            <label>zfs</label>
                    </labels>
                <created>Thu, 10 Sep 2015 20:21:40 +0000</created>
                <updated>Thu, 14 Jun 2018 21:41:17 +0000</updated>
                            <resolved>Tue, 31 May 2016 12:51:19 +0000</resolved>
                                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>9</watches>
                                                                            <comments>
                            <comment id="127078" author="utopiabound" created="Fri, 11 Sep 2015 14:31:40 +0000"  >&lt;p&gt;SPL supports setting HostID in two ways:&lt;/p&gt;

&lt;p&gt;    option spl spl_hostid to manually specify the HostID to use&lt;br/&gt;
    option spl spl_hostid_path to specify an alternate HostID file to use (default: /etc/hostid)&lt;/p&gt;

&lt;p&gt;What if I check the spl hostid /sys/module/spl/parameters/spl_hostid to ensure it&apos;s non-zero? It show the HostID is is using (even when read from /etc/hostid)&lt;/p&gt;</comment>
                            <comment id="128268" author="gerrit" created="Wed, 23 Sep 2015 17:33:02 +0000"  >&lt;p&gt;Nathaniel Clark (nathaniel.l.clark@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/16611&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16611&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7134&quot; title=&quot;Ensure ZFS hostid protection if servicenode/failover options given to mkfs.lustre&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7134&quot;&gt;&lt;del&gt;LU-7134&lt;/del&gt;&lt;/a&gt; utils: Ensure MMP support in SPL/ZFS during mkfs&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 15b26271b2ce4ccd87b424a75765edbf9f5f82eb&lt;/p&gt;</comment>
                            <comment id="135418" author="utopiabound" created="Mon, 7 Dec 2015 19:23:25 +0000"  >&lt;p&gt;Upon closer reading of the code in ZFS, I&apos;m not sure enabling this will help in a fail-over scenario or provide adequate protection. &lt;/p&gt;

&lt;p&gt;The code compares the host&apos;s hostid to the one written to the zpool and then prevents import if they don&apos;t match (unless one of the hostids is 0).  This isn&apos;t true multi-mount protection.  A more robust solution tracked in issue &lt;a href=&quot;https://github.com/zfsonlinux/zfs/issues/745&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;ZFS #745&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="154017" author="gerrit" created="Tue, 31 May 2016 04:55:36 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/16611/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16611/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7134&quot; title=&quot;Ensure ZFS hostid protection if servicenode/failover options given to mkfs.lustre&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7134&quot;&gt;&lt;del&gt;LU-7134&lt;/del&gt;&lt;/a&gt; utils: Ensure hostid set for ZFS during mkfs&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 7b654fc673a2570ab4a828c2a7b213cee8b5b0cc&lt;/p&gt;</comment>
                            <comment id="154066" author="pjones" created="Tue, 31 May 2016 12:51:19 +0000"  >&lt;p&gt;Landed for 2.9&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="34805">LU-7797</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="41441">LU-8816</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="18389">LU-3163</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="31167">LU-6889</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|hzxn6n:</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>