<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:50:00 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-5268] HSM: importing with copytool can lead to data corruption</title>
                <link>https://jira.whamcloud.com/browse/LU-5268</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This is a hypothetical bug.&lt;/p&gt;

&lt;p&gt;When importing a file with the posix copytool, a hardlink is done at the end to link from the archvie of the file being restored to the new archive file (hash of the new fid). When restoring a complete filesystem, it is very possible that the new fid being allocated already existed on the old filesystem (and thus in the HSM archive). In which case the new archive filename will already exist. At that point the hard link operation in import_one() will fail, which leaves the imported file pointing to the archive of another file, and restoring that file will lead to data corruption.&lt;/p&gt;

&lt;p&gt;Solution: link the new archive to a new directory; ie have --hsm-root and --hsm-root-import options. Then, optionally, let the user merge back both directories once the import is done.&lt;/p&gt;</description>
                <environment></environment>
        <key id="25359">LU-5268</key>
            <summary>HSM: importing with copytool can lead to data corruption</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="wc-triage">WC Triage</assignee>
                                    <reporter username="fzago">Frank Zago</reporter>
                        <labels>
                            <label>HSM</label>
                    </labels>
                <created>Fri, 27 Jun 2014 19:47:42 +0000</created>
                <updated>Mon, 31 Jan 2022 04:14:16 +0000</updated>
                            <resolved>Mon, 31 Jan 2022 04:14:16 +0000</resolved>
                                    <version>Lustre 2.5.0</version>
                    <version>Lustre 2.5.1</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="87737" author="rread" created="Fri, 27 Jun 2014 21:44:32 +0000"  >&lt;p&gt;Yet another reason to not use FIDs as the index of an external archive... &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="87950" author="leibovici-cea" created="Wed, 2 Jul 2014 08:08:31 +0000"  >&lt;p&gt;Following this recovery procedure avoids fid conflicts when reimporting from the archive:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;get the highest fid sequence from the archive:&lt;br/&gt;
   lhsmtool_posix --max-sequence &amp;lt;fsname&amp;gt;&lt;/li&gt;
	&lt;li&gt;set minimum fid sequence of MDT (see &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3565&quot; title=&quot;HSM: Allow specifying minimum FID sequence at format time&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3565&quot;&gt;&lt;del&gt;LU-3565&lt;/del&gt;&lt;/a&gt;).&lt;/li&gt;
	&lt;li&gt;reimport entries from the archive&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This should be added to the Lustre manual.&lt;/p&gt;</comment>
                            <comment id="87975" author="fzago" created="Wed, 2 Jul 2014 15:56:00 +0000"  >&lt;p&gt;Thanks Thomas. That looks like another good way to solve that problem.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="19705">LU-3565</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|hzwq5j:</customfieldvalue>

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