- echo "Eighth Failure Mode: CLIENT/OST `date`"
-
- #Create files
- echo "Verify Lustre filesystem is up and running"
- [ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
-
- clients_up
- client_touch testfile
-
- #CLIENT Portion
- echo "Failing CLIENTs"
- fail_clients 2
-
- #Check FS
- echo "Test Lustre stability after CLIENTs failure"
- clients_up
- $PDSH $LIVE_CLIENT "ls -l $TESTDIR"
- $PDSH $LIVE_CLIENT "rm -f $TESTDIR/*_testfile"
-
- #Sleep
- echo "Wait 1 minutes"
- sleep 60
-
- #Create files
- echo "Verify Lustre filesystem is up and running"
- [ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
-
- clients_up
- client_touch testfile
-
-
- #OST Portion
- shutdown_facet ost1
- reboot_facet ost1
-
- #Check FS
- echo "Test Lustre stability after OST failure"
- clients_up &
- DFPID=$!
- sleep 5
- #non-failout hangs forever here
- #$PDSH $LIVE_CLIENT "ls -l $TESTDIR"
- #$PDSH $LIVE_CLIENT "rm -f $TESTDIR/*_testfile"
-
- #Reintegration
- echo "Reintegrating CLIENTs/OST"
- reintegrate_clients || return 3
- wait_for_facet ost1
- start_ost 1
- wait $DFPID
- clients_up || return 1
- client_touch testfile2 || return 2
-
- #Sleep
- echo "Wait 1 minutes"
- sleep 60
+ echo "Eighth Failure Mode: CLIENT/OST `date`"
+
+ #Create files
+ echo "Verify Lustre filesystem is up and running"
+ [ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
+
+ clients_up
+ client_touch testfile
+
+ #CLIENT Portion
+ echo "Failing CLIENTs"
+ fail_clients 2
+
+ #Check FS
+ echo "Test Lustre stability after CLIENTs failure"
+ clients_up
+ $PDSH $LIVE_CLIENT "ls -l $TESTDIR"
+ $PDSH $LIVE_CLIENT "rm -f $TESTDIR/*_testfile"
+
+ #Sleep
+ echo "Wait 1 minutes"
+ sleep 60
+
+ #Create files
+ echo "Verify Lustre filesystem is up and running"
+ [ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
+
+ clients_up
+ client_touch testfile
+
+ #OST Portion
+ shutdown_facet ost1
+ reboot_facet ost1
+
+ #Check FS
+ echo "Test Lustre stability after OST failure"
+ clients_up &
+ DFPID=$!
+ sleep 5
+ #non-failout hangs forever here
+ #$PDSH $LIVE_CLIENT "ls -l $TESTDIR"
+ #$PDSH $LIVE_CLIENT "rm -f $TESTDIR/*_testfile"
+
+ #Reintegration
+ echo "Reintegrating CLIENTs/OST"
+ reintegrate_clients || return 3
+ wait_for_facet ost1
+ start_ost 1
+ wait $DFPID
+ clients_up || return 1
+ client_touch testfile2 || return 2
+
+ #Sleep
+ echo "Wait 1 minutes"
+ sleep 60