== sanity-lfsck test 31b: The LFSCK can find/repair the name entry with bad name hash (2) ========================================================== 04:59:31 (1713257971) ##### 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.02 seconds: 561.52 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.203.105@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt 0 0 Stopping client oleg305-client.virtnet /mnt/lustre (opts:) Starting client: oleg305-client.virtnet: -o user_xattr,flock oleg305-server@tcp:/lustre /mnt/lustre File: '/mnt/lustre/d31b.sanity-lfsck/striped_dir/d0' Size: 4096 Blocks: 8 IO Block: 4096 directory Device: 2c54f966h/743766374d Inode: 162129805175685121 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2024-04-16 04:59:31.000000000 -0400 Modify: 2024-04-16 04:59:31.000000000 -0400 Change: 2024-04-16 04:59:31.000000000 -0400 Birth: - File: '/mnt/lustre/d31b.sanity-lfsck/striped_dir/d1' Size: 4096 Blocks: 8 IO Block: 4096 directory Device: 2c54f966h/743766374d Inode: 162129805175685122 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2024-04-16 04:59:31.000000000 -0400 Modify: 2024-04-16 04:59:31.000000000 -0400 Change: 2024-04-16 04:59:31.000000000 -0400 Birth: - File: '/mnt/lustre/d31b.sanity-lfsck/striped_dir/d2' Size: 4096 Blocks: 8 IO Block: 4096 directory Device: 2c54f966h/743766374d Inode: 162129805175685123 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2024-04-16 04:59:31.000000000 -0400 Modify: 2024-04-16 04:59:31.000000000 -0400 Change: 2024-04-16 04:59:31.000000000 -0400 Birth: - File: '/mnt/lustre/d31b.sanity-lfsck/striped_dir/d3' Size: 4096 Blocks: 8 IO Block: 4096 directory Device: 2c54f966h/743766374d Inode: 162129805175685124 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2024-04-16 04:59:31.000000000 -0400 Modify: 2024-04-16 04:59:31.000000000 -0400 Change: 2024-04-16 04:59:31.000000000 -0400 Birth: - File: '/mnt/lustre/d31b.sanity-lfsck/striped_dir/d4' Size: 4096 Blocks: 8 IO Block: 4096 directory Device: 2c54f966h/743766374d Inode: 162129805175685125 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2024-04-16 04:59:31.000000000 -0400 Modify: 2024-04-16 04:59:31.000000000 -0400 Change: 2024-04-16 04:59:31.000000000 -0400 Birth: - File: '/mnt/lustre/d31b.sanity-lfsck/striped_dir/d5' Size: 4096 Blocks: 8 IO Block: 4096 directory Device: 2c54f966h/743766374d Inode: 162129805175685126 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2024-04-16 04:59:31.000000000 -0400 Modify: 2024-04-16 04:59:31.000000000 -0400 Change: 2024-04-16 04:59:31.000000000 -0400 Birth: - File: '/mnt/lustre/d31b.sanity-lfsck/striped_dir/d6' Size: 4096 Blocks: 8 IO Block: 4096 directory Device: 2c54f966h/743766374d Inode: 162129805175685127 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2024-04-16 04:59:31.000000000 -0400 Modify: 2024-04-16 04:59:31.000000000 -0400 Change: 2024-04-16 04:59:31.000000000 -0400 Birth: - File: '/mnt/lustre/d31b.sanity-lfsck/striped_dir/d7' Size: 4096 Blocks: 8 IO Block: 4096 directory Device: 2c54f966h/743766374d Inode: 162129805175685128 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2024-04-16 04:59:31.000000000 -0400 Modify: 2024-04-16 04:59:31.000000000 -0400 Change: 2024-04-16 04:59:31.000000000 -0400 Birth: - File: '/mnt/lustre/d31b.sanity-lfsck/striped_dir/d8' Size: 4096 Blocks: 8 IO Block: 4096 directory Device: 2c54f966h/743766374d Inode: 162129805175685129 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2024-04-16 04:59:31.000000000 -0400 Modify: 2024-04-16 04:59:31.000000000 -0400 Change: 2024-04-16 04:59:31.000000000 -0400 Birth: - File: '/mnt/lustre/d31b.sanity-lfsck/striped_dir/d9' Size: 4096 Blocks: 8 IO Block: 4096 directory Device: 2c54f966h/743766374d Inode: 162129805175685130 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2024-04-16 04:59:31.000000000 -0400 Modify: 2024-04-16 04:59:31.000000000 -0400 Change: 2024-04-16 04:59:31.000000000 -0400 Birth: -