Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
check for dangling upgrade flag
[fs/lustre-release.git]
/
lustre
/
tests
/
conf-sanity.sh
diff --git
a/lustre/tests/conf-sanity.sh
b/lustre/tests/conf-sanity.sh
index
98d6c47
..
46bad10
100644
(file)
--- 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."
$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_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)"
[ -d $TMP/$tdir ] && rm -rf $TMP/$tdir
}
run_test 32a "Upgrade from 1.4 (not live)"