test_5d() {
grep " $MOUNT " /etc/mtab &&
- error false "unexpected entry in mtab before mount" && return 10
+ error "unexpected entry in mtab before mount"
start_ost || error "OST start failed"
start_mds || error "MDS start failed"
- stop_ost || error "Unable to stop OST1"
+ stop_ost -f || error "Unable to stop OST1"
mount_client $MOUNT || error "mount_client $MOUNT failed"
umount_client $MOUNT -f || error "umount_client $MOUNT failed"
cleanup_nocli || error "cleanup_nocli failed with $?"
- grep " $MOUNT " /etc/mtab &&
+ ! grep " $MOUNT " /etc/mtab ||
error "$MOUNT entry in mtab after unmount"
- pass
}
run_test 5d "mount with ost down"
test_19b() {
start_ost || error "Unable to start OST1"
- stop_ost || error "Unable to stop OST1"
+ stop_ost -f || error "Unable to stop OST1"
}
run_test 19b "start/stop OSTs without MDS"
test_1() {
[ $MDSCOUNT -lt 2 ] && skip "needs >= 2 MDTs" && return
- [ "$(facet_fstype mds2)" = "zfs" ] &&
- skip "LU-2059: no local config for ZFS MDTs" && return
-
clients_up
shutdown_facet mds1
fi
if [ $(facet_fstype $SINGLEMDS) = "zfs" ]; then
-# bug number for skipped test: LU-2836 LU-6836 LU-2836 LU-2059
- ALWAYS_EXCEPT="$ALWAYS_EXCEPT 3 4a 6 7d"
+# bug number for skipped test: LU-2836 LU-6836 LU-2836
+ ALWAYS_EXCEPT="$ALWAYS_EXCEPT 3 4a 6"
# bug number for skipped test: LU-5638
ALWAYS_EXCEPT="$ALWAYS_EXCEPT 11 33 34 35"
# bug number: LU-2887