From 38dca2a0d0304fd39dbf47eb20a580ee1e16a592 Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 8 Mar 2007 18:37:18 +0000 Subject: [PATCH] check for dangling upgrade flag --- lustre/tests/conf-sanity.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index 98d6c47..46bad10 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -1079,14 +1079,19 @@ test_32a() { $LCTL conf_param lustre-MDT0000.failover.node=$NID || return 10 echo "ok." - #With a new good MDT failover nid, we should be able to mount a client - #(but it cant talk to OST) + # With a new good MDT failover nid, we should be able to mount a client + # (but it cant talk to OST) mount_client $MOUNT set_and_check "cat $LPROC/mdc/*/max_rpcs_in_flight" "lustre-MDT0000.mdc.max_rpcs_in_flight" || return 11 zconf_umount `hostname` $MOUNT -f cleanup_nocli + # mount a second time to make sure we didnt leave upgrade flag on + $TUNEFS --dryrun $TMP/$tdir/mds || error "tunefs failed" + start mds $TMP/$tdir/mds "-o loop" || return 12 + cleanup_nocli + [ -d $TMP/$tdir ] && rm -rf $TMP/$tdir } run_test 32a "Upgrade from 1.4 (not live)" -- 1.8.3.1