From: bobijam Date: Wed, 12 Mar 2008 01:52:19 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: v1_7_0_51~137 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=5823d5356273d5bdc6b21e49aa9a496fa1fc8cab;p=fs%2Flustre-release.git Branch HEAD 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 3d9b26f..77c3ed1 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -16,8 +16,8 @@ MOUNTCONFSKIP="10 11 12 13 13b 14 15" # bug number for skipped test: 13739 HEAD_EXCEPT=" 32a 32b " -# bug number for skipped test: 14731 12743 -ALWAYS_EXCEPT=" $CONF_SANITY_EXCEPT $MOUNTCONFSKIP $HEAD_EXCEPT 33a 36 " +# bug number for skipped test: 14731 +ALWAYS_EXCEPT=" $CONF_SANITY_EXCEPT $MOUNTCONFSKIP $HEAD_EXCEPT 33a" # UPDATE THE COMMENT ABOVE WITH BUG NUMBERS WHEN CHANGING ALWAYS_EXCEPT! SRCDIR=`dirname $0` @@ -1386,14 +1386,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