<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:40:12 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-4159] 2.4 Client does not recognized that a file is released</title>
                <link>https://jira.whamcloud.com/browse/LU-4159</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When a 2.5 Lustre client archives and releases a file, a 2.4 client does not recognize that it is released. According to the test plan, 2.4 clients are supposed to fail with -ENODATA when the try to read/write to a released file. &lt;/p&gt;

&lt;p&gt;Currently, the 2.4 client correctly reports that the released file is inaccessible rather than reporting false success and returning no data.&lt;br/&gt;
This ticket is to request that 2.4 clients recognize that a file is released and, if possible, restore the file. &lt;/p&gt;

&lt;p&gt;In the following, c15 is the 2.4 client and c14 is the 2.5 client:&lt;/p&gt;

&lt;p&gt;List Lustre file system contents on both clients:&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@c14 ~]# ls -l /lustre/scratch
total 3308
-rw-r--r-- 1 root root 2238063 Oct 24 14:56 lts_vsx-pcts2.0beta2.tgz
-rw-r--r-- 1 root root 1146294 Oct 24 14:56 tet_vsxgen_3.02.tgz
[root@c15 ~]# ls -l /lustre/scratch/
total 3308
-rw-r--r-- 1 root root 2238063 Oct 24 14:56 lts_vsx-pcts2.0beta2.tgz
-rw-r--r-- 1 root root 1146294 Oct 24 14:56 tet_vsxgen_3.02.tgz
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Check the state of the file, archive it, check state and then list directory contents on both clients to make sure nothing has changed:&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@c14 ~]# lfs hsm_state /lustre/scratch/tet_vsxgen_3.02.tgz 
/lustre/scratch/tet_vsxgen_3.02.tgz: (0x00000000)
[root@c14 ~]# lfs hsm_archive --archive 1 /lustre/scratch/tet_vsxgen_3.02.tgz 
[root@c14 ~]# lfs hsm_state /lustre/scratch/tet_vsxgen_3.02.tgz 
/lustre/scratch/tet_vsxgen_3.02.tgz: (0x00000009) exists archived, archive_id:1
[root@c14 ~]# ls -l /lustre/scratch
total 3308
-rw-r--r-- 1 root root 2238063 Oct 24 14:56 lts_vsx-pcts2.0beta2.tgz
-rw-r--r-- 1 root root 1146294 Oct 24 14:56 tet_vsxgen_3.02.tgz
[root@c15 ~]# ls -l /lustre/scratch/
total 3308
-rw-r--r-- 1 root root 2238063 Oct 24 14:56 lts_vsx-pcts2.0beta2.tgz
-rw-r--r-- 1 root root 1146294 Oct 24 14:56 tet_vsxgen_3.02.tgz
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Now release the file and check state on the 2.5 client. Try and get details on the same file from the 2.4 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;[root@c14 ~]# lfs hsm_release /lustre/scratch/tet_vsxgen_3.02.tgz 
[root@c14 ~]# lfs hsm_state /lustre/scratch/tet_vsxgen_3.02.tgz 
/lustre/scratch/tet_vsxgen_3.02.tgz: (0x0000000d) released exists archived, archive_id:1
[root@c14 ~]# ls -l /lustre/scratch
total 2189
-rw-r--r-- 1 root root 2238063 Oct 24 14:56 lts_vsx-pcts2.0beta2.tgz
-rw-r--r-- 1 root root 1146294 Oct 24 14:56 tet_vsxgen_3.02.tgz
[root@c15 ~]# ls -l /lustre/scratch/
ls: cannot access /lustre/scratch/tet_vsxgen_3.02.tgz: Invalid argument
total 2188
-rw-r--r-- 1 root root 2238063 Oct 24 14:56 lts_vsx-pcts2.0beta2.tgz
-????????? ? ?    ?          ?            ? tet_vsxgen_3.02.tgz
 [root@c15 ~]# ls -l /lustre/scratch/tet_vsxgen_3.02.tgz 
ls: cannot access /lustre/scratch/tet_vsxgen_3.02.tgz: Invalid argument
[root@c15 ~]# md5sum /lustre/scratch/tet_vsxgen_3.02.tgz 
md5sum: /lustre/scratch/tet_vsxgen_3.02.tgz: Invalid argument
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Restore the file and check the MD5 checksum on both clients:&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@c14 ~]# lfs hsm_state /lustre/scratch/tet_vsxgen_3.02.tgz 
/lustre/scratch/tet_vsxgen_3.02.tgz: (0x0000000d) released exists archived, archive_id:1
[root@c14 ~]# md5sum /lustre/scratch/tet_vsxgen_3.02.tgz 
4b2f49b05e74d19fa2165922583734ee  /lustre/scratch/tet_vsxgen_3.02.tgz
 [root@c15 ~]# md5sum /lustre/scratch/tet_vsxgen_3.02.tgz 
4b2f49b05e74d19fa2165922583734ee  /lustre/scratch/tet_vsxgen_3.02.tgz
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>OpenSFS cluster with RHEL6 with combined MGS/MDS, single OSS with two OSTs, four Lustre 2.5 (Build #2) clients; one HSM Agent + client, one with robinhood/db running and two Lustre clients. Also one 2.4 (build #46) Lustre client. </environment>
        <key id="21672">LU-4159</key>
            <summary>2.4 Client does not recognized that a file is released</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="wc-triage">WC Triage</assignee>
                                    <reporter username="jamesanunez">James Nunez</reporter>
                        <labels>
                            <label>HSM</label>
                    </labels>
                <created>Mon, 28 Oct 2013 18:38:03 +0000</created>
                <updated>Mon, 28 Oct 2013 18:44:11 +0000</updated>
                                            <version>Lustre 2.4.1</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                                    <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|hzw70n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>11281</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>