From: bobijam Date: Wed, 12 Mar 2008 01:54:45 +0000 (+0000) Subject: Branch b1_6 X-Git-Tag: v1_8_0_110~689 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=f1fd5febda84abb1bdce2410a856459d22f764c0;p=fs%2Flustre-release.git Branch b1_6 b=12743 since we don't support diskfs blocksize != 4K right now, so change the test case to make all the disk with 4K blocksize. --- diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index d80219e..9f882d2 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -15,8 +15,8 @@ ONLY=${ONLY:-"$*"} # xml xml xml xml xml xml dumb MOUNTCONFSKIP="10 11 12 13 13b 14 15 " -# bug number for skipped test: 13369 12743 -ALWAYS_EXCEPT=" $CONF_SANITY_EXCEPT $MOUNTCONFSKIP 34a 36" +# bug number for skipped test: 13369 +ALWAYS_EXCEPT=" $CONF_SANITY_EXCEPT $MOUNTCONFSKIP 34a" # UPDATE THE COMMENT ABOVE WITH BUG NUMBERS WHEN CHANGING ALWAYS_EXCEPT! SRCDIR=`dirname $0` @@ -1414,14 +1414,16 @@ test_36() { # 12743 fi [ $OSTCOUNT -lt 2 ] && skip "skipping test for single OST" && return - [ $(lctl get_param -n devices | grep -c obdfilter) -eq 0 ] && - skip "skipping test for remote OST" && return + [ "$ost_HOST" = "`hostname`" -o "$ost1_HOST" = "`hostname`" ] || \ + { skip "remote OST" && return 0; } local fs2mdsdev=${fs2mds_DEV:-${MDSDEV}_2} local fs2ostdev=${fs2ost_DEV:-$(ostdevname 1)_2} local fs3ostdev=${fs3ost_DEV:-$(ostdevname 2)_2} add fs2mds $MDS_MKFS_OPTS --fsname=${FSNAME2} --reformat $fs2mdsdev || exit 10 - add fs2ost $OST_MKFS_OPTS --mkfsoptions='-b1024' --fsname=${FSNAME2} --mgsnode=$MGSNID --reformat $fs2ostdev || exit 10 + # XXX after we support non 4K disk blocksize, change following --mkfsoptions with + # other argument + add fs2ost $OST_MKFS_OPTS --mkfsoptions='-b4096' --fsname=${FSNAME2} --mgsnode=$MGSNID --reformat $fs2ostdev || exit 10 add fs3ost $OST_MKFS_OPTS --mkfsoptions='-b4096' --fsname=${FSNAME2} --mgsnode=$MGSNID --reformat $fs3ostdev || exit 10 start fs2mds $fs2mdsdev $MDS_MOUNT_OPTS