ZFS panic on mdX-based raidz

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Jun 15 14:52:37 UTC 2007

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=)
> (only backtrace visible is kern_shutdown, then only ??)
> 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=/usr/tmp/p prova/p
> dd if=/dev/zero of=/usr/tmp/p/file bs=1M
> zpool status
> sysctl kern.geom.debugflags=16
> dd if=/dev/zero of=/dev/md0 bs=1M
> dd if=/dev/zero of=/dev/md1 bs=1M
> zpool scrub prova
> zpool status
> 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

Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20070615/24cca058/attachment.pgp

More information about the freebsd-fs mailing list