Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2007 16:52:24 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Lapo Luchini <lapo@lapo.it>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS panic on mdX-based raidz
Message-ID:  <20070615145224.GA39202@garage.freebsd.pl>
In-Reply-To: <f4tjii$bus$1@sea.gmane.org>
References:  <f4tjii$bus$1@sea.gmane.org>

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

--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jun 15, 2007 at 10:45:06AM +0200, Lapo Luchini wrote:
> I have a vmcore, a couple of them in fact, but they don't seem to have a
> valid bt in them.. dunno why, I'm not really into kgdb yet 0=3D)
> (only backtrace visible is kern_shutdown, then only ??)
>=20
> This is the list of operations with whom I can reproduce the panic at
> will (or, at the very least, with whom I reproduced it three times):
> rm data0 data1 data2
> truncate -s 64M data0
> truncate -s 128M data1
> truncate -s 256M data2
> mdconfig -f data0 -u 0
> mdconfig -f data1 -u 1
> mdconfig -f data2 -u 2
> zpool create prova raidz md0 md1 md2
> zfs create -o mountpoint=3D/usr/tmp/p prova/p
> dd if=3D/dev/zero of=3D/usr/tmp/p/file bs=3D1M
> zpool status
> sysctl kern.geom.debugflags=3D16
> dd if=3D/dev/zero of=3D/dev/md0 bs=3D1M
> dd if=3D/dev/zero of=3D/dev/md1 bs=3D1M
> zpool scrub prova
> zpool status
>=20
> Follows the status with two invalid disks (I wonder why :P) and a scrub
> in progress; but the host will panic before the scrub ends.

You corrupted two components in configuration with accepts only one disk
failure.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--Qxx1br4bt0+wmkIi
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFGcqeoForvXbEpPzQRAsY1AKDFe9SFX46F+cBXlQpmC+3fYMHoUACgoSEA
BKDdsKgTWG0z77GnamAnbbg=
=nUkq
-----END PGP SIGNATURE-----

--Qxx1br4bt0+wmkIi--



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