<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:48: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-5141] Only regular files should be archived</title>
                <link>https://jira.whamcloud.com/browse/LU-5141</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;It is currently possible to ask lfs to hsm_archive a directory, although this doesn&apos;t appear to make any sense, and the posix copytool rejects it.&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;$ lfs hsm_archive /mnt/tas01/tmp_test_lhmsc
lhsmtool_posix[15132]: copytool fs=tas01 archive#=1 item_count=1
lhsmtool_posix[15132]: waiting for message from kernel
lhsmtool_posix[15137]: &apos;[0x200001b70:0x371:0x0]&apos; action ARCHIVE reclen 72, cookie=0x53880088
lhsmtool_posix[15137]: processing file &apos;tmp_test_lhmsc&apos;
lhsmtool_posix[15137]: archiving &apos;/mnt/tas01/.lustre/fid/0x200001b70:0x371:0x0&apos; to &apos;/vsm/tasfs1/0371/0000/1b70/0000/0002/0000/0x200001b70:0x371:0x0_tmp&apos;
lhsmtool_posix[15137]: saving stripe info of &apos;/mnt/tas01/.lustre/fid/0x200001b70:0x371:0x0&apos; in /vsm/tasfs1/0371/0000/1b70/0000/0002/0000/0x200001b70:0x371:0x0_tmp.lov
lhsmtool_posix[15137]: cannot get stripe info on &apos;/mnt/tas01/.lustre/fid/0x200001b70:0x371:0x0&apos;: No data available (61)
lhsmtool_posix[15137]: cannot save file striping info of &apos;/mnt/tas01/.lustre/fid/0x200001b70:0x371:0x0&apos; in &apos;/vsm/tasfs1/0371/0000/1b70/0000/0002/0000/0x200001b70:0x371:0x0_tmp&apos;: No data available (61)
lhsmtool_posix[15137]: going to copy data from &apos;/mnt/tas01/.lustre/fid/0x200001b70:0x371:0x0&apos; to &apos;/vsm/tasfs1/0371/0000/1b70/0000/0002/0000/0x200001b70:0x371:0x0_tmp&apos;
lhsmtool_posix[15137]: &apos;/mnt/tas01/.lustre/fid/0x200001b70:0x371:0x0&apos; is not a regular file: Invalid argument (22)
lhsmtool_posix[15137]: data copy failed from &apos;/mnt/tas01/.lustre/fid/0x200001b70:0x371:0x0&apos; to &apos;/vsm/tasfs1/0371/0000/1b70/0000/0002/0000/0x200001b70:0x371:0x0_tmp&apos;: Invalid argument (22)
lhsmtool_posix[15137]: Action completed, notifying coordinator cookie=0x53880088, FID=[0x200001b70:0x371:0x0], hp_flags=0 err=22
lhsmtool_posix[15137]: llapi_hsm_action_end() on &apos;/mnt/tas01/.lustre/fid/0x200001b70:0x371:0x0&apos; ok (rc=0)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Ideally this should be caught early and not being forwarded to the copytool at all.&lt;/p&gt;</description>
                <environment>Centos 6</environment>
        <key id="25010">LU-5141</key>
            <summary>Only regular files should be archived</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="1">Fixed</resolution>
                                        <assignee username="cliffw">Cliff White</assignee>
                                    <reporter username="fzago">Frank Zago</reporter>
                        <labels>
                            <label>hsm</label>
                            <label>patch</label>
                    </labels>
                <created>Tue, 3 Jun 2014 15:12:49 +0000</created>
                <updated>Thu, 19 Feb 2015 23:34:14 +0000</updated>
                            <resolved>Fri, 24 Oct 2014 19:00:55 +0000</resolved>
                                    <version>Lustre 2.5.1</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>9</watches>
                                                                            <comments>
                            <comment id="94701" author="vinayak_clogeny" created="Tue, 23 Sep 2014 12:22:27 +0000"  >&lt;p&gt;added necessary checks to lustre/utils/lfs.c&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/12016&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12016&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="94704" author="adilger" created="Tue, 23 Sep 2014 12:29:36 +0000"  >&lt;p&gt;I&apos;m not against landing this fix, since it is addressing a problem that is being seen today.&lt;/p&gt;

&lt;p&gt;A longer-term goal would be to be able to archive whole directory tres by creating a tarball of the tree (including extended attributes and associated HSM archive state), archiving the tar file, and then deleting the tree to release the inodes/directories.  This would be useful for archiving directories that contain only small files and/or files that are HSM stubs.&lt;/p&gt;</comment>
                            <comment id="96125" author="green" created="Fri, 10 Oct 2014 13:11:53 +0000"  >&lt;p&gt;Before we attain this goal, it might make sense to also check for non-files at the ioctl level so that people tha don&apos;t use our tools, but call ioctls directly don&apos;t step on this too&lt;/p&gt;</comment>
                            <comment id="97444" author="cliffw" created="Fri, 24 Oct 2014 19:00:50 +0000"  >&lt;p&gt;New patch was merged, closing&lt;/p&gt;</comment>
                            <comment id="100096" author="fzago" created="Tue, 25 Nov 2014 21:34:59 +0000"  >&lt;p&gt;Merged patch was: &lt;a href=&quot;http://review.whamcloud.com/12036/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12036/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="107444" author="gerrit" created="Thu, 19 Feb 2015 23:34:14 +0000"  >&lt;p&gt;James Nunez (james.a.nunez@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/13814&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13814&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5141&quot; title=&quot;Only regular files should be archived&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5141&quot;&gt;&lt;del&gt;LU-5141&lt;/del&gt;&lt;/a&gt; hsm: Only regular files should be archived&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_5&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: b460cea3cb0d015ad2235ac751540e151a48d468&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_10070" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Project</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10040"><![CDATA[HSM]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzwnnr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>14180</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>