== sanity-lfsck test 31a: The LFSCK can find/repair the name entry with bad name hash (1) ========================================================== 11:15:36 (1713280536) ##### 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.02 seconds: 103.97 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.201.122@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg122-client.virtnet /mnt/lustre (opts:) Starting client: oleg122-client.virtnet: -o user_xattr,flock oleg122-server@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: 2024-04-16 11:15:37.000000000 -0400 Modify: 2024-04-16 11:15:37.000000000 -0400 Change: 2024-04-16 11:15:37.000000000 -0400 Birth: - 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: 2024-04-16 11:15:37.000000000 -0400 Modify: 2024-04-16 11:15:37.000000000 -0400 Change: 2024-04-16 11:15:37.000000000 -0400 Birth: -