<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:03:03 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-6764] Test directory access during migration for DNE2</title>
                <link>https://jira.whamcloud.com/browse/LU-6764</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Access the directory during migration&lt;/p&gt;

&lt;p&gt;    Setup lustre with 4 MDTs, 4 OSTs and 2 clients.&lt;/p&gt;

&lt;p&gt;    Create 1 directory and some files under the directory&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 /mnt/lustre/migrate_dir
    for F in {1,2,3,4,5}; do
        echo &quot;$F$F$F$F$F&quot; &amp;gt; /mnt/lustre/migrate_dir/file$F
    done
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;     

&lt;p&gt;    On one client, migrate the directory among 4 MDTs&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;     
while true; do
    mdt_idx=$((RANDOM % MDTCOUNT))
    lfs migration -m $mdt_idx /mnt/lustre/migrate_dir || break
done
 
echo &quot;migrate directory failed&quot;
return 1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;     


&lt;p&gt;    Simultaneously, on another client access these files under the migrating directory&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;     
while true; do
    N=$((N + 1 % 5))
    stat /mnt/lustre/migrate_dir/file1 &amp;gt; /dev/null || break
    cat /mnt/lustre/migrate_dir/file2 &amp;gt; /dev/null || break
    &amp;gt; /mnt/lustre/migrate_dir/file3 &amp;gt; /dev/null || break
    echo &quot;aaaaa&quot; &amp;gt; /mnt/lustre/migrate_dir/file4 &amp;gt; /dev/null || break
    stat /mnt/lustre/migrate_dir/file5 &amp;gt; /dev/null || break
done
 
echo &quot;access migrating files failed&quot;
return 1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;     


&lt;p&gt;    Steps 3 and 4 should keep running at least 5 minutes and will not return error.&lt;/p&gt;</description>
                <environment></environment>
        <key id="30811">LU-6764</key>
            <summary>Test directory access during migration for DNE2</summary>
                <type id="3" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11318&amp;avatarType=issuetype">Task</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</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="di.wang">Di Wang</assignee>
                                    <reporter username="rhenwood">Richard Henwood</reporter>
                        <labels>
                    </labels>
                <created>Wed, 24 Jun 2015 19:12:33 +0000</created>
                <updated>Tue, 22 Dec 2015 03:31:16 +0000</updated>
                            <resolved>Wed, 24 Jun 2015 19:13:07 +0000</resolved>
                                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                            <comments>
                            <comment id="119511" author="rhenwood" created="Wed, 24 Jun 2015 19:13:07 +0000"  >&lt;p&gt;See patch of the test&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/14497/8/lustre/tests/sanityn.sh&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/14497/8/lustre/tests/sanityn.sh&lt;/a&gt;  test_80b&lt;br/&gt;
See test_80b in &lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_logs/7b3125e8-17f6-11e5-89cc-5254006e85&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_logs/7b3125e8-17f6-11e5-89cc-5254006e85&lt;/a&gt;&lt;br/&gt;
c2/show_text&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;== sanityn test 80b: Accessing directory during migration == 04:32:18
(1434861138)
start migration thread 2958
accessing the migrating directory for 5 minutes...
...10 seconds
...20 seconds
...30 seconds
...40 seconds
...50 seconds
...60 seconds
...70 seconds
...80 seconds
...90 seconds
...100 seconds
...110 seconds
...120 seconds
...130 seconds
...140 seconds
...150 seconds
...160 seconds
...170 seconds
...180 seconds
...190 seconds
...200 seconds
...210 seconds
...220 seconds
...230 seconds
...240 seconds
...250 seconds
...260 seconds
...270 seconds
...280 seconds
...290 seconds
...300 seconds
Resetting fail_loc on all
nodes.../usr/lib64/lustre/tests/test-framework.sh: line 2969:  2958 Killed
                 ( while true; do
    mdt_idx=$((RANDOM % MDSCOUNT)); $LFS mv -M $mdt_idx $migrate_dir1 2
&amp;amp;&amp;gt;/dev/null || rc=$?; [ $rc -ne 0 -o $rc -ne 16 ] || break;
done )
CMD: 
shadow-17vm10.shadow.whamcloud.com,shadow-17vm11,shadow-17vm12,shadow-17vm8
,shadow-17vm9 lctl set_param -n fail_loc=0          fail_val=0 2&amp;gt;/dev/null ||
true
done.
CMD: 
shadow-17vm10.shadow.whamcloud.com,shadow-17vm11,shadow-17vm12,shadow-17vm8
,shadow-17vm9 rc=0;
val=\$(/usr/sbin/lctl get_param -n catastrophe 2&amp;gt;&amp;amp;1);
if [[ \$? -eq 0 &amp;amp;&amp;amp; \$val -ne 0 ]]; then
        echo \$(hostname -s): \$val;
        rc=\$val;
fi;
exit \$rc
PASS 80b (300s)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10120">
                    <name>Blocker</name>
                                            <outwardlinks description="is blocking">
                                        <issuelink>
            <issuekey id="31106">LU-6858</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|hzxgk7:</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>