Unplugging disk under ZFS yield panic

Fabian Keil freebsd-listen at fabiankeil.de
Wed Jan 11 21:48:02 UTC 2012


Jeremy Chadwick <freebsd at jdc.parodius.com> wrote:

> On Wed, Jan 11, 2012 at 09:07:08PM +0100, Fabian Keil wrote:
> > Gergely CZUCZY <phoemix at harmless.hu> wrote:
> > 
> > > I'd like to ask, whether it is normal behaviour when we're unplugging a
> > > disk under a ZFS system then on the first write a kernel panic happened.
> > 
> > Sounds familiar. I currently have two PRs open for
> > reproducible kernel panics after a vdev gets lost:
> > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/162010
> > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/162036
> > 
> > Note that the pool layouts are different, though.
> 
> Is this problem truly ZFS-specific?  I'd been tracking this problem for
> years, and was told it was fixed:

I'm not saying that my problems are ZFS-specific.
The backtraces mainly contain geom functions and no ZFS code,
so ZFS might be the victim here.

> http://wiki.freebsd.org/BugBusting/Commonly_reported_issues
> 
> * Panic occurs when a mounted device (USB, SATA, local image file,
>   etc.) is removed
> 
>   Workaround: Be sure to umount all filesystems before removing the
>   physical device
>   Partial fix: Committed to CURRENT (8.0) on/prior to 2008/02/21
> 
>   There is ongoing work to fully fix this problem, ETA 2009/02 

This is a different problem. It was even easier to reproduce
and at least I haven't seen it since the fixes went in.

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20120111/96ec7da4/signature.pgp


More information about the freebsd-fs mailing list