Date: Wed, 11 Jan 2012 21:07:08 +0100 From: Fabian Keil <freebsd-listen@fabiankeil.de> To: Gergely CZUCZY <phoemix@harmless.hu> Cc: freebsd-fs@freebsd.org Subject: Re: Unplugging disk under ZFS yield panic Message-ID: <20120111210708.1168781e@fabiankeil.de> In-Reply-To: <20120111154722.000036e4@unknown> References: <20120111154722.000036e4@unknown>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/sme5Aas0O1FB6Uj1.oz3E5l Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Gergely CZUCZY <phoemix@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=3Dkern/162010 http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/162036 Note that the pool layouts are different, though. > The hardware is a supermicro X8DTH-i/6/iF/6F board with 2x LSI 2008 > fusion MPT SAS-2 controllers, over the mps(4) driver. The disks are > accessed over gmultipath, and the multipath'd devices are added to a > ZFS mirror: > DB > mirror-0 > multipath/DB01 > multipath/DB02 > mirror-1 > multipath/DB03 > multipath/DB04 > logs > mirror/host1p5 > cache > multipath/SSD03p1 > spares > multipath/DB05 >=20 > System is 9.0-RELEASE >=20 > I've unplugged DB03 and on the first write we got a kernel panic. > Should this be normal behaviour or we're missing something here? Without a back trace or at least the panic reason one can only speculate what's going on, but I think it's rather unlikely that the panic is the intended behaviour and not a bug. Maybe you can gather some additional information and file a PR? > On a device removal we're expecting it to moving to the spare disk, or > using the available redundant disks. I agree that this behaviour would be preferable to a panic. Fabian --Sig_/sme5Aas0O1FB6Uj1.oz3E5l Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk8N6/EACgkQBYqIVf93VJ3sRwCglgpytX4TKPOWNIHnfCpJgyLT bIYAoJj6AT5p6k2Y06x8gn2HLa7g1Z+F =4h+l -----END PGP SIGNATURE----- --Sig_/sme5Aas0O1FB6Uj1.oz3E5l--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120111210708.1168781e>