-----============= acceptance-small: sanity-lfsck ============----- Wed May 8 18:02:31 EDT 2024 mgs: CentOS Linux release 7.9.2009 (Core) MGS_OS_VERSION_ID=7 MGS_OS_ID=centos MGS_OS_VERSION_CODE=117440512 MGS_OS_ID_LIKE=rhel fedora centos mds1: CentOS Linux release 7.9.2009 (Core) MDS1_OS_ID_LIKE=rhel fedora centos MDS1_OS_ID=centos MDS1_OS_VERSION_ID=7 MDS1_OS_VERSION_CODE=117440512 ost1: CentOS Linux release 7.9.2009 (Core) OST1_OS_VERSION_CODE=117440512 OST1_OS_VERSION_ID=7 OST1_OS_ID_LIKE=rhel fedora centos OST1_OS_ID=centos client: CentOS Linux release 7.9.2009 (Core) CLIENT_OS_ID=centos CLIENT_OS_ID_LIKE=rhel fedora centos CLIENT_OS_VERSION_ID=7 CLIENT_OS_VERSION_CODE=117440512 excepting tests: 23b Loading modules from /home/green/git/lustre-release/lustre detected 4 online CPUs by sysfs Force libcfs to create 2 CPU partitions loading modules on: 'oleg418-server' oleg418-server: oleg418-server.virtnet: executing load_modules_local oleg418-server: Loading modules from /home/green/git/lustre-release/lustre oleg418-server: detected 4 online CPUs by sysfs oleg418-server: Force libcfs to create 2 CPU partitions client=34553605 MDS=34553605 OSS=34553605 Stopping clients: oleg418-client.virtnet /mnt/lustre (opts:) Stopping client oleg418-client.virtnet /mnt/lustre opts: Stopping clients: oleg418-client.virtnet /mnt/lustre2 (opts:) Stopping /mnt/lustre-mds1 (opts:-f) on oleg418-server Stopping /mnt/lustre-mds2 (opts:-f) on oleg418-server Stopping /mnt/lustre-ost1 (opts:-f) on oleg418-server Stopping /mnt/lustre-ost2 (opts:-f) on oleg418-server unloading modules on: 'oleg418-server' oleg418-server: oleg418-server.virtnet: executing unload_modules_local modules unloaded. === sanity-lfsck: start setup 18:03:18 (1715205798) === Stopping clients: oleg418-client.virtnet /mnt/lustre (opts:-f) Stopping clients: oleg418-client.virtnet /mnt/lustre2 (opts:-f) pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 pdsh@oleg418-client: oleg418-server: ssh exited with exit code 2 oleg418-server: oleg418-server.virtnet: executing set_hostid Loading modules from /home/green/git/lustre-release/lustre detected 4 online CPUs by sysfs Force libcfs to create 2 CPU partitions ../libcfs/libcfs/libcfs options: 'cpu_npartitions=2' ptlrpc/ptlrpc options: 'lbug_on_grant_miscount=1' quota/lquota options: 'hash_lqs_cur_bits=3' loading modules on: 'oleg418-server' oleg418-server: oleg418-server.virtnet: executing load_modules_local oleg418-server: Loading modules from /home/green/git/lustre-release/lustre oleg418-server: detected 4 online CPUs by sysfs oleg418-server: Force libcfs to create 2 CPU partitions oleg418-server: ptlrpc/ptlrpc options: 'lbug_on_grant_miscount=1' oleg418-server: quota/lquota options: 'hash_lqs_cur_bits=3' Formatting mgs, mds, osts Format mds1: /dev/vdc pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Format mds2: /dev/vdd pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Format ost1: /dev/vde pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Format ost2: /dev/vdf pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Checking servers environments Checking clients oleg418-client.virtnet environments Loading modules from /home/green/git/lustre-release/lustre detected 4 online CPUs by sysfs Force libcfs to create 2 CPU partitions loading modules on: 'oleg418-server' oleg418-server: oleg418-server.virtnet: executing load_modules_local oleg418-server: Loading modules from /home/green/git/lustre-release/lustre oleg418-server: detected 4 online CPUs by sysfs oleg418-server: Force libcfs to create 2 CPU partitions Setup mgs, mdt, osts pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Starting mds1: -o localrecov /dev/mapper/mds1_flakey /mnt/lustre-mds1 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Commit the device label on /dev/vdc Started lustre-MDT0000 pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Starting mds2: -o localrecov /dev/mapper/mds2_flakey /mnt/lustre-mds2 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Commit the device label on /dev/vdd Started lustre-MDT0001 pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Starting ost1: -o localrecov /dev/mapper/ost1_flakey /mnt/lustre-ost1 seq.cli-lustre-OST0000-super.width=65536 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Commit the device label on /dev/vde Started lustre-OST0000 pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Starting ost2: -o localrecov /dev/mapper/ost2_flakey /mnt/lustre-ost2 seq.cli-lustre-OST0001-super.width=65536 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Commit the device label on /dev/vdf Started lustre-OST0001 Starting client: oleg418-client.virtnet: -o user_xattr,flock oleg418-server@tcp:/lustre /mnt/lustre Starting client oleg418-client.virtnet: -o user_xattr,flock oleg418-server@tcp:/lustre /mnt/lustre Started clients oleg418-client.virtnet: 192.168.204.118@tcp:/lustre on /mnt/lustre type lustre (rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project) Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff8800b5949000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800b5949000.idle_timeout=debug setting jobstats to procname_uid Setting lustre.sys.jobid_var from disable to procname_uid Waiting 90s for 'procname_uid' Updated after 2s: want 'procname_uid' got 'procname_uid' disable quota as required osd-ldiskfs.track_declares_assert=1 === sanity-lfsck: finish setup 18:04:14 (1715205854) === debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 0: Control LFSCK manually =========== 18:04:16 (1715205856) preparing... 3 * 3 files will be created Wed May 8 18:04:16 EDT 2024. total: 3 mkdir in 0.00 seconds: 690.91 ops/second total: 3 create in 0.00 seconds: 659.93 ops/second total: 3 mkdir in 0.00 seconds: 807.11 ops/second prepared Wed May 8 18:04:17 EDT 2024. fail_val=3 fail_loc=0x1600 Started LFSCK on the device lustre-MDT0000: scrub namespace name: lfsck_namespace magic: 0xa06249ff version: 2 status: scanning-phase1 flags: param: last_completed_time: N/A time_since_last_completed: N/A latest_start_time: 1715205858 time_since_latest_start: 0 seconds last_checkpoint_time: N/A time_since_last_checkpoint: N/A latest_start_position: 13, N/A, N/A last_checkpoint_position: N/A, N/A, N/A first_failure_position: N/A, N/A, N/A checked_phase1: 0 checked_phase2: 0 updated_phase1: 0 updated_phase2: 0 failed_phase1: 0 failed_phase2: 0 directories: 0 dirent_repaired: 0 linkea_repaired: 0 nlinks_repaired: 0 multiple_linked_checked: 0 multiple_linked_repaired: 0 unknown_inconsistency: 0 unmatched_pairs_repaired: 0 dangling_repaired: 0 multiple_referenced_repaired: 0 bad_file_type_repaired: 0 lost_dirent_repaired: 0 local_lost_found_scanned: 0 local_lost_found_moved: 0 local_lost_found_skipped: 0 local_lost_found_failed: 0 striped_dirs_scanned: 0 striped_dirs_repaired: 0 striped_dirs_failed: 0 striped_dirs_disabled: 0 striped_dirs_skipped: 0 striped_shards_scanned: 0 striped_shards_repaired: 0 striped_shards_failed: 0 striped_shards_skipped: 0 name_hash_repaired: 0 linkea_overflow_cleared: 0 agent_entries_repaired: 0 success_count: 0 run_time_phase1: 1 seconds run_time_phase2: 0 seconds average_speed_phase1: 0 items/sec average_speed_phase2: N/A average_speed_total: 0 items/sec real_time_speed_phase1: 0 items/sec real_time_speed_phase2: N/A current_position: 12, N/A, N/A Stopped LFSCK on the device lustre-MDT0000. Started LFSCK on the device lustre-MDT0000: scrub namespace fail_loc=0 fail_val=0 Started LFSCK on the device lustre-MDT0000: scrub namespace stopall, should NOT crash LU-3649 Stopping clients: oleg418-client.virtnet /mnt/lustre (opts:) Stopping client oleg418-client.virtnet /mnt/lustre opts: Stopping clients: oleg418-client.virtnet /mnt/lustre2 (opts:) Stopping /mnt/lustre-mds1 (opts:-f) on oleg418-server Stopping /mnt/lustre-mds2 (opts:-f) on oleg418-server Stopping /mnt/lustre-ost1 (opts:-f) on oleg418-server Stopping /mnt/lustre-ost2 (opts:-f) on oleg418-server PASS 0 (24s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 1a: LFSCK can find out and repair crashed FID-in-dirent ========================================================== 18:04:42 (1715205882) Checking servers environments Checking clients oleg418-client.virtnet environments Loading modules from /home/green/git/lustre-release/lustre detected 4 online CPUs by sysfs Force libcfs to create 2 CPU partitions libkmod: kmod_module_get_holders: could not open '/sys/module/acpi_cpufreq/holders': No such file or directory libkmod: kmod_module_get_holders: could not open '/sys/module/pcc_cpufreq/holders': No such file or directory loading modules on: 'oleg418-server' oleg418-server: oleg418-server.virtnet: executing load_modules_local oleg418-server: Loading modules from /home/green/git/lustre-release/lustre oleg418-server: detected 4 online CPUs by sysfs oleg418-server: Force libcfs to create 2 CPU partitions oleg418-server: libkmod: kmod_module_get_holders: could not open '/sys/module/pcc_cpufreq/holders': No such file or directory Setup mgs, mdt, osts Starting mds1: -o localrecov /dev/mapper/mds1_flakey /mnt/lustre-mds1 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Started lustre-MDT0000 Starting mds2: -o localrecov /dev/mapper/mds2_flakey /mnt/lustre-mds2 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Started lustre-MDT0001 Starting ost1: -o localrecov /dev/mapper/ost1_flakey /mnt/lustre-ost1 seq.cli-lustre-OST0000-super.width=65536 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Started lustre-OST0000 Starting ost2: -o localrecov /dev/mapper/ost2_flakey /mnt/lustre-ost2 seq.cli-lustre-OST0001-super.width=65536 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Started lustre-OST0001 Starting client: oleg418-client.virtnet: -o user_xattr,flock oleg418-server@tcp:/lustre /mnt/lustre Starting client oleg418-client.virtnet: -o user_xattr,flock oleg418-server@tcp:/lustre /mnt/lustre Started clients oleg418-client.virtnet: 192.168.204.118@tcp:/lustre on /mnt/lustre type lustre (rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project) Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff8800b6346800.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800b6346800.idle_timeout=debug disable quota as required preparing... 1 * 1 files will be created Wed May 8 18:05:10 EDT 2024. total: 1 mkdir in 0.00 seconds: 649.78 ops/second total: 1 create in 0.00 seconds: 783.69 ops/second total: 1 mkdir in 0.00 seconds: 762.74 ops/second prepared Wed May 8 18:05:11 EDT 2024. fail_loc=0x1501 fail_loc=0 192.168.204.118@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg418-client.virtnet /mnt/lustre (opts:) Started LFSCK on the device lustre-MDT0000: scrub namespace oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Starting client: oleg418-client.virtnet: -o user_xattr,flock oleg418-server@tcp:/lustre /mnt/lustre fail_loc=0x1505 fail_loc=0 PASS 1a (41s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 1b: LFSCK can find out and repair the missing FID-in-LMA ========================================================== 18:05:25 (1715205925) preparing... 1 * 1 files will be created Wed May 8 18:05:25 EDT 2024. total: 1 mkdir in 0.00 seconds: 432.71 ops/second total: 1 create in 0.00 seconds: 560.51 ops/second total: 1 mkdir in 0.00 seconds: 479.35 ops/second prepared Wed May 8 18:05:26 EDT 2024. fail_loc=0x1502 fail_loc=0 192.168.204.118@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg418-client.virtnet /mnt/lustre (opts:) fail_loc=0x1506 Started LFSCK on the device lustre-MDT0000: scrub namespace fail_loc=0 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Starting client: oleg418-client.virtnet: -o user_xattr,flock oleg418-server@tcp:/lustre /mnt/lustre fail_loc=0x1505 fail_loc=0 PASS 1b (14s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 1c: LFSCK can find out and repair lost FID-in-dirent ========================================================== 18:05:41 (1715205941) preparing... 1 * 1 files will be created Wed May 8 18:05:41 EDT 2024. total: 1 mkdir in 0.00 seconds: 710.18 ops/second total: 1 create in 0.00 seconds: 725.78 ops/second total: 1 mkdir in 0.00 seconds: 753.02 ops/second prepared Wed May 8 18:05:42 EDT 2024. fail_loc=0x1504 fail_loc=0 192.168.204.118@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg418-client.virtnet /mnt/lustre (opts:) Started LFSCK on the device lustre-MDT0000: scrub namespace oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Starting client: oleg418-client.virtnet: -o user_xattr,flock oleg418-server@tcp:/lustre /mnt/lustre fail_loc=0x1505 fail_loc=0 PASS 1c (13s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 2a: LFSCK can find out and repair crashed linkEA entry ========================================================== 18:05:56 (1715205956) preparing... 1 * 1 files will be created Wed May 8 18:05:57 EDT 2024. total: 1 mkdir in 0.00 seconds: 710.30 ops/second total: 1 create in 0.00 seconds: 892.79 ops/second total: 1 mkdir in 0.00 seconds: 815.70 ops/second prepared Wed May 8 18:05:57 EDT 2024. fail_loc=0x1603 fail_loc=0 192.168.204.118@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg418-client.virtnet /mnt/lustre (opts:) Started LFSCK on the device lustre-MDT0000: scrub namespace oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Starting client: oleg418-client.virtnet: -o user_xattr,flock oleg418-server@tcp:/lustre /mnt/lustre PASS 2a (14s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 2b: LFSCK can find out and remove invalid linkEA entry ========================================================== 18:06:11 (1715205971) preparing... 1 * 1 files will be created Wed May 8 18:06:12 EDT 2024. total: 1 mkdir in 0.00 seconds: 588.26 ops/second total: 1 create in 0.00 seconds: 575.03 ops/second total: 1 mkdir in 0.00 seconds: 631.67 ops/second prepared Wed May 8 18:06:12 EDT 2024. fail_loc=0x1604 fail_loc=0 192.168.204.118@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg418-client.virtnet /mnt/lustre (opts:) Started LFSCK on the device lustre-MDT0000: scrub namespace oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Starting client: oleg418-client.virtnet: -o user_xattr,flock oleg418-server@tcp:/lustre /mnt/lustre PASS 2b (14s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 2c: LFSCK can find out and remove repeated linkEA entry ========================================================== 18:06:27 (1715205987) preparing... 1 * 1 files will be created Wed May 8 18:06:27 EDT 2024. total: 1 mkdir in 0.00 seconds: 487.09 ops/second total: 1 create in 0.00 seconds: 583.03 ops/second total: 1 mkdir in 0.00 seconds: 619.18 ops/second prepared Wed May 8 18:06:28 EDT 2024. fail_loc=0x1605 fail_loc=0 192.168.204.118@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg418-client.virtnet /mnt/lustre (opts:) Started LFSCK on the device lustre-MDT0000: scrub namespace oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Starting client: oleg418-client.virtnet: -o user_xattr,flock oleg418-server@tcp:/lustre /mnt/lustre PASS 2c (13s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 2d: LFSCK can recover the missing linkEA entry ========================================================== 18:06:42 (1715206002) preparing... 1 * 1 files will be created Wed May 8 18:06:42 EDT 2024. total: 1 mkdir in 0.00 seconds: 662.71 ops/second total: 1 create in 0.00 seconds: 876.37 ops/second total: 1 mkdir in 0.00 seconds: 816.97 ops/second prepared Wed May 8 18:06:43 EDT 2024. fail_loc=0x161d fail_loc=0 192.168.204.118@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg418-client.virtnet /mnt/lustre (opts:) Started LFSCK on the device lustre-MDT0000: scrub namespace oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Starting client: oleg418-client.virtnet: -o user_xattr,flock oleg418-server@tcp:/lustre /mnt/lustre PASS 2d (13s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 2e: namespace LFSCK can verify remote object linkEA ========================================================== 18:06:57 (1715206017) fail_loc=0x1603 fail_loc=0 Started LFSCK on the device lustre-MDT0000: scrub namespace PASS 2e (3s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 3: LFSCK can verify multiple-linked objects ========================================================== 18:07:01 (1715206021) preparing... 4 * 4 files will be created Wed May 8 18:07:02 EDT 2024. total: 4 mkdir in 0.01 seconds: 747.55 ops/second total: 4 create in 0.00 seconds: 840.84 ops/second total: 4 mkdir in 0.00 seconds: 827.28 ops/second prepared Wed May 8 18:07:02 EDT 2024. fail_loc=0x1603 fail_loc=0x1604 fail_loc=0 Started LFSCK on the device lustre-MDT0000: scrub namespace PASS 3 (4s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 4: FID-in-dirent can be rebuilt after MDT file-level backup/restore ========================================================== 18:07:07 (1715206027) preparing... 3 * 3 files will be created Wed May 8 18:07:07 EDT 2024. total: 3 mkdir in 0.00 seconds: 802.99 ops/second total: 3 create in 0.00 seconds: 925.35 ops/second total: 3 mkdir in 0.00 seconds: 648.07 ops/second prepared Wed May 8 18:07:08 EDT 2024. Stopping clients: oleg418-client.virtnet /mnt/lustre (opts:) Stopping client oleg418-client.virtnet /mnt/lustre opts: file-level backup/restore on mds1:/dev/mapper/mds1_flakey backup data reformat new device Format mds1: /dev/mapper/mds1_flakey restore data remove recovery logs removed '/mnt/lustre-brpt/CATALOGS' start mds1 with disabling OI scrub oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 fail_val=1 fail_loc=0x1601 Started LFSCK on the device lustre-MDT0000: scrub namespace Waiting 32s for 'inconsistent' fail_loc=0 fail_val=0 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Starting client: oleg418-client.virtnet: -o user_xattr,flock oleg418-server@tcp:/lustre /mnt/lustre fail_loc=0x1505 fail_loc=0 PASS 4 (25s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 5: LFSCK can handle IGIF object upgrading ========================================================== 18:07:34 (1715206054) preparing... 1 * 1 files will be created Wed May 8 18:07:35 EDT 2024. fail_loc=0x1504 total: 1 mkdir in 0.00 seconds: 497.54 ops/second total: 1 create in 0.00 seconds: 497.31 ops/second total: 1 mkdir in 0.00 seconds: 493.10 ops/second fail_loc=0 prepared Wed May 8 18:07:36 EDT 2024. Stopping clients: oleg418-client.virtnet /mnt/lustre (opts:) Stopping client oleg418-client.virtnet /mnt/lustre opts: file-level backup/restore on mds1:/dev/mapper/mds1_flakey backup data reformat new device Format mds1: /dev/mapper/mds1_flakey restore data remove recovery logs removed '/mnt/lustre-brpt/CATALOGS' start mds1 with disabling OI scrub oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 fail_val=1 fail_loc=0x1601 Started LFSCK on the device lustre-MDT0000: scrub namespace Waiting 32s for 'inconsistent,upgrade' Updated after 6s: want 'inconsistent,upgrade' got 'inconsistent,upgrade' fail_loc=0 fail_val=0 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Starting client: oleg418-client.virtnet: -o user_xattr,flock oleg418-server@tcp:/lustre /mnt/lustre fail_loc=0x1505 fail_loc=0 PASS 5 (31s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 6a: LFSCK resumes from last checkpoint (1) ========================================================== 18:08:06 (1715206086) preparing... 5 * 5 files will be created Wed May 8 18:08:07 EDT 2024. total: 5 mkdir in 0.01 seconds: 800.38 ops/second total: 5 create in 0.01 seconds: 809.34 ops/second total: 5 mkdir in 0.01 seconds: 744.38 ops/second prepared Wed May 8 18:08:08 EDT 2024. fail_val=1 fail_loc=0x1600 Started LFSCK on the device lustre-MDT0000: scrub namespace fail_loc=0x80001608 Waiting 32s for 'failed' fail_val=1 fail_loc=0x1600 Started LFSCK on the device lustre-MDT0000: scrub namespace fail_loc=0 fail_val=0 PASS 6a (10s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 6b: LFSCK resumes from last checkpoint (2) ========================================================== 18:08:18 (1715206098) preparing... 5 * 5 files will be created Wed May 8 18:08:19 EDT 2024. total: 5 mkdir in 0.01 seconds: 471.39 ops/second total: 5 create in 0.01 seconds: 529.33 ops/second total: 5 mkdir in 0.01 seconds: 652.81 ops/second prepared Wed May 8 18:08:20 EDT 2024. fail_val=1 fail_loc=0x1601 Started LFSCK on the device lustre-MDT0000: scrub namespace fail_loc=0x80001609 Waiting 32s for 'failed' fail_val=1 fail_loc=0x1601 Started LFSCK on the device lustre-MDT0000: scrub namespace Additional debug for 6b name: lfsck_namespace magic: 0xa06249ff version: 2 status: scanning-phase1 flags: param: last_completed_time: 1715206095 time_since_last_completed: 15 seconds latest_start_time: 1715206109 time_since_latest_start: 1 seconds last_checkpoint_time: 1715206107 time_since_last_checkpoint: 3 seconds latest_start_position: 20112, [0x2000061c1:0x77:0x0], 0x295fc8db32277c7 last_checkpoint_position: 20110, [0x2000061c1:0x77:0x0], 0x1ad3564f4cb00e1 first_failure_position: N/A, N/A, N/A checked_phase1: 4 checked_phase2: 0 updated_phase1: 0 updated_phase2: 0 failed_phase1: 0 failed_phase2: 0 directories: 2 dirent_repaired: 0 linkea_repaired: 0 nlinks_repaired: 0 multiple_linked_checked: 0 multiple_linked_repaired: 0 unknown_inconsistency: 0 unmatched_pairs_repaired: 0 dangling_repaired: 0 multiple_referenced_repaired: 0 bad_file_type_repaired: 0 lost_dirent_repaired: 0 local_lost_found_scanned: 0 local_lost_found_moved: 0 local_lost_found_skipped: 0 local_lost_found_failed: 0 striped_dirs_scanned: 0 striped_dirs_repaired: 0 striped_dirs_failed: 0 striped_dirs_disabled: 0 striped_dirs_skipped: 0 striped_shards_scanned: 0 striped_shards_repaired: 0 striped_shards_failed: 0 striped_shards_skipped: 0 name_hash_repaired: 0 linkea_overflow_cleared: 0 agent_entries_repaired: 0 success_count: 14 run_time_phase1: 8 seconds run_time_phase2: 0 seconds average_speed_phase1: 0 items/sec average_speed_phase2: N/A average_speed_total: 0 items/sec real_time_speed_phase1: 0 items/sec real_time_speed_phase2: N/A current_position: 20111, [0x2000061c1:0x77:0x0], 0x295fc8db32277c7 fail_loc=0 fail_val=0 PASS 6b (13s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 7a: non-stopped LFSCK should auto restarts after MDS remount (1) ========================================================== 18:08:32 (1715206112) preparing... 5 * 5 files will be created Wed May 8 18:08:33 EDT 2024. total: 5 mkdir in 0.01 seconds: 767.20 ops/second total: 5 create in 0.01 seconds: 895.07 ops/second total: 5 mkdir in 0.01 seconds: 780.28 ops/second prepared Wed May 8 18:08:34 EDT 2024. 192.168.204.118@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg418-client.virtnet /mnt/lustre (opts:) fail_val=1 fail_loc=0x1601 Started LFSCK on the device lustre-MDT0000: scrub namespace stop mds1 fail_loc=0 fail_val=0 start mds1 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Waiting 30s for 'completed' Updated after 4s: want 'completed' got 'completed' PASS 7a (16s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 7b: non-stopped LFSCK should auto restarts after MDS remount (2) ========================================================== 18:08:49 (1715206129) Checking servers environments Checking clients oleg418-client.virtnet environments Loading modules from /home/green/git/lustre-release/lustre detected 4 online CPUs by sysfs Force libcfs to create 2 CPU partitions libkmod: kmod_module_get_holders: could not open '/sys/module/intel_rapl/holders': No such file or directory loading modules on: 'oleg418-server' oleg418-server: oleg418-server.virtnet: executing load_modules_local oleg418-server: Loading modules from /home/green/git/lustre-release/lustre oleg418-server: detected 4 online CPUs by sysfs oleg418-server: Force libcfs to create 2 CPU partitions Setup mgs, mdt, osts Starting mds1: -o localrecov /dev/mapper/mds1_flakey /mnt/lustre-mds1 oleg418-server: mount.lustre: according to /etc/mtab /dev/mapper/mds1_flakey is already mounted on /mnt/lustre-mds1 pdsh@oleg418-client: oleg418-server: ssh exited with exit code 17 Start of /dev/mapper/mds1_flakey on mds1 failed 17 Starting mds2: -o localrecov /dev/mapper/mds2_flakey /mnt/lustre-mds2 oleg418-server: mount.lustre: according to /etc/mtab /dev/mapper/mds2_flakey is already mounted on /mnt/lustre-mds2 pdsh@oleg418-client: oleg418-server: ssh exited with exit code 17 Start of /dev/mapper/mds2_flakey on mds2 failed 17 Starting ost1: -o localrecov /dev/mapper/ost1_flakey /mnt/lustre-ost1 oleg418-server: mount.lustre: according to /etc/mtab /dev/mapper/ost1_flakey is already mounted on /mnt/lustre-ost1 pdsh@oleg418-client: oleg418-server: ssh exited with exit code 17 seq.cli-lustre-OST0000-super.width=65536 Start of /dev/mapper/ost1_flakey on ost1 failed 17 Starting ost2: -o localrecov /dev/mapper/ost2_flakey /mnt/lustre-ost2 oleg418-server: mount.lustre: according to /etc/mtab /dev/mapper/ost2_flakey is already mounted on /mnt/lustre-ost2 pdsh@oleg418-client: oleg418-server: ssh exited with exit code 17 seq.cli-lustre-OST0001-super.width=65536 Start of /dev/mapper/ost2_flakey on ost2 failed 17 Starting client: oleg418-client.virtnet: -o user_xattr,flock oleg418-server@tcp:/lustre /mnt/lustre Starting client oleg418-client.virtnet: -o user_xattr,flock oleg418-server@tcp:/lustre /mnt/lustre Started clients oleg418-client.virtnet: 192.168.204.118@tcp:/lustre on /mnt/lustre type lustre (rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project) Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff8800aef60000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800aef60000.idle_timeout=debug disable quota as required preparing... 2 * 2 files will be created Wed May 8 18:09:09 EDT 2024. total: 2 mkdir in 0.00 seconds: 718.08 ops/second total: 2 create in 0.00 seconds: 793.92 ops/second total: 2 mkdir in 0.00 seconds: 853.98 ops/second prepared Wed May 8 18:09:10 EDT 2024. fail_loc=0x1604 fail_val=1 fail_loc=0x1602 Started LFSCK on the device lustre-MDT0000: scrub namespace 192.168.204.118@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg418-client.virtnet /mnt/lustre (opts:) stop mds1 fail_loc=0 fail_val=0 start mds1 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Waiting 30s for 'completed' Updated after 5s: want 'completed' got 'completed' PASS 7b (33s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 8: LFSCK state machine ============== 18:09:24 (1715206164) formatall oleg418-server: oleg418-server.virtnet: executing set_hostid oleg418-server: oleg418-server.virtnet: executing load_modules_local oleg418-server: libkmod: kmod_module_get_holders: could not open '/sys/module/acpi_cpufreq/holders': No such file or directory oleg418-server: libkmod: kmod_module_get_holders: could not open '/sys/module/pcc_cpufreq/holders': No such file or directory setupall oleg418-server: oleg418-server.virtnet: executing load_modules_local oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Using TIMEOUT=20 preparing... 20 * 20 files will be created Wed May 8 18:10:16 EDT 2024. total: 20 mkdir in 0.03 seconds: 621.27 ops/second total: 20 create in 0.02 seconds: 859.91 ops/second total: 20 mkdir in 0.03 seconds: 796.65 ops/second prepared Wed May 8 18:10:18 EDT 2024. fail_loc=0x1603 fail_loc=0x1604 192.168.204.118@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg418-client.virtnet /mnt/lustre (opts:) fail_val=2 fail_loc=0x1601 Started LFSCK on the device lustre-MDT0000: scrub namespace Stopped LFSCK on the device lustre-MDT0000. Started LFSCK on the device lustre-MDT0000: scrub namespace fail_loc=0x80001609 Waiting 32s for 'failed' fail_loc=0x1600 Started LFSCK on the device lustre-MDT0000: scrub namespace fail_loc=0x160a stop mds1 fail_loc=0x160b start mds1 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 fail_loc=0x1601 Started LFSCK on the device lustre-MDT0000: scrub namespace stop mds1 fail_loc=0x160b start mds1 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 stop mds1 start mds1 without resume LFSCK oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 fail_val=2 fail_loc=0x1602 Started LFSCK on the device lustre-MDT0000: scrub namespace fail_loc=0 fail_val=0 PASS 8 (85s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 9a: LFSCK speed control (1) ========= 18:10:51 (1715206251) Checking servers environments Checking clients oleg418-client.virtnet environments Loading modules from /home/green/git/lustre-release/lustre detected 4 online CPUs by sysfs Force libcfs to create 2 CPU partitions loading modules on: 'oleg418-server' oleg418-server: oleg418-server.virtnet: executing load_modules_local oleg418-server: Loading modules from /home/green/git/lustre-release/lustre oleg418-server: detected 4 online CPUs by sysfs oleg418-server: Force libcfs to create 2 CPU partitions Setup mgs, mdt, osts Starting mds1: -o localrecov /dev/mapper/mds1_flakey /mnt/lustre-mds1 oleg418-server: mount.lustre: according to /etc/mtab /dev/mapper/mds1_flakey is already mounted on /mnt/lustre-mds1 pdsh@oleg418-client: oleg418-server: ssh exited with exit code 17 Start of /dev/mapper/mds1_flakey on mds1 failed 17 Starting mds2: -o localrecov /dev/mapper/mds2_flakey /mnt/lustre-mds2 oleg418-server: mount.lustre: according to /etc/mtab /dev/mapper/mds2_flakey is already mounted on /mnt/lustre-mds2 pdsh@oleg418-client: oleg418-server: ssh exited with exit code 17 Start of /dev/mapper/mds2_flakey on mds2 failed 17 Starting ost1: -o localrecov /dev/mapper/ost1_flakey /mnt/lustre-ost1 oleg418-server: mount.lustre: according to /etc/mtab /dev/mapper/ost1_flakey is already mounted on /mnt/lustre-ost1 pdsh@oleg418-client: oleg418-server: ssh exited with exit code 17 seq.cli-lustre-OST0000-super.width=65536 Start of /dev/mapper/ost1_flakey on ost1 failed 17 Starting ost2: -o localrecov /dev/mapper/ost2_flakey /mnt/lustre-ost2 oleg418-server: mount.lustre: according to /etc/mtab /dev/mapper/ost2_flakey is already mounted on /mnt/lustre-ost2 pdsh@oleg418-client: oleg418-server: ssh exited with exit code 17 seq.cli-lustre-OST0001-super.width=65536 Start of /dev/mapper/ost2_flakey on ost2 failed 17 Starting client: oleg418-client.virtnet: -o user_xattr,flock oleg418-server@tcp:/lustre /mnt/lustre Starting client oleg418-client.virtnet: -o user_xattr,flock oleg418-server@tcp:/lustre /mnt/lustre Started clients oleg418-client.virtnet: 192.168.204.118@tcp:/lustre on /mnt/lustre type lustre (rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project) Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff8800b594b000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800b594b000.idle_timeout=debug disable quota as required - open/close 3325 (time 1715206282.22 total 10.00 last 332.47) total: 5000 open/close in 13.28 seconds: 376.50 ops/second Started LFSCK on the device lustre-MDT0000: scrub layout PASS 9a (57s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 9b: LFSCK speed control (2) ========= 18:11:50 (1715206310) preparing... 0 * 0 files will be created Wed May 8 18:11:58 EDT 2024. prepared Wed May 8 18:11:58 EDT 2024. Preparing another 50 * 50 files (with error) at Wed May 8 18:11:58 EDT 2024. fail_loc=0x1604 total: 50 mkdir in 0.07 seconds: 716.04 ops/second total: 50 create in 0.09 seconds: 547.89 ops/second fail_loc=0x160c Started LFSCK on the device lustre-MDT0000: scrub namespace fail_loc=0 Prepared at Wed May 8 18:12:03 EDT 2024. Started LFSCK on the device lustre-MDT0000: scrub namespace PASS 9b (36s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 10: System is available during LFSCK scanning ========================================================== 18:12:27 (1715206347) preparing... 1 * 1 files will be created Wed May 8 18:12:35 EDT 2024. total: 1 mkdir in 0.00 seconds: 683.00 ops/second total: 1 create in 0.00 seconds: 747.38 ops/second total: 1 mkdir in 0.00 seconds: 813.64 ops/second prepared Wed May 8 18:12:35 EDT 2024. Preparing more files with error at Wed May 8 18:12:35 EDT 2024. fail_loc=0x1603 fail_loc=0x1604 fail_loc=0 Prepared at Wed May 8 18:13:00 EDT 2024. 192.168.204.118@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg418-client.virtnet /mnt/lustre (opts:) Starting client: oleg418-client.virtnet: -o user_xattr,flock oleg418-server@tcp:/lustre /mnt/lustre Started LFSCK on the device lustre-MDT0000: scrub namespace Waiting 32s for 'completed' Updated after 8s: want 'completed' got 'completed' PASS 10 (66s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 11a: LFSCK can rebuild lost last_id ========================================================== 18:13:35 (1715206415) total: 64 open/close in 0.14 seconds: 444.48 ops/second stopall remove LAST_ID on ost1: idx=0 removed '/mnt/lustre-ost1/O/0/LAST_ID' oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 fail_val=3 fail_loc=0x160e trigger LFSCK for layout on ost1 to rebuild the LAST_ID(s) Started LFSCK on the device lustre-OST0000: scrub layout fail_val=0 fail_loc=0 Waiting 32s for 'completed' Updated after 2s: want 'completed' got 'completed' the LAST_ID(s) should have been rebuilt PASS 11a (133s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 11b: LFSCK can rebuild crashed last_id ========================================================== 18:15:50 (1715206550) Checking servers environments Checking clients oleg418-client.virtnet environments Loading modules from /home/green/git/lustre-release/lustre detected 4 online CPUs by sysfs Force libcfs to create 2 CPU partitions loading modules on: 'oleg418-server' oleg418-server: oleg418-server.virtnet: executing load_modules_local oleg418-server: Loading modules from /home/green/git/lustre-release/lustre oleg418-server: detected 4 online CPUs by sysfs oleg418-server: Force libcfs to create 2 CPU partitions Setup mgs, mdt, osts Starting mds1: -o localrecov /dev/mapper/mds1_flakey /mnt/lustre-mds1 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Started lustre-MDT0000 Starting mds2: -o localrecov /dev/mapper/mds2_flakey /mnt/lustre-mds2 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Started lustre-MDT0001 Starting ost1: -o localrecov /dev/mapper/ost1_flakey /mnt/lustre-ost1 oleg418-server: mount.lustre: according to /etc/mtab /dev/mapper/ost1_flakey is already mounted on /mnt/lustre-ost1 pdsh@oleg418-client: oleg418-server: ssh exited with exit code 17 seq.cli-lustre-OST0000-super.width=65536 Start of /dev/mapper/ost1_flakey on ost1 failed 17 Starting ost2: -o localrecov /dev/mapper/ost2_flakey /mnt/lustre-ost2 seq.cli-lustre-OST0001-super.width=65536 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Started lustre-OST0001 Starting client: oleg418-client.virtnet: -o user_xattr,flock oleg418-server@tcp:/lustre /mnt/lustre Starting client oleg418-client.virtnet: -o user_xattr,flock oleg418-server@tcp:/lustre /mnt/lustre Started clients oleg418-client.virtnet: 192.168.204.118@tcp:/lustre on /mnt/lustre type lustre (rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project) Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff8800b58c8000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800b58c8000.idle_timeout=debug disable quota as required set fail_loc=0x160d to skip the updating LAST_ID on-disk fail_loc=0x160d total: 64 open/close in 0.15 seconds: 427.90 ops/second 192.168.204.118@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg418-client.virtnet /mnt/lustre (opts:) Stopping /mnt/lustre-ost1 (opts:) on oleg418-server fail_loc=0x215 Starting ost1: -o localrecov /dev/mapper/ost1_flakey /mnt/lustre-ost1 seq.cli-lustre-OST0000-super.width=65536 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Started lustre-OST0000 the on-disk LAST_ID should be smaller than the expected one trigger LFSCK for layout on ost1 to rebuild the on-disk LAST_ID Started LFSCK on the device lustre-OST0000: scrub layout Stopping /mnt/lustre-ost1 (opts:) on oleg418-server Starting ost1: -o localrecov /dev/mapper/ost1_flakey /mnt/lustre-ost1 seq.cli-lustre-OST0000-super.width=65536 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Started lustre-OST0000 the on-disk LAST_ID should have been rebuilt fail_loc=0 Stopping clients: oleg418-client.virtnet /mnt/lustre (opts:) Stopping clients: oleg418-client.virtnet /mnt/lustre2 (opts:) Stopping /mnt/lustre-mds1 (opts:-f) on oleg418-server Stopping /mnt/lustre-mds2 (opts:-f) on oleg418-server Stopping /mnt/lustre-ost1 (opts:-f) on oleg418-server Stopping /mnt/lustre-ost2 (opts:-f) on oleg418-server PASS 11b (70s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 12a: single command to trigger LFSCK on all devices ========================================================== 18:17:01 (1715206621) Checking servers environments Checking clients oleg418-client.virtnet environments Loading modules from /home/green/git/lustre-release/lustre detected 4 online CPUs by sysfs Force libcfs to create 2 CPU partitions loading modules on: 'oleg418-server' oleg418-server: oleg418-server.virtnet: executing load_modules_local oleg418-server: Loading modules from /home/green/git/lustre-release/lustre oleg418-server: detected 4 online CPUs by sysfs oleg418-server: Force libcfs to create 2 CPU partitions Setup mgs, mdt, osts Starting mds1: -o localrecov /dev/mapper/mds1_flakey /mnt/lustre-mds1 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Started lustre-MDT0000 Starting mds2: -o localrecov /dev/mapper/mds2_flakey /mnt/lustre-mds2 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Started lustre-MDT0001 Starting ost1: -o localrecov /dev/mapper/ost1_flakey /mnt/lustre-ost1 seq.cli-lustre-OST0000-super.width=65536 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Started lustre-OST0000 Starting ost2: -o localrecov /dev/mapper/ost2_flakey /mnt/lustre-ost2 seq.cli-lustre-OST0001-super.width=65536 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Started lustre-OST0001 Starting client: oleg418-client.virtnet: -o user_xattr,flock oleg418-server@tcp:/lustre /mnt/lustre Starting client oleg418-client.virtnet: -o user_xattr,flock oleg418-server@tcp:/lustre /mnt/lustre Started clients oleg418-client.virtnet: 192.168.204.118@tcp:/lustre on /mnt/lustre type lustre (rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project) Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff8800b6341000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800b6341000.idle_timeout=debug disable quota as required total: 100 open/close in 0.26 seconds: 382.65 ops/second total: 100 open/close in 0.26 seconds: 379.46 ops/second Start namespace LFSCK on all targets by single command (-s 1). Started LFSCK on the device lustre-MDT0000: scrub namespace All the LFSCK targets should be in 'scanning-phase1' status. Stop namespace LFSCK on all targets by single lctl command. Stopped LFSCK on the device lustre-MDT0000. All the LFSCK targets should be in 'stopped' status. Re-start namespace LFSCK on all targets by single command (-s 0). Started LFSCK on the device lustre-MDT0000: scrub namespace All the LFSCK targets should be in 'completed' status. debug=-1 debug_mb=150 debug=-1 debug_mb=150 Start layout LFSCK on all targets by single command (-s 1). Started LFSCK on the device lustre-MDT0000: scrub layout All the LFSCK targets should be in 'scanning-phase1' status. Stop layout LFSCK on all targets by single lctl command. Stopped LFSCK on the device lustre-MDT0000. All the LFSCK targets should be in 'stopped' status. Re-start layout LFSCK on all targets by single command (-s 0). Started LFSCK on the device lustre-MDT0000: scrub layout All the LFSCK targets should be in 'completed' status. debug_mb=21 debug_mb=21 debug=super ioctl neterror warning dlmtrace error emerg ha rpctrace vfstrace config console lfsck debug=super ioctl neterror warning dlmtrace error emerg ha rpctrace vfstrace config console lfsck PASS 12a (33s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 12b: auto detect Lustre device ====== 18:17:35 (1715206655) Start LFSCK without '-M' specified. Started LFSCK on the device lustre-MDT0000: scrub layout namespace Start layout LFSCK on the node with multipe targets, but not specify '-M'/'-A' option. Should get failure. oleg418-server: Detect multiple devices on current node. Please specify the device explicitly via '-M' option or '-A' option for all. pdsh@oleg418-client: oleg418-server: ssh exited with exit code 22 PASS 12b (3s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 13: LFSCK can repair crashed lmm_oi ========================================================== 18:17:40 (1715206660) ##### The lmm_oi in layout EA should be consistent with the MDT-object FID; otherwise, the LFSCK should re-generate the lmm_oi from the MDT-object FID. ##### Inject failure stub to simulate bad lmm_oi fail_loc=0x160f total: 1 open/close in 0.01 seconds: 192.87 ops/second fail_loc=0 Trigger layout LFSCK to find out the bad lmm_oi and fix them Started LFSCK on the device lustre-MDT0000: scrub layout PASS 13 (2s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 14a: LFSCK can repair MDT-object with dangling LOV EA reference (1) ========================================================== 18:17:44 (1715206664) ##### The OST-object referenced by the MDT-object should be there; otherwise, the LFSCK should re-create the missing OST-object. without '--delay-create-ostobj' option. ##### Inject failure stub to simulate dangling referenced MDT-object fail_loc=0x1610 total: 61 open/close in 0.14 seconds: 423.72 ops/second touch: setting times of '/mnt/lustre/d14a.sanity-lfsck/guard0': No such file or directory touch: setting times of '/mnt/lustre/d14a.sanity-lfsck/guard1': No such file or directory fail_loc=0 debug=-1 debug_mb=150 debug=-1 debug_mb=150 total: 30 open/close in 0.27 seconds: 113.15 ops/second 'ls' should fail because of dangling referenced MDT-object Trigger layout LFSCK to find out dangling reference Started LFSCK on the device lustre-MDT0000: scrub layout 'stat' should fail because of not repair dangling by default Trigger layout LFSCK to repair dangling reference Started LFSCK on the device lustre-MDT0000: scrub layout 'stat' should success after layout LFSCK repairing debug_mb=21 debug_mb=21 stopall to cleanup object cache setupall oleg418-server: oleg418-server.virtnet: executing load_modules_local oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Using TIMEOUT=20 PASS 14a (67s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 14b: LFSCK can repair MDT-object with dangling LOV EA reference (2) ========================================================== 18:18:52 (1715206732) ##### The OST-object referenced by the MDT-object should be there; otherwise, the LFSCK should re-create the missing OST-object. with '--delay-create-ostobj' option. ##### Inject failure stub to simulate dangling referenced MDT-object fail_loc=0x1610 total: 63 open/close in 0.19 seconds: 340.16 ops/second touch: setting times of '/mnt/lustre/d14b.sanity-lfsck/guard': No such file or directory fail_loc=0 debug=-1 debug_mb=150 debug=-1 debug_mb=150 total: 32 open/close in 0.17 seconds: 186.66 ops/second 'ls' should fail because of dangling referenced MDT-object Trigger layout LFSCK to find out dangling reference Started LFSCK on the device lustre-MDT0000: scrub layout 'stat' should fail because of not repair dangling by default Trigger layout LFSCK to repair dangling reference Started LFSCK on the device lustre-MDT0000: scrub layout 'stat' should success after layout LFSCK repairing debug_mb=21 debug_mb=21 stopall to cleanup object cache setupall libkmod: kmod_module_get_holders: could not open '/sys/module/pcc_cpufreq/holders': No such file or directory oleg418-server: oleg418-server.virtnet: executing load_modules_local oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 oleg418-server: oleg418-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg418-client: oleg418-server: ssh exited with exit code 1 Using TIMEOUT=20 PASS 14b (70s) debug_raw_pointers=0 debug_raw_pointers=0 debug_raw_pointers=Y debug_raw_pointers=Y == sanity-lfsck test 15a: LFSCK can repair unmatched MDT-object/OST-object pairs (1) ========================================================== 18:20:05 (1715206805) ##### If the OST-object referenced by the MDT-object back points to some non-exist MDT-object, then the LFSCK should repair the OST-object to back point to the right MDT-object. ##### Inject failure stub to make the OST-object to back point to non-exist MDT-object. fail_loc=0x1611 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0102979 s, 102 MB/s 257+0 records in 257+0 records out 1052672 bytes (1.1 MB) copied, 0.0726315 s, 14.5 MB/s