Date: Wed, 13 Apr 2016 11:55:15 +0000 (UTC) From: Peter Holm <pho@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r297918 - user/pho/stress2/misc Message-ID: <201604131155.u3DBtFEs024666@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pho Date: Wed Apr 13 11:55:15 2016 New Revision: 297918 URL: https://svnweb.freebsd.org/changeset/base/297918 Log: Added problem seen, added exit code and added failure checks. Sponsored by: EMC / Isilon Storage Division Modified: user/pho/stress2/misc/zfs5.sh user/pho/stress2/misc/zfs6.sh Modified: user/pho/stress2/misc/zfs5.sh ============================================================================== --- user/pho/stress2/misc/zfs5.sh Wed Apr 13 11:43:03 2016 (r297917) +++ user/pho/stress2/misc/zfs5.sh Wed Apr 13 11:55:15 2016 (r297918) @@ -67,3 +67,4 @@ zpool destroy tank rm -rf $d1 $d2 [ -n "$loaded" ] && kldunload zfs.ko +exit 0 Modified: user/pho/stress2/misc/zfs6.sh ============================================================================== --- user/pho/stress2/misc/zfs6.sh Wed Apr 13 11:43:03 2016 (r297917) +++ user/pho/stress2/misc/zfs6.sh Wed Apr 13 11:55:15 2016 (r297918) @@ -28,7 +28,8 @@ # $FreeBSD$ # -# Parallel mount / umount and snapshots. No problems seen. +# Parallel mount / umount and snapshots. zpool hang seen: +# https://people.freebsd.org/~pho/stress/log/zfs6.txt [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 [ $((`sysctl -n hw.usermem` / 1024 / 1024 / 1024)) -le 3 ] && exit 0 @@ -49,9 +50,10 @@ mdconfig -s 512m -u $u1 mdconfig -s 512m -u $u2 mdconfig -s 512m -u $u3 +zpool list | grep -q tank && zpool destroy tank [ -d /tank ] && rm -rf /tank -zpool create tank raidz md$u1 md$u2 md$u3 -zfs create tank/test +zpool create tank raidz md$u1 md$u2 md$u3 || exit 1 +zfs create tank/test || exit 1 while true; do zfs umount tank/test @@ -74,3 +76,4 @@ mdconfig -d -u $u1 mdconfig -d -u $u2 mdconfig -d -u $u3 [ -n "$loaded" ] && kldunload zfs.ko +exit 0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604131155.u3DBtFEs024666>