<div dir="ltr"><div dir="ltr">Hello,<div><br></div></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 17, 2024 at 4:04 PM Michael DiDomenico via lustre-discuss <<a href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">i am attempting to use lfs migrate to move some directories from one<br>
mdt to another.  the lfs migrate part seemed to be okay as i didn't<br>
get any errors, but there are directories still in "migrating" state<br>
<br>
lfs getdirstripe .<br>
lmv_stripe_count: 2 lmv_stripe_offset: 1 lmv_hash_type: non,migrating<br>
mdtidx<br>
1<br>
0<br></blockquote><div><br></div>i.e. lfs migrate completed but some dirs are in "none, migrating" state? I think the migration process failed.<br><div>I believe <a href="https://jira.whamcloud.com/browse/LU-17635">https://jira.whamcloud.com/browse/LU-17635</a> is going to fix that. </div><div><br></div><div><div>Can you please share info about Lustre versions on client and mds servers and was it just a single thread </div><div>'lfs migrate' ? Ideally I would like to know how to reproduce such a situation.<br><br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
if i do a `mkdir tmp` in the directory currently i get "bad file<br>
descriptor".  i figured this process would clean up over the weekend,<br>
but it doesn't seem to have finished up</blockquote><div><br></div><div>setting the "BAD_HASH" flag by LFSCK would allow some operations over those dirs, </div><div>resuming  the migration process or removal of the directories.</div><div><br></div><div>Thanks,<br>Zam.<br class="gmail-Apple-interchange-newline"> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
is there a way to see what lustre is doing? or estimate how long it'll<br>
take to finish whatever it's doing?  or how to cancel the migrations<br>
still outstanding?<br>
_______________________________________________<br>
lustre-discuss mailing list<br>
<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org" rel="noreferrer" target="_blank">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
</blockquote></div></div>