From: James Simmons Date: Thu, 29 Dec 2011 14:46:43 +0000 (-0500) Subject: LU-424 tests: conf-sanity test 55, 56, 58 failure fixes X-Git-Tag: 2.1.54~44 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=2d963afb0b3cd7f29ee7414253973dad01b7ea19 LU-424 tests: conf-sanity test 55, 56, 58 failure fixes The MGS service was not started in conf-sanity test 55, 56 and 58 with separate MGS and MDT configuration. This patch fix the issue. Signed-off-by: James Simmons Change-Id: I0c01955b4baf81535959cdbf38bf84e7acb04ddf Reviewed-on: http://review.whamcloud.com/1870 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Minh Diep Reviewed-by: Yu Jian Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index 15e81ee..0957d3d 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -2629,7 +2629,7 @@ test_55() { setup_noconfig stopall - setup + setup_noconfig sync echo checking size of lov_objid for ost index $i LOV_OBJID_SIZE=$(do_facet mds1 "$DEBUGFS -R 'stat lov_objid' $mdsdev 2>/dev/null" | grep ^User | awk '{print $6}') @@ -2651,7 +2651,7 @@ test_56() { add ost1 $OST_MKFS_OPTS --index=1000 --reformat $(ostdevname 1) add ost2 $OST_MKFS_OPTS --index=10000 --reformat $(ostdevname 2) - start_mds + start_mgsmds start_ost start_ost2 || error "Unable to start second ost" mount_client $MOUNT || error "Unable to mount client" @@ -2688,8 +2688,8 @@ count_osts() { } test_58() { # bug 22658 - [ "$FSTYPE" != "ldiskfs" ] && skip "not supported for $FSTYPE" && return - setup + [ "$FSTYPE" != "ldiskfs" ] && skip "not supported for $FSTYPE" && return + setup_noconfig mkdir -p $DIR/$tdir createmany -o $DIR/$tdir/$tfile-%d 100 # make sure that OSTs do not cancel llog cookies before we unmount the MDS