From owner-svn-src-user@freebsd.org Wed Apr 13 11:55:16 2016 Return-Path: Delivered-To: svn-src-user@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93142B0E99D for ; Wed, 13 Apr 2016 11:55:16 +0000 (UTC) (envelope-from pho@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 610F312D0; Wed, 13 Apr 2016 11:55:16 +0000 (UTC) (envelope-from pho@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3DBtFqD024668; Wed, 13 Apr 2016 11:55:15 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3DBtFEs024666; Wed, 13 Apr 2016 11:55:15 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201604131155.u3DBtFEs024666@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Wed, 13 Apr 2016 11:55:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r297918 - user/pho/stress2/misc X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2016 11:55:16 -0000 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