Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2008 10:36:30 +0100
From:      "Daniel Eriksson" <daniel_k_eriksson@telia.com>
To:        <freebsd-stable@freebsd.org>
Cc:        pjd@FreeBSD.org
Subject:   Multiple ZFS pools = panic on shutdown?
Message-ID:  <4F9C9299A10AE74E89EA580D14AA10A61A1899@royal64.emp.zapto.org>

next in thread | raw e-mail | index | archive | help

Has anyone heard of or experienced any panics ("vput: negative ref cnt"
or "vrele: negative ref cnt") when shutting down a box with more than
one zpool?

I see this on an amd64 RELENG_7_0 (from yesterday) box:

syslogd: exiting on signal 15
panic: vrele: negative ref cnt
cpuid =3D 0
Uptime: 35m13s
Physical memory: 4087 MB
Dumping 235 MB:

And then it just hangs there. Breaking into DDB does not work.

Both pools are constructed from GELI-encrypted disks, so I have a script
that runs "geli attach" on all the devices and then it does a "zpool
import" on the two pools. On shutdown the script does a "zpool export"
on the pools and then it detaches the GELI devices.

With only one pool it works just fine.

The box in question uses GMIRROR for the system disk (two disks, whole
disk mirroring).

I will try to recreate this on another machine today. It would be nice
to have an easy way to repeat this.


/Daniel Eriksson



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