== sanity-lfsck test 31b: The LFSCK can find/repair the name entry with bad name hash (2) ========================================================== 10:18:21 (1773670701) ##### For the name entry under a striped directory, if the name hash does not match the shard, then the LFSCK will repair the bad name entry ##### Inject failure stub on client to simulate the case that some name entry should be inserted into other non-second shard, but inserted into the secod shard by wrong fail_loc=0x1628 fail_val=1 total: 10 mkdir in 0.06 seconds: 175.55 ops/second fail_loc=0 fail_val=0 Trigger namespace LFSCK to repair bad name hash Started LFSCK on the device lustre-MDT0000: scrub namespace repaired 1 name entries with bad hash 192.168.204.142@tcp:/lustre /mnt/lustre lustre rw,checksum,encrypt,flock,lazystatfs,lruresize,nolock,statfs_project,nouser_fid2path,user_xattr,verbose 0 0 Stopping client oleg442-client.virtnet /mnt/lustre (opts:) Starting client: oleg442-client.virtnet: -o user_xattr,flock 192.168.204.142@tcp:/lustre /mnt/lustre File: /mnt/lustre/d31b.sanity-lfsck/striped_dir/d0 Size: 4096 Blocks: 8 IO Block: 1048576 directory Device: 2c54f966h/743766374d Inode: 144115339507007491 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2026-03-16 10:18:22.000000000 -0400 Modify: 2026-03-16 10:18:22.000000000 -0400 Change: 2026-03-16 10:18:22.000000000 -0400 Birth: 2026-03-16 10:18:22.000000000 -0400 File: /mnt/lustre/d31b.sanity-lfsck/striped_dir/d1 Size: 4096 Blocks: 8 IO Block: 1048576 directory Device: 2c54f966h/743766374d Inode: 144115339507007492 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2026-03-16 10:18:22.000000000 -0400 Modify: 2026-03-16 10:18:22.000000000 -0400 Change: 2026-03-16 10:18:22.000000000 -0400 Birth: 2026-03-16 10:18:22.000000000 -0400 File: /mnt/lustre/d31b.sanity-lfsck/striped_dir/d2 Size: 4096 Blocks: 8 IO Block: 1048576 directory Device: 2c54f966h/743766374d Inode: 144115339507007493 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2026-03-16 10:18:22.000000000 -0400 Modify: 2026-03-16 10:18:22.000000000 -0400 Change: 2026-03-16 10:18:22.000000000 -0400 Birth: 2026-03-16 10:18:22.000000000 -0400 File: /mnt/lustre/d31b.sanity-lfsck/striped_dir/d3 Size: 4096 Blocks: 8 IO Block: 1048576 directory Device: 2c54f966h/743766374d Inode: 144115339507007494 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2026-03-16 10:18:22.000000000 -0400 Modify: 2026-03-16 10:18:22.000000000 -0400 Change: 2026-03-16 10:18:22.000000000 -0400 Birth: 2026-03-16 10:18:22.000000000 -0400 File: /mnt/lustre/d31b.sanity-lfsck/striped_dir/d4 Size: 4096 Blocks: 8 IO Block: 1048576 directory Device: 2c54f966h/743766374d Inode: 144115339507007495 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2026-03-16 10:18:22.000000000 -0400 Modify: 2026-03-16 10:18:22.000000000 -0400 Change: 2026-03-16 10:18:22.000000000 -0400 Birth: 2026-03-16 10:18:22.000000000 -0400 File: /mnt/lustre/d31b.sanity-lfsck/striped_dir/d5 Size: 4096 Blocks: 8 IO Block: 1048576 directory Device: 2c54f966h/743766374d Inode: 144115339507007496 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2026-03-16 10:18:22.000000000 -0400 Modify: 2026-03-16 10:18:22.000000000 -0400 Change: 2026-03-16 10:18:22.000000000 -0400 Birth: 2026-03-16 10:18:22.000000000 -0400 File: /mnt/lustre/d31b.sanity-lfsck/striped_dir/d6 Size: 4096 Blocks: 8 IO Block: 1048576 directory Device: 2c54f966h/743766374d Inode: 144115339507007497 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2026-03-16 10:18:22.000000000 -0400 Modify: 2026-03-16 10:18:22.000000000 -0400 Change: 2026-03-16 10:18:22.000000000 -0400 Birth: 2026-03-16 10:18:22.000000000 -0400 File: /mnt/lustre/d31b.sanity-lfsck/striped_dir/d7 Size: 4096 Blocks: 8 IO Block: 1048576 directory Device: 2c54f966h/743766374d Inode: 144115339507007498 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2026-03-16 10:18:22.000000000 -0400 Modify: 2026-03-16 10:18:22.000000000 -0400 Change: 2026-03-16 10:18:22.000000000 -0400 Birth: 2026-03-16 10:18:22.000000000 -0400 File: /mnt/lustre/d31b.sanity-lfsck/striped_dir/d8 Size: 4096 Blocks: 8 IO Block: 1048576 directory Device: 2c54f966h/743766374d Inode: 144115339507007499 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2026-03-16 10:18:22.000000000 -0400 Modify: 2026-03-16 10:18:22.000000000 -0400 Change: 2026-03-16 10:18:22.000000000 -0400 Birth: 2026-03-16 10:18:22.000000000 -0400 File: /mnt/lustre/d31b.sanity-lfsck/striped_dir/d9 Size: 4096 Blocks: 8 IO Block: 1048576 directory Device: 2c54f966h/743766374d Inode: 144115339507007500 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2026-03-16 10:18:22.000000000 -0400 Modify: 2026-03-16 10:18:22.000000000 -0400 Change: 2026-03-16 10:18:22.000000000 -0400 Birth: 2026-03-16 10:18:22.000000000 -0400