Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2020 08:56:30 +0000 (UTC)
From:      Peter Holm <pho@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r357722 - user/pho/stress2/misc
Message-ID:  <202002100856.01A8uURe060456@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pho
Date: Mon Feb 10 08:56:29 2020
New Revision: 357722
URL: https://svnweb.freebsd.org/changeset/base/357722

Log:
  Added comment about problem found. Cap run time.

Modified:
  user/pho/stress2/misc/snap4.sh

Modified: user/pho/stress2/misc/snap4.sh
==============================================================================
--- user/pho/stress2/misc/snap4.sh	Mon Feb 10 08:55:45 2020	(r357721)
+++ user/pho/stress2/misc/snap4.sh	Mon Feb 10 08:56:29 2020	(r357722)
@@ -30,8 +30,11 @@
 
 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
 
-# Test with snapshot file unlinked before unmount
+# Test with snapshot file unlinked before unmount.
 
+# "panic: snapacct_ufs2: bad block" seen:
+# https://people.freebsd.org/~pho/stress/log/snap4.txt
+
 . ../default.cfg
 
 mount | grep -q "on /tmp (ufs," || exit 0
@@ -41,7 +44,7 @@ rm -f /tmp/.snap/stress2
 trap "rm -f /tmp/.snap/stress2" 0
 
 start=`date '+%s'`
-while [ `date '+%s'` -lt $((start + 1800)) ]; do
+while [ `date '+%s'` -lt $((start + 1200)) ]; do
    mksnap_ffs /tmp /tmp/.snap/stress2
    mdconfig -a -t vnode -f /tmp/.snap/stress2 -u $mdstart -o readonly
    mount -o ro /dev/md$mdstart $mntpoint



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002100856.01A8uURe060456>