<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:28:53 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-9747] posix.sh needs to check for zfs on servers rather than clients</title>
                <link>https://jira.whamcloud.com/browse/LU-9747</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Here&apos;s a recent example of posix being skipped on a zfs config:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://testing.hpdd.intel.com/test_sessions/f38b5926-8503-4f08-9e4b-9f7cd561db9d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sessions/f38b5926-8503-4f08-9e4b-9f7cd561db9d&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It looks like the script is checking for zfs on the client:&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;  18 if [[ $(facet_fstype $SINGLEMDS) = zfs ]]; then
  19         BASELINE_FS=zfs
  20         ! which $ZFS $ZPOOL &amp;gt;/dev/null 2&amp;gt;&amp;amp;1 &amp;amp;&amp;amp;
  21                 skip_env &quot;need $ZFS and $ZPOOL commands&quot; &amp;amp;&amp;amp; exit 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Line 20 should return false if run on servers, but not on clients:&lt;/p&gt;

&lt;p&gt;From MDS/OST:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;which zfs zpool&lt;br/&gt;
  /usr/sbin/zpool&lt;br/&gt;
  /usr/sbin/zfs&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;From clients:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;which zfs zpool&lt;br/&gt;
  /usr/bin/which: no zfs in ($PATH)&lt;br/&gt;
  /usr/bin/which: no zpool in ($PATH)&lt;/li&gt;
&lt;/ol&gt;
</description>
                <environment>full group zfs configs (el7+el7+zfs &amp;amp; el7+el7+zfs+dne)</environment>
        <key id="47155">LU-9747</key>
            <summary>posix.sh needs to check for zfs on servers rather than clients</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="jamesanunez">James Nunez</assignee>
                                    <reporter username="jcasper">James Casper</reporter>
                        <labels>
                            <label>ZFS</label>
                    </labels>
                <created>Fri, 7 Jul 2017 18:19:47 +0000</created>
                <updated>Mon, 18 May 2020 17:10:49 +0000</updated>
                            <resolved>Mon, 18 May 2020 17:10:49 +0000</resolved>
                                    <version>Lustre 2.10.0</version>
                    <version>Lustre 2.12.0</version>
                    <version>Lustre 2.13.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="201393" author="adilger" created="Fri, 7 Jul 2017 18:49:15 +0000"  >&lt;p&gt;The problem is that the POSIX test suite itself runs on the client node, and the intent is that Lustre+ZFS (or Lustre+ldiskfs) should work at least as well as a local ZFS (or ldiskfs) filesystem w.r.t. POSIX compliance.&lt;/p&gt;

&lt;p&gt;I don&apos;t know how ldiskfs/ext4 compares with ZFS in terms of POSIX compliance.  If they are relatively close, we might just consider to remove the &quot;what fstype is the server&quot; and just always compare with the local ldiskfs/ext4 results.  If they are not similar, we could consider to install the ZFS RPMs onto the client node when running the posix test or full test session.&lt;/p&gt;</comment>
                            <comment id="252612" author="gerrit" created="Tue, 6 Aug 2019 16:47:26 +0000"  >&lt;p&gt;James Nunez (jnunez@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35706&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35706&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9747&quot; title=&quot;posix.sh needs to check for zfs on servers rather than clients&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9747&quot;&gt;&lt;del&gt;LU-9747&lt;/del&gt;&lt;/a&gt; tests: compare Lustre/ZFS to local ext4 POSIX&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 6054358875fa1cdc4880ca633fd0c1da0f8f53f3&lt;/p&gt;</comment>
                            <comment id="270490" author="jamesanunez" created="Mon, 18 May 2020 17:10:49 +0000"  >&lt;p&gt;We will not fix this issue because we&#8217;ve replaced the POSIX test suite with pjdfstest.&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|hzzg9r:</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>