Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jul 2011 11:25:13 -0400
From:      "Daniel Staal" <DStaal@usa.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: "zpool remove" locks up ZFS under amd64 RELENG_8
Message-ID:  <1323bb62f5dc3381ba01f69f5e869b90.squirrel@www.magehandbook.com>
In-Reply-To: <alpine.BSF.2.00.1107262257500.33211@Elmer.dco.penx.com>
References:  <alpine.BSF.2.00.1107262257500.33211@Elmer.dco.penx.com>

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

On Wed, July 27, 2011 1:03 am, Dennis Glatting wrote:
>
> I attached a SSD as a ZIL to a RAIDz pool, which is a fairly useless thing
> to do but I am testing. If I try to remove the SSD ZIL the zpool command
> does not return and in another window a "zpool status" also doesn't return
> or print anything, typifying a lockup. I also have a SSD attached to the
> pool as a cache.

Not that useless, if the SSD has a faster write time and you are doing
lots of writes to the ZFS pool.  ;)

> iirc# zpool upgrade
> This system is currently running ZFS pool version 28.
>
> All pools are formatted using this version.

Ok, so the most obvious reason is out (that ZILs can't be removed under
the version of ZFS that ships with 8.2), but it means you must have a
patched kernel, or be running -CURRENT.  It's possible this is a bug in
the ZFS code.  It might be worth taking this to the CURRENT list.

How are you trying to remove the ZIL?  Are you just pulling the drive or
are you running a 'remove' first?  (Just checking...)

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------




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