[LU-14368] ROOT LMA scrub Created: 26/Jan/21  Updated: 26/Jan/21  Resolved: 26/Jan/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Lai Siyao Assignee: WC Triage
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates LU-14365 ROOT LMA scrub Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

LFSCK always trust FID in LMA more than FID in directory entry and FID in linkea, but it may be corrupt, or it's an IGIF(upgraded from 1.8), while the FID in child's linkea is standard FID. Currently such inconsistency can only be fixed manually, however for special objects like ROOT, it should be able to be repaird automatically. This can be achieved by checking special object LMA during the early mount-time scan, and checking if the subdirectories under ROOT/ have a trusted.link entry matching fid_is_root(), in which case the LMA FID is wrong (probably an IGIF FID) and should be fixed to use [FID_SEQ_ROOT:FID_OID_ROOT:0x0], rather than the IGIF FID.


Generated at Sat Feb 10 03:09:07 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.