== sanity-lfsck test 31a: The LFSCK can find/repair the name entry with bad name hash (1) ========================================================== 10:18:18 (1773670698) ##### 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-first shard, but inserted into the first shard by wrong fail_loc=0x1628 fail_val=0 total: 2 mkdir in 0.01 seconds: 162.83 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 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/d31a.sanity-lfsck/striped_dir/d0 Size: 4096 Blocks: 8 IO Block: 1048576 directory Device: 2c54f966h/743766374d Inode: 144115339490230275 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2026-03-16 10:18:18.000000000 -0400 Modify: 2026-03-16 10:18:18.000000000 -0400 Change: 2026-03-16 10:18:18.000000000 -0400 Birth: 2026-03-16 10:18:18.000000000 -0400 File: /mnt/lustre/d31a.sanity-lfsck/striped_dir/d1 Size: 4096 Blocks: 8 IO Block: 1048576 directory Device: 2c54f966h/743766374d Inode: 144115339490230276 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2026-03-16 10:18:18.000000000 -0400 Modify: 2026-03-16 10:18:18.000000000 -0400 Change: 2026-03-16 10:18:18.000000000 -0400 Birth: 2026-03-16 10:18:18.000000000 -0400