<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:43:54 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-4569] Posix copytool import a file using only its FID</title>
                <link>https://jira.whamcloud.com/browse/LU-4569</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The posix copytool imports files that are designated by their path in the backend, despite being itself the only one to know this path.&lt;/p&gt;

&lt;p&gt;We propose a slight improvement to make the posix CT also accept a FID as import source parameter (from which the path can be rebuilt). This would allow easy &quot;undeletion&quot; of archived files:&lt;/p&gt;

&lt;p&gt;lhsmtool_posix --import &amp;lt;fid&amp;gt; /mnt/lustre/undelete ...&lt;/p&gt;</description>
                <environment></environment>
        <key id="22944">LU-4569</key>
            <summary>Posix copytool import a file using only its FID</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="bfaccini">Bruno Faccini</assignee>
                                    <reporter username="hdoreau">Henri Doreau</reporter>
                        <labels>
                            <label>HSM</label>
                            <label>patch</label>
                    </labels>
                <created>Fri, 31 Jan 2014 08:47:42 +0000</created>
                <updated>Wed, 11 Jun 2014 22:11:43 +0000</updated>
                            <resolved>Tue, 20 May 2014 13:26:07 +0000</resolved>
                                                    <fixVersion>Lustre 2.6.0</fixVersion>
                    <fixVersion>Lustre 2.5.2</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="75978" author="hdoreau" created="Fri, 31 Jan 2014 08:48:04 +0000"  >&lt;p&gt;Patch at &lt;a href=&quot;http://review.whamcloud.com/9075&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9075&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="75983" author="pjones" created="Fri, 31 Jan 2014 13:05:29 +0000"  >&lt;p&gt;Bruno&lt;/p&gt;

&lt;p&gt;Could you please take care of this patch?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="76830" author="bfaccini" created="Wed, 12 Feb 2014 15:05:02 +0000"  >&lt;p&gt;The only few auto-tests errors are unrelated to this patch. Looks good to me.&lt;/p&gt;</comment>
                            <comment id="82262" author="hdoreau" created="Wed, 23 Apr 2014 12:24:07 +0000"  >&lt;p&gt;Any update on this?&lt;/p&gt;</comment>
                            <comment id="82390" author="bfaccini" created="Thu, 24 Apr 2014 15:05:34 +0000"  >&lt;p&gt;Hello Henry, reviews are in progress so I think your patch should land soon now!&lt;/p&gt;</comment>
                            <comment id="82442" author="pjones" created="Thu, 24 Apr 2014 22:52:08 +0000"  >&lt;p&gt;Landed for 2.6&lt;/p&gt;</comment>
                            <comment id="82637" author="jamesanunez" created="Mon, 28 Apr 2014 17:10:16 +0000"  >&lt;p&gt;Patch for b2_5 at &lt;a href=&quot;http://review.whamcloud.com/#/c/10132/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/10132/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="82733" author="jcl" created="Tue, 29 Apr 2014 13:38:37 +0000"  >&lt;p&gt;This patch missed the following use case:&lt;br/&gt;
1) create/archive a file1 with FID1&lt;br/&gt;
2) import a new file2 from FID1&lt;br/&gt;
3) restore file2&lt;br/&gt;
4) file1 and file2 share the same archive in backend so it will be corrupted after next archive of file1 or file2&lt;/p&gt;

&lt;p&gt;solution:&lt;br/&gt;
(2) must be forbidden if FID1 exists in Lustre &lt;/p&gt;</comment>
                            <comment id="82749" author="hdoreau" created="Tue, 29 Apr 2014 16:16:44 +0000"  >&lt;p&gt;Thanks JC. I will submit a fix for master and an updated patch for 2.5.&lt;/p&gt;</comment>
                            <comment id="82982" author="hdoreau" created="Thu, 1 May 2014 12:18:45 +0000"  >&lt;p&gt;Patch for master: &lt;a href=&quot;http://review.whamcloud.com/10185&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/10185&lt;/a&gt;&lt;br/&gt;
The problem was already present when importing by path, the patch aims at fixing both cases.&lt;/p&gt;</comment>
                            <comment id="83124" author="hdoreau" created="Sat, 3 May 2014 15:14:37 +0000"  >&lt;p&gt;The check on import by path breaks sanity-hsm. Patchset #2 only performs the existence check when importing FIDs (more error-prone maybe?). Also, the extra access() call has a non-negligible impact, that might be undesirable when importing large directory tree which is typically what import-by-path would be useful for.&lt;/p&gt;

&lt;p&gt;The problem is that sanity-hsm directly copies files to the archive without following the naming scheme used by the posix copytool. An option would be to copy those files into lustre, archiving them and removing them from lustre, but this is not totally equivalent (it involves many more components). Let me know if some solution is preferred.&lt;/p&gt;</comment>
                            <comment id="84438" author="pjones" created="Tue, 20 May 2014 13:26:07 +0000"  >&lt;p&gt;Both patches landed to 2.6; will be landed to b2_5 separately&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|hzwdyn:</customfieldvalue>

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