<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:18:43 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-15486] FLR: mirroring a non-mirrored file in a directory with default FLR layout fails</title>
                <link>https://jira.whamcloud.com/browse/LU-15486</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;If a file does not have a mirror in a directory with a default FLR mirror, then running &quot;&lt;tt&gt;lfs mirror extend&lt;/tt&gt;&quot; on the file fails with &quot;&lt;tt&gt;cannot create volatile file: Invalid argument&lt;/tt&gt;&quot;.&lt;/p&gt;

&lt;p&gt;A non-striped file can be created in a directory with a default FLR layout, for example, if a new file is created with &quot;&lt;tt&gt;O_APPEND&lt;/tt&gt;&quot; (&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9341&quot; title=&quot;PFL: append should not instantiate full layout&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9341&quot;&gt;&lt;del&gt;LU-9341&lt;/del&gt;&lt;/a&gt;) and uses the &lt;tt&gt;mdt.&amp;#42;.append_&amp;#42;&lt;/tt&gt; parameters to create the file layout, or if a non-mirrored file is renamed into a directory with a default FLR  layout.&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;# mkdir $DIR/$tdir
# lfs setstripe -N -c 1 -i 0 -N -c 1 -i 1 $DIR/$tdir
# echo $tfile &amp;gt;&amp;gt; $DIR/$tdir/$tfile.append
# lfs getstripe -N $DIR/$tdir/$tfile.append

# lfs mirror extend -N -c 1 -i 2 $DIR/$tdir/$tfile.append
lfs mirror extend: /mnt/testfs/d2/f2.append: cannot create volatile file: Invalid argument
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;It appears that the problem &lt;em&gt;might&lt;/em&gt; relate to the &quot;&lt;tt&gt;lfs mirror extend&lt;/tt&gt;&quot; volatile file inheriting the FLR layout from the parent directory but then confusing the logic later and causing the extend operation to fail.  Hard-linking the file into a non-FLR parent directory allows the &quot;&lt;tt&gt;lfs mirror extend&lt;/tt&gt;&quot; to create a mirror on the file:&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;# mkdir $DIR/$tdir.tmp
# lfs setstripe -d $DIR/$tdir.tmp
# ln $DIR/$tdir/$tfile-append $DIR/$tdir.tmp/$tfile.tmp
# lfs mirror extend -N -c 1 -i 2 $DIR/$tdir.tmp/$tfile.tmp
# rm $DIR/$tdir.tmp/$tfile.tmp
# lfs getstripe -N $DIR/$tdir/$tfile.append
2
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="68256">LU-15486</key>
            <summary>FLR: mirroring a non-mirrored file in a directory with default FLR layout fails</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="bobijam">Zhenyu Xu</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Wed, 26 Jan 2022 21:36:03 +0000</created>
                <updated>Mon, 8 Aug 2022 22:26:09 +0000</updated>
                            <resolved>Mon, 8 Aug 2022 22:26:09 +0000</resolved>
                                    <version>Lustre 2.12.8</version>
                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="326163" author="gerrit" created="Mon, 14 Feb 2022 11:58:55 +0000"  >&lt;p&gt;&quot;Bobi Jam &amp;lt;bobijam@hotmail.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/46517&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46517&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15486&quot; title=&quot;FLR: mirroring a non-mirrored file in a directory with default FLR layout fails&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15486&quot;&gt;&lt;del&gt;LU-15486&lt;/del&gt;&lt;/a&gt; lod: mirroring a plain file in mirrored-layout dir&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: ed7983ac1be07239105112c60e0544e71f325841&lt;/p&gt;</comment>
                            <comment id="342949" author="gerrit" created="Mon, 8 Aug 2022 19:53:26 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/46517/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46517/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15486&quot; title=&quot;FLR: mirroring a non-mirrored file in a directory with default FLR layout fails&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15486&quot;&gt;&lt;del&gt;LU-15486&lt;/del&gt;&lt;/a&gt; lod: mirroring a plain file in mirrored-layout dir&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 8005a374cac2ba726a88cec3c1bb331fc96153a1&lt;/p&gt;</comment>
                            <comment id="342975" author="pjones" created="Mon, 8 Aug 2022 22:26:09 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </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_10092" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>EX-4394</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i02gcv:</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>
                                                                                            <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>