Multiple ZFS pools = panic on shutdown?

Daniel Eriksson daniel_k_eriksson at
Fri Jan 18 02:45:53 PST 2008

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 = 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

More information about the freebsd-stable mailing list