X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Fconf-sanity.sh;h=12deabb7bdb3a3af23eae8841dba40a583d2e1d0;hp=2bde5eef23ee67c66d3625122363dbb4c14cb74e;hb=10cf5e4ec079fed1fa339240e00c027232f7971e;hpb=20544bd96269dbda51a76d31c2d09935637e8b2d diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index 2bde5ee..12deabb 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -3991,6 +3991,21 @@ test_72() { #LU-2634 } run_test 72 "test fast symlink with extents flag enabled" +test_73() { #LU-3006 + load_modules + do_facet ost1 "$TUNEFS --failnode=1.2.3.4@tcp $(ostdevname 1)" || + error "1st tunefs failed" + start_mgsmds || error "start mds failed" + start_ost || error "start ost failed" + mount_client $MOUNT || error "mount client failed" + lctl get_param -n osc.*OST0000-osc-[^M]*.import | grep failover_nids | + grep 1.2.3.4@tcp || error "failover nids haven't changed" + umount_client $MOUNT || error "umount client failed" + stop_all + reformat +} +run_test 73 "failnode to update from mountdata properly" + if ! combined_mgs_mds ; then stop mgs fi