svn commit: r357722 - user/pho/stress2/misc
Peter Holm
pho at FreeBSD.org
Mon Feb 10 08:56:30 UTC 2020
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
More information about the svn-src-user
mailing list