== sanity-lfsck test 18h: LFSCK can repair crashed PFL extent range ========================================================== 11:49:32 (1772470172) ##### The PFL extent crashed. During the first cycle LFSCK scanning, the layout LFSCK will keep the bad PFL file(s) there without scanning its OST-object(s). Then in the second stage scanning, the OST will return related OST-object(s) to the MDT as orphan. And then the LFSCK on the MDT can rebuild the PFL extent with the 'orphan(s)' stripe information. ##### 0+1 records in 0+1 records out 310466 bytes (310 kB, 303 KiB) copied, 0.0166249 s, 18.7 MB/s Inject failure stub to simulate bad PFL extent range fail_loc=0x162f fail_loc=0 dd: error writing '/mnt/lustre/d18h.sanity-lfsck/f0': No data available 1+0 records in 0+0 records out 0 bytes copied, 0.0479438 s, 0.0 kB/s Trigger layout LFSCK to find out the bad lmm_oi and fix them Started LFSCK on the device lustre-MDT0000: scrub layout sanity-lfsck test_18h: @@@@@@ FAIL: (5) Fail to repair crashed PFL range: 3 Trace dump: = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7317:error() = /home/green/git/lustre-release/lustre/tests/sanity-lfsck.sh:3138:test_18h() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7693:run_one() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7756:run_one_logged() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7571:run_test() = /home/green/git/lustre-release/lustre/tests/sanity-lfsck.sh:3148:main() Dumping lctl log to /tmp/testlogs//sanity-lfsck.test_18h.*.1772470188.log rsync: chown "/tmp/testlogs/.sanity-lfsck.test_18h.debug_log.oleg129-server.1772470188.log.WZrYSN" failed: Operation not permitted (1) rsync: chown "/tmp/testlogs/.sanity-lfsck.test_18h.dmesg.oleg129-server.1772470188.log.wgFV9q" failed: Operation not permitted (1) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1668) [generator=3.1.3]