<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:33:27 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-10258] lfs mirror command to read/write specific mirror copy</title>
                <link>https://jira.whamcloud.com/browse/LU-10258</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;It would be useful to add an &quot;&lt;tt&gt;lfs open &lt;span class=&quot;error&quot;&gt;&amp;#91;--ifcomp=&amp;lt;component_id&amp;gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;--ofcomp=&amp;lt;component_id&amp;gt;&amp;#93;&lt;/span&gt; &amp;lt;command&amp;gt;&lt;/tt&gt;&quot; that opens the stdin and/or stdout with the specified component ID values, so that e.g. &quot;dd&quot; could be used as a resync tool for stale components, or other arbitrary commands (e.g. MPI file utils for parallel resync, HSM tools for archive handling, etc).&lt;/p&gt;

&lt;p&gt;Also useful would be to open a specific mirror number for whole-file access, instead of just a single component. That would be something like &quot;&lt;tt&gt;&amp;#45;&amp;#45;ifrepl=&lt;/tt&gt;&quot; and &quot;&lt;tt&gt;&amp;#45;&amp;#45;ofrepl=&lt;/tt&gt;&quot; options. &lt;/p&gt;</description>
                <environment></environment>
        <key id="49376">LU-10258</key>
            <summary>lfs mirror command to read/write specific mirror copy</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="bobijam">Zhenyu Xu</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                            <label>FLR2</label>
                    </labels>
                <created>Sun, 19 Nov 2017 22:08:38 +0000</created>
                <updated>Mon, 13 Jun 2022 22:10:35 +0000</updated>
                            <resolved>Thu, 21 Mar 2019 04:58:34 +0000</resolved>
                                                    <fixVersion>Lustre 2.13.0</fixVersion>
                    <fixVersion>Lustre 2.12.3</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="214499" author="jay" created="Thu, 23 Nov 2017 04:52:30 +0000"  >&lt;blockquote&gt;
&lt;p&gt;Should we support the command like &lt;tt&gt;lfs mirror dd &lt;span class=&quot;error&quot;&gt;&amp;#91;--if=&amp;lt;mirror_id&amp;gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;--of=&amp;lt;mirror_id&amp;gt;&amp;#93;&lt;/span&gt;&lt;/tt&gt; instead? If &lt;tt&gt;-&lt;del&gt;if&lt;/tt&gt; is not existing, it will read from &lt;tt&gt;stdin&lt;/tt&gt;; if &lt;tt&gt;&lt;/del&gt;&lt;del&gt;of&lt;/tt&gt; is not existing, it will write to &lt;tt&gt;stdout&lt;/tt&gt;. Multiple &lt;tt&gt;&lt;/del&gt;-off&lt;/tt&gt; can be supported if necessary. This is more like unix and is able to use pipe to chain commands.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;The problem with &lt;tt&gt;--ifcomp&lt;/tt&gt; is that sometimes components are not started from beginning of the file; neither are components perfectly aligned. Therefore it would be hard to define the semantics clearly.&lt;/p&gt;</comment>
                            <comment id="214558" author="jay" created="Thu, 23 Nov 2017 21:37:12 +0000"  >&lt;p&gt;From &lt;a href=&quot;https://review.whamcloud.com/#/c/29100/23/lustre/doc/lfs-mirror-verify.1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/29100/23/lustre/doc/lfs-mirror-verify.1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Andreas Dilger Nov 22 9:37 PM&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Not for this patch, but it would be interesting to use something like:&lt;br/&gt;
  lfs open --ifrepl=N &amp;lt;file&amp;gt; | diff &amp;lt;file&amp;gt; /dev/stdin&lt;br/&gt;
(or with cmp) to be able to find what is different between two replicas. &lt;br/&gt;
That makes me wonder if we would want some special open syntax some time later, like:&lt;br/&gt;
  diff &amp;lt;file&amp;gt; &quot;&amp;lt;file&amp;gt;;N&quot;&lt;br/&gt;
to allow opening replica N directly from the command line?  This uses the same naming to be consistent with VAX VMS file versions, and has the benefit that virtually no files will have &apos;;&apos; in the name because this is a shell metacharacter. The drawback is that accessing non-primary components would always need to escape or quote the file name, which is probably OK if it isn&apos;t commonly used.  We might use something like &quot;,,N&quot; to allow easier usage, but have a higher risk of collisions with existing filenames.&lt;/p&gt;&lt;/blockquote&gt;</comment>
                            <comment id="214628" author="adilger" created="Sat, 25 Nov 2017 11:26:04 +0000"  >&lt;blockquote&gt;
&lt;p&gt;The problem with --ifcomp is that sometimes components are not started from beginning of the file; neither are components perfectly aligned. Therefore it would be hard to define the semantics clearly.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I think there are legitimate use cases for opening a component and allowing writes outside of the component start/end.  For example, migrating a large DoM file from the MDT to the start of an OST object and freeing up space on the MDT.&lt;/p&gt;</comment>
                            <comment id="233817" author="adilger" created="Thu, 20 Sep 2018 16:20:16 +0000"  >&lt;p&gt;I wonder if we should rename this to &quot;&lt;tt&gt;lfs mirror write&lt;/tt&gt;&quot; and rename &quot;&lt;tt&gt;lfs mirror dump&lt;/tt&gt;&quot; to &quot;&lt;tt&gt;lfs mirror read&lt;/tt&gt;&quot; for consistency?&lt;/p&gt;</comment>
                            <comment id="233894" author="gerrit" created="Sat, 22 Sep 2018 19:07:00 +0000"  >&lt;p&gt;Bobi Jam (bobijam@hotmail.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33219&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33219&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10258&quot; title=&quot;lfs mirror command to read/write specific mirror copy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10258&quot;&gt;&lt;del&gt;LU-10258&lt;/del&gt;&lt;/a&gt; lfs: lfs mirror write command&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 08c8accd22dc1021da3a0c37d8c6a33f1bf44607&lt;/p&gt;</comment>
                            <comment id="233895" author="gerrit" created="Sat, 22 Sep 2018 19:07:01 +0000"  >&lt;p&gt;Bobi Jam (bobijam@hotmail.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33220&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33220&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10258&quot; title=&quot;lfs mirror command to read/write specific mirror copy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10258&quot;&gt;&lt;del&gt;LU-10258&lt;/del&gt;&lt;/a&gt; lfs: lfs mirror copy command&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 075a96702fe89c37a9a4e1c11401a75d173dfdad&lt;/p&gt;</comment>
                            <comment id="236208" author="gerrit" created="Fri, 2 Nov 2018 07:18:38 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/33219/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33219/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10258&quot; title=&quot;lfs mirror command to read/write specific mirror copy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10258&quot;&gt;&lt;del&gt;LU-10258&lt;/del&gt;&lt;/a&gt; lfs: lfs mirror write command&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 14171e787dd00902af7c9edf10a6b54aab45f7b2&lt;/p&gt;</comment>
                            <comment id="244362" author="gerrit" created="Thu, 21 Mar 2019 03:43:06 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/33220/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33220/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10258&quot; title=&quot;lfs mirror command to read/write specific mirror copy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10258&quot;&gt;&lt;del&gt;LU-10258&lt;/del&gt;&lt;/a&gt; lfs: lfs mirror copy command&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: c6e7c0788d7cd766880d12eae6679782283dc479&lt;/p&gt;</comment>
                            <comment id="244389" author="pjones" created="Thu, 21 Mar 2019 04:58:34 +0000"  >&lt;p&gt;Landed for 2.13&lt;/p&gt;</comment>
                            <comment id="254742" author="gerrit" created="Mon, 16 Sep 2019 17:20:53 +0000"  >&lt;p&gt;Jian Yu (yujian@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36193&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36193&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10258&quot; title=&quot;lfs mirror command to read/write specific mirror copy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10258&quot;&gt;&lt;del&gt;LU-10258&lt;/del&gt;&lt;/a&gt; lfs: lfs mirror copy command&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 00a5d4a04710b5c939b81c422e7b800471ffd83d&lt;/p&gt;</comment>
                            <comment id="255233" author="gerrit" created="Mon, 23 Sep 2019 08:43:02 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/36193/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36193/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10258&quot; title=&quot;lfs mirror command to read/write specific mirror copy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10258&quot;&gt;&lt;del&gt;LU-10258&lt;/del&gt;&lt;/a&gt; lfs: lfs mirror copy command&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 24f181513fb14f111455ec113d69a6ce5b50cf56&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="25084">LU-5170</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="47229">LU-9771</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="52966">LU-11245</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="42343">LU-10177</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="53400">LU-11421</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="60185">LU-13831</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|hzzo1r:</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>