<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-ligatures:standardcontextual;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We noticed <i>Operation not supported (95)</i> error returned when “lfs migrate” command being run on a directory including files which have been hsm archived to S3 on a 2.15 lustre file system with multiple MDS (DNE)<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal"># lfs mkdir -i 0 testdir<o:p></o:p></p>
<p class="MsoNormal"># cd testdir/<o:p></o:p></p>
<p class="MsoNormal"># echo "123" > a.txt<o:p></o:p></p>
<p class="MsoNormal"># lfs hsm_archive a.txt<o:p></o:p></p>
<p class="MsoNormal"># cd ..<o:p></o:p></p>
<p class="MsoNormal"># lfs migrate -m 1 testdir<o:p></o:p></p>
<p class="MsoNormal">lfs migrate: testdir/a.txt migrate failed: Operation not supported (95)<br>
<br>
Once we enable migrate_hsm_allowed, we don’t see errors/issues anymore. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># lctl get_param mdt.*.migrate_hsm_allowed<o:p></o:p></p>
<p class="MsoNormal">mdt.abcdefg-MDT0001.migrate_hsm_allowed=0<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># lctl set_param mdt.*.migrate_hsm_allowed=1<o:p></o:p></p>
<p class="MsoNormal">mdt.abcdefg-MDT0001.migrate_hsm_allowed=1<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My question is why we don’t set migrate_hsm_allowed to 1 as default value and is there concern we should know if we choose to set that to 1? Thanks!<br>
<br>
Please let me know if I can provide any more information.<br>
<br>
Thanks,<br>
Huaqing Wang<br>
<br>
<br>
<br>
<o:p></o:p></p>
</div>
</body>
</html>