[LU-15542] lfsck have panic with ea inode linked into lost+found. Created: 10/Feb/22  Updated: 22/Dec/23  Resolved: 30/May/22

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

Type: Bug Priority: Critical
Reporter: Alexey Lyashkov Assignee: Alexey Lyashkov
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-17380 b2_15 sanity test suite running gets ... Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

EA inode may linked to the lost+found with e2fsck, it caused situation when OI scrub will exclude this inode, but lfsck phase2 want to process this dir entry/inode and link to the namespace. It caused an assertion.

[244527.410105] LustreError: 239272:0:(lfsck_namespace.c:5920:lfsck_namespace_scan_local_lpf_one()) ASSERTION( dt_object_exists(child) ) failed:
[244527.411480] LustreError: 239272:0:(lfsck_namespace.c:5920:lfsck_namespace_scan_local_lpf_one()) LBUG
[244527.412673] Pid: 239272, comm: lfsck_namespace 4.18.0-305.25.1.el8_4.x86_64+debug #1 SMP Wed Nov 3 10:14:57 UTC 2021
[244527.413911] Call Trace TBD:
[244527.414272] [<0>] libcfs_call_trace+0x99/0x140 [libcfs]
[244527.414841] [<0>] lbug_with_loc+0xb8/0x180 [libcfs]
[244527.415394] [<0>] lfsck_namespace_scan_local_lpf_one+0xb50/0x1360 [lfsck]
[244527.416151] [<0>] lfsck_namespace_scan_local_lpf+0xd22/0x1a80 [lfsck]
[244527.416845] [<0>] lfsck_namespace_assistant_handler_p2+0x1198/0x1c20 [lfsck]
[244527.417605] [<0>] lfsck_assistant_engine+0x3517/0x51b0 [lfsck]
[244527.418249] [<0>] kthread+0x344/0x410
[244527.418656] [<0>] ret_from_fork+0x3a/0x50
[244527.419092] Kernel panic - not syncing: LBUG


 Comments   
Comment by Gerrit Updater [ 10/Feb/22 ]

"Alexey Lyashkov <alexey.lyashkov@hpe.com>" uploaded a new patch: https://review.whamcloud.com/46486
Subject: LU-15542 osd-ldiskfs: exclude EA inode from processing
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 03e939fdad25204fe7c8aa85455e6e82ab99aba1

Comment by Gerrit Updater [ 30/May/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46486/
Subject: LU-15542 osd-ldiskfs: exclude EA inode from processing
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 716de353b7b65fa506ce7f31f59c187a19f44b64

Comment by Peter Jones [ 30/May/22 ]

Landed for 2.16

Comment by Gerrit Updater [ 07/Mar/23 ]

"Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50222
Subject: LU-15542 tests: skip interop conf-sanity test_61b
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 4f76350bad4db6a6ed18275d5f2ff0beb59b640f

Comment by Gerrit Updater [ 21/Mar/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50222/
Subject: LU-15542 tests: skip interop conf-sanity test_61b
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 32c219578bf3019076498eafbee6480b0adbb408

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