[LU-5550] LFSCK 5: Migrate the name entry from one MDT to another MDT if the name hash does not match the striped directory Created: 27/Aug/14  Updated: 25/Feb/20

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.7.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: nasf (Inactive) Assignee: nasf (Inactive)
Resolution: Unresolved Votes: 0
Labels: dne3, lfsck

Issue Links:
Related
is related to LU-4684 DNE3: allow migrating DNE striped dir... Resolved
Severity: 3
Rank (Obsolete): 15472

 Description   

The namespace LFSCK will check whether the name hash for the name entry under the slave of striped directory matches such shard or not. If not, the LFSCK should migrate the name entry from current MDT to the right MDT. This should be done with async commit supported from DNE2 to avoid lost the name entry or duplicate the name entry and some other recovery troubles.



 Comments   
Comment by Andreas Dilger [ 01/Dec/15 ]

This would essentially allow migrating to or from a striped directory, or changing the directory striping arbitrarily, so long as it was clear what the "goal" directory count was, and the directory was marked with LMV_HASH_FLAG_MIGRATION so that clients knew to query all of the directory shards when doing a lookup.

Comment by Olaf Faaland [ 25/Feb/20 ]

If crash+bug resulted in the situation described, would current lfsck detect and report the issue, even if it cannot yet repair it?

Generated at Sat Feb 10 01:52:27 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.