-----============= acceptance-small: sanity-lfsck ============----- Wed Nov 13 12:08:48 EST 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 libkmod: kmod_module_get_holders: could not open '/sys/module/acpi_cpufreq/holders': No such file or directory loading modules on: 'oleg133-server' oleg133-server: oleg133-server.virtnet: executing load_modules_local oleg133-server: Loading modules from /home/green/git/lustre-release/lustre oleg133-server: detected 4 online CPUs by sysfs oleg133-server: Force libcfs to create 2 CPU partitions client=34603009 MDS=34603009 OSS=34603009 Stopping clients: oleg133-client.virtnet /mnt/lustre (opts:) Stopping client oleg133-client.virtnet /mnt/lustre opts: Stopping clients: oleg133-client.virtnet /mnt/lustre2 (opts:) Stopping /mnt/lustre-mds1 (opts:-f) on oleg133-server Stopping /mnt/lustre-mds2 (opts:-f) on oleg133-server Stopping /mnt/lustre-ost1 (opts:-f) on oleg133-server Stopping /mnt/lustre-ost2 (opts:-f) on oleg133-server unloading modules via unload_modules_local on: 'oleg133-server' oleg133-server: oleg133-server.virtnet: executing unload_modules_local modules unloaded. === sanity-lfsck: start setup 12:09:34 (1731517774) === Stopping clients: oleg133-client.virtnet /mnt/lustre (opts:-f) Stopping clients: oleg133-client.virtnet /mnt/lustre2 (opts:-f) pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 pdsh@oleg133-client: oleg133-server: ssh exited with exit code 2 oleg133-server: oleg133-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 ptlrpc/ptlrpc options: 'lbug_on_grant_miscount=1' quota/lquota options: 'hash_lqs_cur_bits=3' loading modules on: 'oleg133-server' oleg133-server: oleg133-server.virtnet: executing load_modules_local oleg133-server: Loading modules from /home/green/git/lustre-release/lustre oleg133-server: detected 4 online CPUs by sysfs oleg133-server: Force libcfs to create 2 CPU partitions oleg133-server: ptlrpc/ptlrpc options: 'lbug_on_grant_miscount=1' oleg133-server: quota/lquota options: 'hash_lqs_cur_bits=3' Formatting mgs, mds, osts Format mds1: /dev/vdc pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Format mds2: /dev/vdd pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Format ost1: /dev/vde pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Format ost2: /dev/vdf pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Checking servers environments Checking clients oleg133-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: 'oleg133-server' oleg133-server: oleg133-server.virtnet: executing load_modules_local oleg133-server: Loading modules from /home/green/git/lustre-release/lustre oleg133-server: detected 4 online CPUs by sysfs oleg133-server: Force libcfs to create 2 CPU partitions Setup mgs, mdt, osts pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Starting mds1: -o localrecov /dev/mapper/mds1_flakey /mnt/lustre-mds1 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Commit the device label on /dev/vdc Started lustre-MDT0000 pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Starting mds2: -o localrecov /dev/mapper/mds2_flakey /mnt/lustre-mds2 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Commit the device label on /dev/vdd Started lustre-MDT0001 pdsh@oleg133-client: oleg133-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 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Commit the device label on /dev/vde Started lustre-OST0000 pdsh@oleg133-client: oleg133-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 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Commit the device label on /dev/vdf Started lustre-OST0001 Starting client: oleg133-client.virtnet: -o user_xattr,flock 192.168.201.133@tcp:/lustre /mnt/lustre Starting client oleg133-client.virtnet: -o user_xattr,flock 192.168.201.133@tcp:/lustre /mnt/lustre Started clients oleg133-client.virtnet: 192.168.201.133@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-ffff88012a598800.idle_timeout=debug osc.lustre-OST0001-osc-ffff88012a598800.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 7s: want 'procname_uid' got 'procname_uid' disable quota as required osd-ldiskfs.track_declares_assert=1 === sanity-lfsck: finish setup 12:10:34 (1731517834) === == sanity-lfsck test 0: Control LFSCK manually =========== 12:10:35 (1731517835) preparing... 3 * 3 files will be created Wed Nov 13 12:10:35 EST 2024. total: 3 mkdir in 0.01 seconds: 525.93 ops/second total: 3 create in 0.00 seconds: 784.08 ops/second total: 3 mkdir in 0.00 seconds: 809.97 ops/second prepared Wed Nov 13 12:10:36 EST 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: 1731517835 time_since_latest_start: 1 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: oleg133-client.virtnet /mnt/lustre (opts:) Stopping client oleg133-client.virtnet /mnt/lustre opts: Stopping clients: oleg133-client.virtnet /mnt/lustre2 (opts:) Stopping /mnt/lustre-mds1 (opts:-f) on oleg133-server Stopping /mnt/lustre-mds2 (opts:-f) on oleg133-server Stopping /mnt/lustre-ost1 (opts:-f) on oleg133-server Stopping /mnt/lustre-ost2 (opts:-f) on oleg133-server PASS 0 (39s) == sanity-lfsck test 1a: LFSCK can find out and repair crashed FID-in-dirent ========================================================== 12:11:14 (1731517874) Checking servers environments Checking clients oleg133-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: 'oleg133-server' oleg133-server: oleg133-server.virtnet: executing load_modules_local oleg133-server: Loading modules from /home/green/git/lustre-release/lustre oleg133-server: detected 4 online CPUs by sysfs oleg133-server: Force libcfs to create 2 CPU partitions oleg133-server: libkmod: kmod_module_get_holders: could not open '/sys/module/acpi_cpufreq/holders': No such file or directory Setup mgs, mdt, osts Starting mds1: -o localrecov /dev/mapper/mds1_flakey /mnt/lustre-mds1 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Started lustre-MDT0000 Starting mds2: -o localrecov /dev/mapper/mds2_flakey /mnt/lustre-mds2 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-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 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-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 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Started lustre-OST0001 Starting client: oleg133-client.virtnet: -o user_xattr,flock 192.168.201.133@tcp:/lustre /mnt/lustre Starting client oleg133-client.virtnet: -o user_xattr,flock 192.168.201.133@tcp:/lustre /mnt/lustre Started clients oleg133-client.virtnet: 192.168.201.133@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-ffff8800aaeac000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800aaeac000.idle_timeout=debug disable quota as required preparing... 1 * 1 files will be created Wed Nov 13 12:11:42 EST 2024. total: 1 mkdir in 0.00 seconds: 553.70 ops/second total: 1 create in 0.00 seconds: 740.78 ops/second total: 1 mkdir in 0.00 seconds: 575.98 ops/second prepared Wed Nov 13 12:11:42 EST 2024. fail_loc=0x1501 fail_loc=0 192.168.201.133@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg133-client.virtnet /mnt/lustre (opts:) Started LFSCK on the device lustre-MDT0000: scrub namespace oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Starting client: oleg133-client.virtnet: -o user_xattr,flock 192.168.201.133@tcp:/lustre /mnt/lustre fail_loc=0x1505 fail_loc=0 PASS 1a (41s) == sanity-lfsck test 1b: LFSCK can find out and repair the missing FID-in-LMA ========================================================== 12:11:55 (1731517915) preparing... 1 * 1 files will be created Wed Nov 13 12:11:56 EST 2024. total: 1 mkdir in 0.00 seconds: 635.79 ops/second total: 1 create in 0.00 seconds: 793.02 ops/second total: 1 mkdir in 0.00 seconds: 693.50 ops/second prepared Wed Nov 13 12:11:56 EST 2024. fail_loc=0x1502 fail_loc=0 192.168.201.133@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg133-client.virtnet /mnt/lustre (opts:) fail_loc=0x1506 Started LFSCK on the device lustre-MDT0000: scrub namespace fail_loc=0 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Starting client: oleg133-client.virtnet: -o user_xattr,flock 192.168.201.133@tcp:/lustre /mnt/lustre fail_loc=0x1505 fail_loc=0 PASS 1b (14s) == sanity-lfsck test 1c: LFSCK can find out and repair lost FID-in-dirent ========================================================== 12:12:09 (1731517929) preparing... 1 * 1 files will be created Wed Nov 13 12:12:10 EST 2024. total: 1 mkdir in 0.00 seconds: 756.55 ops/second total: 1 create in 0.00 seconds: 838.19 ops/second total: 1 mkdir in 0.00 seconds: 684.90 ops/second prepared Wed Nov 13 12:12:11 EST 2024. fail_loc=0x1504 fail_loc=0 192.168.201.133@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg133-client.virtnet /mnt/lustre (opts:) Started LFSCK on the device lustre-MDT0000: scrub namespace oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Starting client: oleg133-client.virtnet: -o user_xattr,flock 192.168.201.133@tcp:/lustre /mnt/lustre fail_loc=0x1505 fail_loc=0 PASS 1c (14s) == sanity-lfsck test 2a: LFSCK can find out and repair crashed linkEA entry ========================================================== 12:12:23 (1731517943) preparing... 1 * 1 files will be created Wed Nov 13 12:12:24 EST 2024. total: 1 mkdir in 0.00 seconds: 507.60 ops/second total: 1 create in 0.00 seconds: 566.95 ops/second total: 1 mkdir in 0.00 seconds: 602.02 ops/second prepared Wed Nov 13 12:12:25 EST 2024. fail_loc=0x1603 fail_loc=0 192.168.201.133@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg133-client.virtnet /mnt/lustre (opts:) Started LFSCK on the device lustre-MDT0000: scrub namespace oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Starting client: oleg133-client.virtnet: -o user_xattr,flock 192.168.201.133@tcp:/lustre /mnt/lustre PASS 2a (14s) == sanity-lfsck test 2b: LFSCK can find out and remove invalid linkEA entry ========================================================== 12:12:37 (1731517957) preparing... 1 * 1 files will be created Wed Nov 13 12:12:38 EST 2024. total: 1 mkdir in 0.00 seconds: 617.63 ops/second total: 1 create in 0.00 seconds: 647.27 ops/second total: 1 mkdir in 0.00 seconds: 660.94 ops/second prepared Wed Nov 13 12:12:38 EST 2024. fail_loc=0x1604 fail_loc=0 192.168.201.133@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg133-client.virtnet /mnt/lustre (opts:) Started LFSCK on the device lustre-MDT0000: scrub namespace oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Starting client: oleg133-client.virtnet: -o user_xattr,flock 192.168.201.133@tcp:/lustre /mnt/lustre PASS 2b (14s) == sanity-lfsck test 2c: LFSCK can find out and remove repeated linkEA entry ========================================================== 12:12:51 (1731517971) preparing... 1 * 1 files will be created Wed Nov 13 12:12:51 EST 2024. total: 1 mkdir in 0.00 seconds: 452.26 ops/second total: 1 create in 0.00 seconds: 460.61 ops/second total: 1 mkdir in 0.00 seconds: 459.80 ops/second prepared Wed Nov 13 12:12:52 EST 2024. fail_loc=0x1605 fail_loc=0 192.168.201.133@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg133-client.virtnet /mnt/lustre (opts:) Started LFSCK on the device lustre-MDT0000: scrub namespace oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Starting client: oleg133-client.virtnet: -o user_xattr,flock 192.168.201.133@tcp:/lustre /mnt/lustre PASS 2c (13s) == sanity-lfsck test 2d: LFSCK can recover the missing linkEA entry ========================================================== 12:13:04 (1731517984) preparing... 1 * 1 files will be created Wed Nov 13 12:13:05 EST 2024. total: 1 mkdir in 0.00 seconds: 776.44 ops/second total: 1 create in 0.00 seconds: 885.81 ops/second total: 1 mkdir in 0.00 seconds: 656.18 ops/second prepared Wed Nov 13 12:13:06 EST 2024. fail_loc=0x161d fail_loc=0 192.168.201.133@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg133-client.virtnet /mnt/lustre (opts:) Started LFSCK on the device lustre-MDT0000: scrub namespace oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Starting client: oleg133-client.virtnet: -o user_xattr,flock 192.168.201.133@tcp:/lustre /mnt/lustre PASS 2d (14s) == sanity-lfsck test 2e: namespace LFSCK can verify remote object linkEA ========================================================== 12:13:18 (1731517998) fail_loc=0x1603 fail_loc=0 Started LFSCK on the device lustre-MDT0000: scrub namespace PASS 2e (2s) == sanity-lfsck test 3: LFSCK can verify multiple-linked objects ========================================================== 12:13:20 (1731518000) preparing... 4 * 4 files will be created Wed Nov 13 12:13:21 EST 2024. total: 4 mkdir in 0.01 seconds: 686.58 ops/second total: 4 create in 0.01 seconds: 784.31 ops/second total: 4 mkdir in 0.01 seconds: 733.94 ops/second prepared Wed Nov 13 12:13:22 EST 2024. fail_loc=0x1603 fail_loc=0x1604 fail_loc=0 Started LFSCK on the device lustre-MDT0000: scrub namespace PASS 3 (4s) == sanity-lfsck test 4: FID-in-dirent can be rebuilt after MDT file-level backup/restore ========================================================== 12:13:24 (1731518004) preparing... 3 * 3 files will be created Wed Nov 13 12:13:25 EST 2024. total: 3 mkdir in 0.00 seconds: 720.30 ops/second total: 3 create in 0.00 seconds: 722.70 ops/second total: 3 mkdir in 0.00 seconds: 625.11 ops/second prepared Wed Nov 13 12:13:26 EST 2024. Stopping clients: oleg133-client.virtnet /mnt/lustre (opts:) Stopping client oleg133-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 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-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 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Starting client: oleg133-client.virtnet: -o user_xattr,flock 192.168.201.133@tcp:/lustre /mnt/lustre fail_loc=0x1505 fail_loc=0 PASS 4 (25s) == sanity-lfsck test 5: LFSCK can handle IGIF object upgrading ========================================================== 12:13:49 (1731518029) preparing... 1 * 1 files will be created Wed Nov 13 12:13:49 EST 2024. fail_loc=0x1504 total: 1 mkdir in 0.00 seconds: 387.29 ops/second total: 1 create in 0.00 seconds: 467.07 ops/second total: 1 mkdir in 0.00 seconds: 346.98 ops/second fail_loc=0 prepared Wed Nov 13 12:13:51 EST 2024. Stopping clients: oleg133-client.virtnet /mnt/lustre (opts:) Stopping client oleg133-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 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-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 7s: want 'inconsistent,upgrade' got 'inconsistent,upgrade' fail_loc=0 fail_val=0 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Starting client: oleg133-client.virtnet: -o user_xattr,flock 192.168.201.133@tcp:/lustre /mnt/lustre fail_loc=0x1505 fail_loc=0 PASS 5 (32s) == sanity-lfsck test 6a: LFSCK resumes from last checkpoint (1) ========================================================== 12:14:21 (1731518061) preparing... 5 * 5 files will be created Wed Nov 13 12:14:22 EST 2024. total: 5 mkdir in 0.01 seconds: 772.80 ops/second total: 5 create in 0.01 seconds: 978.47 ops/second total: 5 mkdir in 0.01 seconds: 766.87 ops/second prepared Wed Nov 13 12:14:22 EST 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 (9s) == sanity-lfsck test 6b: LFSCK resumes from last checkpoint (2) ========================================================== 12:14:30 (1731518070) preparing... 5 * 5 files will be created Wed Nov 13 12:14:31 EST 2024. total: 5 mkdir in 0.01 seconds: 831.68 ops/second total: 5 create in 0.01 seconds: 880.60 ops/second total: 5 mkdir in 0.01 seconds: 931.98 ops/second prepared Wed Nov 13 12:14:32 EST 2024. fail_val=1 fail_loc=0x1601 Started LFSCK on the device lustre-MDT0000: scrub namespace fail_loc=0x80001609 Waiting 32s for 'failed' Updated after 2s: want 'failed' got '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: 1731518068 time_since_last_completed: 12 seconds latest_start_time: 1731518079 time_since_latest_start: 1 seconds last_checkpoint_time: 1731518077 time_since_last_checkpoint: 3 seconds latest_start_position: 20008, [0x2000061c1:0x77:0x0], 0x386bb720115276e last_checkpoint_position: 20006, [0x2000061c1:0x77:0x0], 0x2f88064e79f108b 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: 7 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: 20007, [0x2000061c1:0x77:0x0], 0x386bb720115276e fail_loc=0 fail_val=0 PASS 6b (12s) == sanity-lfsck test 7a: non-stopped LFSCK should auto restarts after MDS remount (1) ========================================================== 12:14:42 (1731518082) preparing... 5 * 5 files will be created Wed Nov 13 12:14:43 EST 2024. total: 5 mkdir in 0.01 seconds: 871.09 ops/second total: 5 create in 0.01 seconds: 958.96 ops/second total: 5 mkdir in 0.01 seconds: 871.05 ops/second prepared Wed Nov 13 12:14:44 EST 2024. 192.168.201.133@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg133-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 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Waiting 30s for 'completed' Updated after 4s: want 'completed' got 'completed' PASS 7a (15s) == sanity-lfsck test 7b: non-stopped LFSCK should auto restarts after MDS remount (2) ========================================================== 12:14:57 (1731518097) Checking servers environments Checking clients oleg133-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/acpi_cpufreq/holders': No such file or directory loading modules on: 'oleg133-server' oleg133-server: oleg133-server.virtnet: executing load_modules_local oleg133-server: Loading modules from /home/green/git/lustre-release/lustre oleg133-server: detected 4 online CPUs by sysfs oleg133-server: Force libcfs to create 2 CPU partitions Setup mgs, mdt, osts Starting mds1: -o localrecov /dev/mapper/mds1_flakey /mnt/lustre-mds1 oleg133-server: mount.lustre: according to /etc/mtab /dev/mapper/mds1_flakey is already mounted on /mnt/lustre-mds1 pdsh@oleg133-client: oleg133-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 oleg133-server: mount.lustre: according to /etc/mtab /dev/mapper/mds2_flakey is already mounted on /mnt/lustre-mds2 pdsh@oleg133-client: oleg133-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 oleg133-server: mount.lustre: according to /etc/mtab /dev/mapper/ost1_flakey is already mounted on /mnt/lustre-ost1 pdsh@oleg133-client: oleg133-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 oleg133-server: mount.lustre: according to /etc/mtab /dev/mapper/ost2_flakey is already mounted on /mnt/lustre-ost2 pdsh@oleg133-client: oleg133-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: oleg133-client.virtnet: -o user_xattr,flock 192.168.201.133@tcp:/lustre /mnt/lustre Starting client oleg133-client.virtnet: -o user_xattr,flock 192.168.201.133@tcp:/lustre /mnt/lustre Started clients oleg133-client.virtnet: 192.168.201.133@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-ffff8800b5d54800.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800b5d54800.idle_timeout=debug disable quota as required preparing... 2 * 2 files will be created Wed Nov 13 12:15:17 EST 2024. total: 2 mkdir in 0.00 seconds: 625.36 ops/second total: 2 create in 0.00 seconds: 667.09 ops/second total: 2 mkdir in 0.00 seconds: 695.40 ops/second prepared Wed Nov 13 12:15:17 EST 2024. fail_loc=0x1604 fail_val=1 fail_loc=0x1602 Started LFSCK on the device lustre-MDT0000: scrub namespace 192.168.201.133@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg133-client.virtnet /mnt/lustre (opts:) stop mds1 fail_loc=0 fail_val=0 start mds1 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Waiting 30s for 'completed' Updated after 4s: want 'completed' got 'completed' PASS 7b (32s) == sanity-lfsck test 8: LFSCK state machine ============== 12:15:29 (1731518129) formatall oleg133-server: oleg133-server.virtnet: executing set_hostid oleg133-server: oleg133-server.virtnet: executing load_modules_local setupall oleg133-server: oleg133-server.virtnet: executing load_modules_local oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Using TIMEOUT=20 preparing... 20 * 20 files will be created Wed Nov 13 12:16:37 EST 2024. total: 20 mkdir in 0.02 seconds: 908.23 ops/second total: 20 create in 0.02 seconds: 929.33 ops/second total: 20 mkdir in 0.02 seconds: 899.56 ops/second prepared Wed Nov 13 12:16:38 EST 2024. fail_loc=0x1603 fail_loc=0x1604 192.168.201.133@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg133-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' Updated after 2s: want 'failed' got 'failed' fail_loc=0x1600 Started LFSCK on the device lustre-MDT0000: scrub namespace fail_loc=0x160a stop mds1 fail_loc=0x160b start mds1 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-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 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 stop mds1 start mds1 without resume LFSCK oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-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 (103s) == sanity-lfsck test 9a: LFSCK speed control (1) ========= 12:17:12 (1731518232) Checking servers environments Checking clients oleg133-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/pcc_cpufreq/holders': No such file or directory libkmod: kmod_module_get_holders: could not open '/sys/module/acpi_cpufreq/holders': No such file or directory loading modules on: 'oleg133-server' oleg133-server: oleg133-server.virtnet: executing load_modules_local oleg133-server: Loading modules from /home/green/git/lustre-release/lustre oleg133-server: detected 4 online CPUs by sysfs oleg133-server: Force libcfs to create 2 CPU partitions Setup mgs, mdt, osts Starting mds1: -o localrecov /dev/mapper/mds1_flakey /mnt/lustre-mds1 oleg133-server: mount.lustre: according to /etc/mtab /dev/mapper/mds1_flakey is already mounted on /mnt/lustre-mds1 pdsh@oleg133-client: oleg133-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 oleg133-server: mount.lustre: according to /etc/mtab /dev/mapper/mds2_flakey is already mounted on /mnt/lustre-mds2 pdsh@oleg133-client: oleg133-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 oleg133-server: mount.lustre: according to /etc/mtab /dev/mapper/ost1_flakey is already mounted on /mnt/lustre-ost1 pdsh@oleg133-client: oleg133-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 oleg133-server: mount.lustre: according to /etc/mtab /dev/mapper/ost2_flakey is already mounted on /mnt/lustre-ost2 pdsh@oleg133-client: oleg133-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: oleg133-client.virtnet: -o user_xattr,flock 192.168.201.133@tcp:/lustre /mnt/lustre Starting client oleg133-client.virtnet: -o user_xattr,flock 192.168.201.133@tcp:/lustre /mnt/lustre Started clients oleg133-client.virtnet: 192.168.201.133@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-ffff8800b638b000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800b638b000.idle_timeout=debug disable quota as required total: 5000 open/close in 8.78 seconds: 569.19 ops/second Started LFSCK on the device lustre-MDT0000: scrub layout PASS 9a (57s) == sanity-lfsck test 9b: LFSCK speed control (2) ========= 12:18:09 (1731518289) preparing... 0 * 0 files will be created Wed Nov 13 12:18:18 EST 2024. prepared Wed Nov 13 12:18:19 EST 2024. Preparing another 50 * 50 files (with error) at Wed Nov 13 12:18:19 EST 2024. fail_loc=0x1604 total: 50 mkdir in 0.06 seconds: 805.22 ops/second total: 50 create in 0.06 seconds: 897.97 ops/second fail_loc=0x160c Started LFSCK on the device lustre-MDT0000: scrub namespace fail_loc=0 Prepared at Wed Nov 13 12:18:24 EST 2024. Started LFSCK on the device lustre-MDT0000: scrub namespace PASS 9b (40s) == sanity-lfsck test 10: System is available during LFSCK scanning ========================================================== 12:18:49 (1731518329) preparing... 1 * 1 files will be created Wed Nov 13 12:19:02 EST 2024. total: 1 mkdir in 0.00 seconds: 364.18 ops/second total: 1 create in 0.00 seconds: 381.23 ops/second total: 1 mkdir in 0.00 seconds: 412.70 ops/second prepared Wed Nov 13 12:19:03 EST 2024. Preparing more files with error at Wed Nov 13 12:19:03 EST 2024. fail_loc=0x1603 fail_loc=0x1604 fail_loc=0 Prepared at Wed Nov 13 12:19:27 EST 2024. 192.168.201.133@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg133-client.virtnet /mnt/lustre (opts:) Starting client: oleg133-client.virtnet: -o user_xattr,flock 192.168.201.133@tcp:/lustre /mnt/lustre Started LFSCK on the device lustre-MDT0000: scrub namespace Waiting 32s for 'completed' Updated after 7s: want 'completed' got 'completed' PASS 10 (73s) == sanity-lfsck test 11a: LFSCK can rebuild lost last_id ========================================================== 12:20:02 (1731518402) total: 64 open/close in 0.14 seconds: 454.56 ops/second stopall remove LAST_ID on ost1: idx=0 removed '/mnt/lustre-ost1/O/0/LAST_ID' oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-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 3s: want 'completed' got 'completed' the LAST_ID(s) should have been rebuilt PASS 11a (138s) == sanity-lfsck test 11b: LFSCK can rebuild crashed last_id ========================================================== 12:22:20 (1731518540) Checking servers environments Checking clients oleg133-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/pcc_cpufreq/holders': No such file or directory loading modules on: 'oleg133-server' oleg133-server: oleg133-server.virtnet: executing load_modules_local oleg133-server: Loading modules from /home/green/git/lustre-release/lustre oleg133-server: detected 4 online CPUs by sysfs oleg133-server: Force libcfs to create 2 CPU partitions Setup mgs, mdt, osts Starting mds1: -o localrecov /dev/mapper/mds1_flakey /mnt/lustre-mds1 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Started lustre-MDT0000 Starting mds2: -o localrecov /dev/mapper/mds2_flakey /mnt/lustre-mds2 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Started lustre-MDT0001 Starting ost1: -o localrecov /dev/mapper/ost1_flakey /mnt/lustre-ost1 oleg133-server: mount.lustre: according to /etc/mtab /dev/mapper/ost1_flakey is already mounted on /mnt/lustre-ost1 pdsh@oleg133-client: oleg133-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 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Started lustre-OST0001 Starting client: oleg133-client.virtnet: -o user_xattr,flock 192.168.201.133@tcp:/lustre /mnt/lustre Starting client oleg133-client.virtnet: -o user_xattr,flock 192.168.201.133@tcp:/lustre /mnt/lustre Started clients oleg133-client.virtnet: 192.168.201.133@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-ffff8800aacf2800.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800aacf2800.idle_timeout=debug disable quota as required set fail_loc=0x160d to skip the updating LAST_ID on-disk fail_loc=0x160d - precreated_ost_obj_count lustre-OST0000-osc-MDT0000 prealloc_last_id: 3265 prealloc_next_id: 3234 count: 32 total: 64 open/close in 0.16 seconds: 403.89 ops/second 192.168.201.133@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg133-client.virtnet /mnt/lustre (opts:) Stopping /mnt/lustre-ost1 (opts:) on oleg133-server fail_loc=0x215 Starting ost1: -o localrecov /dev/mapper/ost1_flakey /mnt/lustre-ost1 seq.cli-lustre-OST0000-super.width=65536 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-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 oleg133-server Starting ost1: -o localrecov /dev/mapper/ost1_flakey /mnt/lustre-ost1 seq.cli-lustre-OST0000-super.width=65536 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Started lustre-OST0000 the on-disk LAST_ID should have been rebuilt fail_loc=0 Stopping clients: oleg133-client.virtnet /mnt/lustre (opts:) Stopping clients: oleg133-client.virtnet /mnt/lustre2 (opts:) Stopping /mnt/lustre-mds1 (opts:-f) on oleg133-server Stopping /mnt/lustre-mds2 (opts:-f) on oleg133-server Stopping /mnt/lustre-ost1 (opts:-f) on oleg133-server Stopping /mnt/lustre-ost2 (opts:-f) on oleg133-server PASS 11b (67s) == sanity-lfsck test 12a: single command to trigger LFSCK on all devices ========================================================== 12:23:27 (1731518607) Checking servers environments Checking clients oleg133-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: 'oleg133-server' oleg133-server: oleg133-server.virtnet: executing load_modules_local oleg133-server: Loading modules from /home/green/git/lustre-release/lustre oleg133-server: detected 4 online CPUs by sysfs oleg133-server: Force libcfs to create 2 CPU partitions Setup mgs, mdt, osts Starting mds1: -o localrecov /dev/mapper/mds1_flakey /mnt/lustre-mds1 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Started lustre-MDT0000 Starting mds2: -o localrecov /dev/mapper/mds2_flakey /mnt/lustre-mds2 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-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 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-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 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Started lustre-OST0001 Starting client: oleg133-client.virtnet: -o user_xattr,flock 192.168.201.133@tcp:/lustre /mnt/lustre Starting client oleg133-client.virtnet: -o user_xattr,flock 192.168.201.133@tcp:/lustre /mnt/lustre Started clients oleg133-client.virtnet: 192.168.201.133@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-ffff8800aaeac000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800aaeac000.idle_timeout=debug disable quota as required total: 100 open/close in 0.24 seconds: 411.90 ops/second total: 100 open/close in 0.24 seconds: 420.65 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 PASS 12a (33s) == sanity-lfsck test 12b: auto detect Lustre device ====== 12:24:00 (1731518640) 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. oleg133-server: Detect multiple devices on current node. Please specify the device explicitly via '-M' option or '-A' option for all. pdsh@oleg133-client: oleg133-server: ssh exited with exit code 22 PASS 12b (3s) == sanity-lfsck test 13: LFSCK can repair crashed lmm_oi ========================================================== 12:24:03 (1731518643) ##### 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: 170.79 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 (3s) == sanity-lfsck test 14a: LFSCK can repair MDT-object with dangling LOV EA reference (1) ========================================================== 12:24:06 (1731518646) ##### 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 - precreated_ost_obj_count lustre-OST0000-osc-MDT0000 prealloc_last_id: 3425 prealloc_next_id: 3381 count: 45 total: 61 open/close in 0.14 seconds: 427.98 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 - precreated_ost_obj_count lustre-OST0000-osc-MDT0000 prealloc_last_id: 3489 prealloc_next_id: 3460 count: 30 total: 30 open/close in 0.15 seconds: 193.55 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 oleg133-server: oleg133-server.virtnet: executing load_modules_local oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Using TIMEOUT=20 PASS 14a (65s) == sanity-lfsck test 14b: LFSCK can repair MDT-object with dangling LOV EA reference (2) ========================================================== 12:25:11 (1731518711) ##### 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 - precreated_ost_obj_count lustre-OST0000-osc-MDT0000 prealloc_last_id: 3553 prealloc_next_id: 3522 count: 32 total: 63 open/close in 0.17 seconds: 369.34 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 - precreated_ost_obj_count lustre-OST0000-osc-MDT0000 prealloc_last_id: 3617 prealloc_next_id: 3586 count: 32 total: 32 open/close in 0.16 seconds: 205.48 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 oleg133-server: oleg133-server.virtnet: executing load_modules_local oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 oleg133-server: oleg133-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg133-client: oleg133-server: ssh exited with exit code 1 Using TIMEOUT=20 PASS 14b (127s) == sanity-lfsck test 15a: LFSCK can repair unmatched MDT-object/OST-object pairs (1) ========================================================== 12:27:18 (1731518838) ##### 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.0195661 s, 53.6 MB/s 257+0 records in 257+0 records out 1052672 bytes (1.1 MB) copied, 0.0819697 s, 12.8 MB/s fail_loc=0 Trigger layout LFSCK to find out unmatched pairs and fix them Started LFSCK on the device lustre-MDT0000: scrub layout PASS 15a (3s) == sanity-lfsck test 15b: LFSCK can repair unmatched MDT-object/OST-object pairs (2) ========================================================== 12:27:22 (1731518842) ##### If the OST-object referenced by the MDT-object back points to other MDT-object that doesn't recognize the OST-object, then the LFSCK should repair it to back point to the right MDT-object (the first one). #####