<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:35:55 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-10530] Scanning tool for HSM storage of POSIX copytool</title>
                <link>https://jira.whamcloud.com/browse/LU-10530</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The current HSM POSIX copytool works well as a demo of the copytool implementation. However, the copytool will create a lot of directoy entries under the HSM storage, which will never be cleaned up by the copytool. Also, if Remove Archive on Last Unlink policy (&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4640&quot; title=&quot;Last unlink should trigger HSM remove by default&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4640&quot;&gt;&lt;del&gt;LU-4640&lt;/del&gt;&lt;/a&gt;) is not enabled and policy engine like Robinhood is not used, then a lot of orphan files will be left there in HSM storage. Thus, we want to develop a tool which will scan the directory tree of the HSM storage and cleanup the directory three.&lt;/p&gt;

&lt;p&gt;Also, since PCC (&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10092&quot; title=&quot;PCC: Lustre Persistent Client Cache&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10092&quot;&gt;&lt;del&gt;LU-10092&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10499&quot; title=&quot;Readonly Persistent Client Cache support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10499&quot;&gt;&lt;del&gt;LU-10499&lt;/del&gt;&lt;/a&gt;) also uses the HSM directory structure, this tool could aslo be used for PCC to:&lt;/p&gt;

&lt;p&gt;1) scan the whole PCC storage to detach all the cached files when it is not suitable any more to cache the files on PCC, e.g. when a job stops and another job is starting to use PCC.&lt;/p&gt;

&lt;p&gt;2) apply some kind of policy (e.g. based on UID/GID/JOBID/ProjID, etc) for PCC cache management.&lt;/p&gt;

&lt;p&gt;These use cases needs full scanning of the HSM storage directory, and that is what we want to implement.&lt;/p&gt;</description>
                <environment></environment>
        <key id="50294">LU-10530</key>
            <summary>Scanning tool for HSM storage of POSIX copytool</summary>
                <type id="2" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11311&amp;avatarType=issuetype">New Feature</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="lixi_wc">Li Xi</assignee>
                                    <reporter username="lixi">Li Xi</reporter>
                        <labels>
                    </labels>
                <created>Thu, 18 Jan 2018 04:54:29 +0000</created>
                <updated>Thu, 18 Mar 2021 02:25:17 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>11</watches>
                                                                            <comments>
                            <comment id="218488" author="adilger" created="Thu, 18 Jan 2018 08:47:43 +0000"  >&lt;p&gt;My preference would be to fix the POSIX copytool to avoid creating such a poor directory structure. It should be able to read the old directory structure for compatibility reasons, but it would use a new directory structure for new files.&lt;/p&gt;

&lt;p&gt;We&apos;ve also discussed moving the RBH POSIX copytool into Lustre in place of the current copytool to leverage the common functionality. &lt;/p&gt;</comment>
                            <comment id="218490" author="lixi" created="Thu, 18 Jan 2018 09:14:58 +0000"  >&lt;p&gt;Hi Andreas,&lt;/p&gt;

&lt;p&gt;I agree that the current POSIX copytool need to be upated. And maybe replacing it with RBH POSIX copytool would be a good idea.&lt;/p&gt;

&lt;p&gt;The main purpose of the scanning tool here is to apply policy to files cached on PCC. We will start with this use case first.&lt;/p&gt;</comment>
                            <comment id="219346" author="gerrit" created="Mon, 29 Jan 2018 08:02:08 +0000"  >&lt;p&gt;Yingjin Qian (qian@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/31070&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31070&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10530&quot; title=&quot;Scanning tool for HSM storage of POSIX copytool&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10530&quot;&gt;LU-10530&lt;/a&gt; utils: Scanning tool for HSM POSIX storage&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4379f3a8bc547bf83b295c6865d66d1461a43088&lt;/p&gt;</comment>
                            <comment id="295289" author="adilger" created="Thu, 18 Mar 2021 02:25:17 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14359&quot; title=&quot;support a flat HSM archive format&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14359&quot;&gt;LU-14359&lt;/a&gt; is fixing &lt;tt&gt;lhsmtool_posix&lt;/tt&gt; to support a flatter directory tree for the HSM objects.  That avoids creating many needless subdirectories in the backing archive storage.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10120">
                    <name>Blocker</name>
                                            <outwardlinks description="is blocking">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="62459">LU-14359</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="50522">LU-10602</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|hzzrav:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>