[LU-8300] unable create .lustre/lost+found/MDTxxxx if lost oi.16.xxx Created: 18/Jun/16  Updated: 14/Jun/18  Resolved: 22/Sep/16

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

Type: Bug Priority: Critical
Reporter: nasf (Inactive) Assignee: nasf (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

If the oi.16.xxx file lost, then the osd_fid_lookup() will return -115 to the LFSCK when try to locate the object for creating ".lustre/lost+found/MDTxxxx". In fact, we know that such object does not exist, but forget to pass LOC_F_NEW to the OSD. That will cause the LFSCK cannot handle orphan objects under such case.



 Comments   
Comment by Gerrit Updater [ 18/Jun/16 ]

Fan Yong (fan.yong@intel.com) uploaded a new patch: http://review.whamcloud.com/20868
Subject: LU-8300 lfsck: pass LOC_F_NEW when create new object
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 378f9246cd3eba265ac977f868dce55e9fb05bf3

Comment by Gerrit Updater [ 22/Sep/16 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/20868/
Subject: LU-8300 lfsck: pass LOC_F_NEW when create new object
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 1b00b45a6abd419a5c5dac67fee56d6f24100d23

Comment by Gerrit Updater [ 02/May/18 ]

Andreas Dilger (andreas.dilger@intel.com) merged in patch https://review.whamcloud.com/20866/
Subject: LU-8300 e2fsck: print out FID with dirent inode number
Project: tools/e2fsprogs
Branch: master-lustre
Current Patch Set:
Commit: 1fe897a57ed0df366de69585fe18be0113002b5f

Generated at Sat Feb 10 02:16:20 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.