== conf-sanity test 69: replace an OST with the same index ========================================================== 22:12:47 (1789351967) start mds service on oleg257-server /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 1048: echo: write error: Device or resource busy Loading modules from /home/green/git/lustre-release/lustre detected 4 online CPUs by sysfs MODOPTS_LIBCFS= Force libcfs to create 2 CPU partitions ptlrpc/ptlrpc options: 'lbug_on_grant_miscount=1' quota/lquota options: 'hash_lqs_cur_bits=3' mdt/mdt options: 'mdt_enable_flr_ec=1' ln: failed to create symbolic link '/sbin/.libs': Read-only file system loading modules on: 'oleg257-server' oleg257-server: oleg257-server.virtnet: executing load_modules_local oleg257-server: Loading modules from /home/green/git/lustre-release/lustre oleg257-server: /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 1048: echo: write error: Device or resource busy oleg257-server: detected 4 online CPUs by sysfs oleg257-server: MODOPTS_LIBCFS= oleg257-server: Force libcfs to create 2 CPU partitions oleg257-server: ptlrpc/ptlrpc options: 'lbug_on_grant_miscount=1' oleg257-server: quota/lquota options: 'hash_lqs_cur_bits=3' oleg257-server: mdt/mdt options: 'mdt_enable_flr_ec=1' Start mds1: mount -t lustre -o localrecov /dev/mapper/mds1_flakey /mnt/lustre-mds1 oleg257-server: oleg257-server.virtnet: executing set_default_debug -1 all pdsh@oleg257-client: oleg257-server: ssh exited with exit code 1 Started lustre-MDT0000 start mds service on oleg257-server Start mds2: mount -t lustre -o localrecov /dev/mapper/mds2_flakey /mnt/lustre-mds2 oleg257-server: oleg257-server.virtnet: executing set_default_debug -1 all pdsh@oleg257-client: oleg257-server: ssh exited with exit code 1 Started lustre-MDT0001 oleg257-client.virtnet: executing wait_import_state_mount FULL mdc.lustre-MDT0000-mdc-*.mds_server_uuid 1475 0 oleg257-client.virtnet: executing wait_import_state_mount FULL mdc.lustre-MDT0001-mdc-*.mds_server_uuid 1475 0 start ost1 service on oleg257-server Start ost1: mount -t lustre -o localrecov /dev/mapper/ost1_flakey /mnt/lustre-ost1 seq.cli-lustre-OST0000-super.width=65536 oleg257-server: oleg257-server.virtnet: executing set_default_debug -1 all pdsh@oleg257-client: oleg257-server: ssh exited with exit code 1 Started lustre-OST0000 oleg257-client.virtnet: executing wait_import_state_mount (FULL|IDLE) osc.lustre-OST0000-osc-[-0-9a-f]*.ost_server_uuid 1475 0 mount lustre on /mnt/lustre..... Starting client: oleg257-client.virtnet: -o user_xattr,flock 192.168.202.157@tcp:/lustre /mnt/lustre seq.cli-lustre-OST0000-super.width=0x1ffffff On OST0, 49503 inodes available. Want 99872. rc=0 - open/close 921 (time 1789352061.96 total 10.00 last 92.08) - open/close 2027 (time 1789352071.96 total 20.00 last 110.58) - open/close 3066 (time 1789352081.97 total 30.01 last 103.86) - open/close 4165 (time 1789352091.97 total 40.01 last 109.87) - open/close 5194 (time 1789352101.97 total 50.01 last 102.87) - open/close 6229 (time 1789352111.97 total 60.02 last 103.49) - open/close 7276 (time 1789352121.98 total 70.02 last 104.63) - open/close 8233 (time 1789352131.98 total 80.02 last 95.69) - open/close 9230 (time 1789352141.99 total 90.03 last 99.66) total: 10000 open/close in 97.19 seconds: 102.89 ops/second - unlinked 0 (time 1789352151 ; total 0 ; last 0) total: 10000 unlinks in 54 seconds: 185.185181 unlinks/second - open/close 1028 (time 1789352217.56 total 10.00 last 102.76) - open/close 2030 (time 1789352227.57 total 20.01 last 100.12) - open/close 3010 (time 1789352237.58 total 30.02 last 97.91) - open/close 3929 (time 1789352247.58 total 40.02 last 91.87) - open/close 4969 (time 1789352257.59 total 50.03 last 103.92) - open/close 5937 (time 1789352267.60 total 60.05 last 96.64) - open/close 6851 (time 1789352277.62 total 70.06 last 91.26) - open/close 7847 (time 1789352287.62 total 80.07 last 99.57) - open/close 8927 (time 1789352297.63 total 90.08 last 107.89) total: 10000 open/close in 99.95 seconds: 100.05 ops/second - unlinked 0 (time 1789352310 ; total 0 ; last 0) total: 10000 unlinks in 55 seconds: 181.818176 unlinks/second - open/close 992 (time 1789352378.47 total 10.00 last 99.18) - open/close 2009 (time 1789352388.48 total 20.01 last 101.63) - open/close 3094 (time 1789352398.48 total 30.01 last 108.47) - open/close 4168 (time 1789352408.48 total 40.01 last 107.39) - open/close 5268 (time 1789352418.49 total 50.02 last 109.96) - open/close 6301 (time 1789352428.49 total 60.02 last 103.24) - open/close 7343 (time 1789352438.50 total 70.03 last 104.15) - open/close 8362 (time 1789352448.50 total 80.03 last 101.89) - open/close 9365 (time 1789352458.50 total 90.03 last 100.26) total: 10000 open/close in 96.09 seconds: 104.07 ops/second - unlinked 0 (time 1789352467 ; total 0 ; last 0) total: 10000 unlinks in 53 seconds: 188.679245 unlinks/second - open/close 1104 (time 1789352532.94 total 10.00 last 110.36) - open/close 2157 (time 1789352542.95 total 20.01 last 105.19) - open/close 3190 (time 1789352552.95 total 30.01 last 103.29) - open/close 4346 (time 1789352562.95 total 40.02 last 115.55) - open/close 5518 (time 1789352572.95 total 50.02 last 117.18) - open/close 6591 (time 1789352582.96 total 60.03 last 107.19) - open/close 7814 (time 1789352592.96 total 70.03 last 122.27) - open/close 8951 (time 1789352602.97 total 80.04 last 113.58) total: 10000 open/close in 89.97 seconds: 111.15 ops/second - unlinked 0 (time 1789352615 ; total 0 ; last 0) total: 10000 unlinks in 49 seconds: 204.081635 unlinks/second - open/close 1203 (time 1789352677.33 total 10.00 last 120.24) - open/close 2277 (time 1789352687.34 total 20.01 last 107.36) - open/close 3312 (time 1789352697.35 total 30.02 last 103.41) - open/close 4506 (time 1789352707.35 total 40.03 last 119.30) - open/close 5678 (time 1789352717.36 total 50.03 last 117.14) - open/close 6862 (time 1789352727.36 total 60.04 last 118.34) - open/close 7905 (time 1789352737.37 total 70.04 last 104.29) - open/close 8950 (time 1789352747.37 total 80.04 last 104.45) total: 10000 open/close in 89.29 seconds: 111.99 ops/second - unlinked 0 (time 1789352759 ; total 0 ; last 0) total: 10000 unlinks in 50 seconds: 200.000000 unlinks/second - open/close 657 (time 1789352823.12 total 10.01 last 65.63) - open/close 976 (time 1789352834.52 total 21.41 last 27.98) - open/close 1371 (time 1789352844.53 total 31.42 last 39.48) - open/close 1680 (time 1789352854.57 total 41.46 last 30.77) - open/close 1991 (time 1789352864.59 total 51.48 last 31.04) - open/close 2385 (time 1789352874.61 total 61.50 last 39.34) - open/close 2859 (time 1789352884.63 total 71.52 last 47.31) - open/close 3711 (time 1789352894.63 total 81.52 last 85.16) - open/close 4465 (time 1789352904.65 total 91.54 last 75.23) - open/close 5270 (time 1789352914.66 total 101.55 last 80.46) - open/close 6086 (time 1789352924.66 total 111.55 last 81.58) - open/close 6856 (time 1789352934.66 total 121.55 last 76.96) - open/close 7708 (time 1789352944.67 total 131.56 last 85.15) - open/close 8554 (time 1789352954.67 total 141.56 last 84.58) - open/close 9395 (time 1789352964.67 total 151.56 last 84.09) total: 10000 open/close in 158.58 seconds: 63.06 ops/second - unlinked 0 (time 1789352975 ; total 0 ; last 0) total: 10000 unlinks in 68 seconds: 147.058823 unlinks/second - open/close 859 (time 1789353056.77 total 10.00 last 85.88) - open/close 1614 (time 1789353066.79 total 20.02 last 75.37) - open/close 2444 (time 1789353076.80 total 30.03 last 82.94) - open/close 3241 (time 1789353086.81 total 40.03 last 79.64) - open/close 3917 (time 1789353096.81 total 50.04 last 67.57) - open/close 4749 (time 1789353106.83 total 60.06 last 83.07) - open/close 5493 (time 1789353116.84 total 70.06 last 74.34) - open/close 6258 (time 1789353126.84 total 80.07 last 76.46) - open/close 7086 (time 1789353136.84 total 90.07 last 82.78) - open/close 7941 (time 1789353146.85 total 100.08 last 85.43) - open/close 8804 (time 1789353156.86 total 110.09 last 86.23) - open/close 9538 (time 1789353166.86 total 120.09 last 73.40) total: 10000 open/close in 126.52 seconds: 79.04 ops/second - unlinked 0 (time 1789353178 ; total 0 ; last 0) total: 10000 unlinks in 69 seconds: 144.927536 unlinks/second - open/close 840 (time 1789353261.66 total 10.01 last 83.91) - open/close 1778 (time 1789353271.67 total 20.02 last 93.74) - open/close 2767 (time 1789353281.67 total 30.02 last 98.84) - open/close 3680 (time 1789353291.69 total 40.04 last 91.14) - open/close 4673 (time 1789353301.70 total 50.05 last 99.24) - open/close 5737 (time 1789353311.70 total 60.05 last 106.37) - open/close 6863 (time 1789353321.70 total 70.06 last 112.53) - open/close 7998 (time 1789353331.71 total 80.07 last 113.39) - open/close 9193 (time 1789353341.71 total 90.07 last 119.50) total: 10000 open/close in 97.79 seconds: 102.26 ops/second - unlinked 0 (time 1789353352 ; total 0 ; last 0) total: 10000 unlinks in 46 seconds: 217.391312 unlinks/second - open/close 1167 (time 1789353411.59 total 10.01 last 116.60) - open/close 2272 (time 1789353421.60 total 20.02 last 110.40) - open/close 3360 (time 1789353431.61 total 30.02 last 108.73) - open/close 4458 (time 1789353441.61 total 40.03 last 109.77) - open/close 5696 (time 1789353451.62 total 50.03 last 123.74) - open/close 6866 (time 1789353461.62 total 60.04 last 116.94) - open/close 7973 (time 1789353471.62 total 70.04 last 110.67) - open/close 9315 (time 1789353481.63 total 80.04 last 134.15) total: 10000 open/close in 84.71 seconds: 118.05 ops/second - unlinked 0 (time 1789353488 ; total 0 ; last 0) total: 10000 unlinks in 35 seconds: 285.714294 unlinks/second - open/close 1581 (time 1789353535.25 total 10.00 last 158.06) - open/close 3001 (time 1789353545.25 total 20.00 last 141.99) - open/close 4838 (time 1789353555.26 total 30.01 last 183.62) - open/close 6441 (time 1789353565.26 total 40.01 last 160.19) - open/close 7868 (time 1789353575.27 total 50.02 last 142.68) - open/close 9302 (time 1789353585.27 total 60.02 last 143.35) total: 10000 open/close in 63.54 seconds: 157.37 ops/second - unlinked 0 (time 1789353590 ; total 0 ; last 0) total: 10000 unlinks in 33 seconds: 303.030304 unlinks/second rm: missing operand Try 'rm --help' for more information. umount lustre on /mnt/lustre..... Stopping client oleg257-client.virtnet /mnt/lustre (opts:) stop ost1 service on oleg257-server Stopping /mnt/lustre-ost1 (opts:-f) on oleg257-server Permanent disk data: Device: /dev/mapper/ost1_flakey Target: lustre-OST0000 Index: 0 Lustre FS: lustre Mount type: ldiskfs Flags: 0x42 (OST update ) Persistent mount opts: errors=remount-ro Parameters: mgsnode=192.168.202.157@tcp sys.timeout=20 device size = 4096MB formatting backing filesystem ldiskfs on /dev/mapper/ost1_flakey target name lustre-OST0000 kilobytes 200000 options -b 4096 -I 512 -q -O uninit_bg,extents,dir_nlink,quota,project,huge_file,large_dir,^fast_commit,flex_bg -G 256 -E lazy_itable_init,resize="4290772992",lazy_journal_init,packed_meta_blocks -F mkfs_cmd = mke2fs -j -b 4096 -L lustre-OST0000 -b 4096 -I 512 -q -O uninit_bg,extents,dir_nlink,quota,project,huge_file,large_dir,^fast_commit,flex_bg -G 256 -E lazy_itable_init,resize="4290772992",lazy_journal_init,packed_meta_blocks -F /dev/mapper/ost1_flakey 200000k start ost1 service on oleg257-server Start ost1: mount -t lustre -o localrecov /dev/mapper/ost1_flakey /mnt/lustre-ost1 seq.cli-lustre-OST0000-super.width=65536 oleg257-server: oleg257-server.virtnet: executing set_default_debug -1 all pdsh@oleg257-client: oleg257-server: ssh exited with exit code 1 Started lustre-OST0000 oleg257-client.virtnet: executing wait_import_state_mount (FULL|IDLE) osc.lustre-OST0000-osc-[-0-9a-f]*.ost_server_uuid 1475 0 oleg257-server: oleg257-server.virtnet: executing wait_import_state FULL os[cp].lustre-OST0000-osc-MDT0000.ost_server_uuid 50 oleg257-server: os[cp].lustre-OST0000-osc-MDT0000.ost_server_uuid in FULL state after 11 sec oleg257-server: oleg257-server.virtnet: executing wait_import_state FULL os[cp].lustre-OST0000-osc-MDT0001.ost_server_uuid 50 oleg257-server: os[cp].lustre-OST0000-osc-MDT0001.ost_server_uuid in FULL state after 0 sec mount lustre on /mnt/lustre..... Starting client: oleg257-client.virtnet: -o user_xattr,flock 192.168.202.157@tcp:/lustre /mnt/lustre On OST0, 14452 used inodes rc=0 pdsh@oleg257-client: oleg257-server: ssh exited with exit code 22 umount lustre on /mnt/lustre..... Stopping client oleg257-client.virtnet /mnt/lustre (opts:) stop ost1 service on oleg257-server Stopping /mnt/lustre-ost1 (opts:-f) on oleg257-server Permanent disk data: Device: /dev/mapper/ost1_flakey Target: lustre:OST0000 Index: 0 Lustre FS: lustre Mount type: ldiskfs Flags: 0x62 (OST first_time update ) Persistent mount opts: errors=remount-ro Parameters: mgsnode=192.168.202.157@tcp sys.timeout=20 device size = 4096MB formatting backing filesystem ldiskfs on /dev/mapper/ost1_flakey target name lustre:OST0000 kilobytes 200000 options -b 4096 -I 512 -q -O uninit_bg,extents,dir_nlink,quota,project,huge_file,large_dir,^fast_commit,flex_bg -G 256 -E lazy_itable_init,resize="4290772992",lazy_journal_init,packed_meta_blocks -F mkfs_cmd = mke2fs -j -b 4096 -L lustre:OST0000 -b 4096 -I 512 -q -O uninit_bg,extents,dir_nlink,quota,project,huge_file,large_dir,^fast_commit,flex_bg -G 256 -E lazy_itable_init,resize="4290772992",lazy_journal_init,packed_meta_blocks -F /dev/mapper/ost1_flakey 200000k checking for existing Lustre data: found Read previous values: Device: /dev/mapper/ost1_flakey Target: lustre-OST0000 Index: 0 Lustre FS: lustre Mount type: ldiskfs Flags: 0x62 (OST first_time update ) Persistent mount opts: errors=remount-ro Parameters: mgsnode=192.168.202.157@tcp sys.timeout=20 Permanent disk data: Device: /dev/mapper/ost1_flakey Target: lustre-OST0000 Index: 0 Lustre FS: lustre Mount type: ldiskfs Flags: 0x42 (OST update ) Persistent mount opts: errors=remount-ro Parameters: mgsnode=192.168.202.157@tcp sys.timeout=20 start ost1 service on oleg257-server Start ost1: mount -t lustre -o localrecov /dev/mapper/ost1_flakey /mnt/lustre-ost1 seq.cli-lustre-OST0000-super.width=65536 oleg257-server: oleg257-server.virtnet: executing set_default_debug -1 all pdsh@oleg257-client: oleg257-server: ssh exited with exit code 1 Started lustre-OST0000 oleg257-client.virtnet: executing wait_import_state_mount (FULL|IDLE) osc.lustre-OST0000-osc-[-0-9a-f]*.ost_server_uuid 1475 0 oleg257-server: oleg257-server.virtnet: executing wait_import_state FULL os[cp].lustre-OST0000-osc-MDT0000.ost_server_uuid 50 oleg257-server: os[cp].lustre-OST0000-osc-MDT0000.ost_server_uuid in FULL state after 3 sec oleg257-server: oleg257-server.virtnet: executing wait_import_state FULL os[cp].lustre-OST0000-osc-MDT0001.ost_server_uuid 50 oleg257-server: os[cp].lustre-OST0000-osc-MDT0001.ost_server_uuid in FULL state after 0 sec mount lustre on /mnt/lustre..... Starting client: oleg257-client.virtnet: -o user_xattr,flock 192.168.202.157@tcp:/lustre /mnt/lustre umount lustre on /mnt/lustre..... Stopping client oleg257-client.virtnet /mnt/lustre (opts:) stop ost1 service on oleg257-server Stopping /mnt/lustre-ost1 (opts:-f) on oleg257-server stop mds service on oleg257-server Stopping /mnt/lustre-mds1 (opts:-f) on oleg257-server stop mds service on oleg257-server Stopping /mnt/lustre-mds2 (opts:-f) on oleg257-server unloading modules via unload_modules_local on: 'oleg257-server' oleg257-server: oleg257-server.virtnet: executing unload_modules_local oleg257-server: modules unloaded. pdsh@oleg257-client: oleg257-client: ssh exited with exit code 2 pdsh@oleg257-client: oleg257-server: ssh exited with exit code 2 pdsh@oleg257-client: oleg257-client: ssh exited with exit code 2 pdsh@oleg257-client: oleg257-server: ssh exited with exit code 2