Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2009 11:58:04 -0800
From:      "David Ehrmann" <ehrmann@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   zfs drive keeps failing between export and import
Message-ID:  <6e0e5340901151158n5108ba8ct6af8fb270b10b75b@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I have a zpool that consists for a two-drive mirror.  The two times I
took the zpool offline, I had to resilver one of the drives (the same
drive both times) when I imported it back.  All drives in the pool
show no read, write, or checksum errors and are new, so I'm looking to
a software problem before hardware.  Both drives are encrypted geli
devices.  I tried to reproduce the error with 1GB disk images (vs
1TB), mdconfig, geli, and zpool, but no luck; importing and exporting
work fine.

Here's the history of the pool:

History for 'tank':
2009-01-07.19:06:53 zpool create tank mirror /dev/ad8.eli /dev/ad10.eli
2009-01-12.12:34:20 zpool export -f tank
2009-01-12.12:38:12 zpool import tank
2009-01-12.12:41:43 zpool replace tank 5217673744218787970 /dev/ad10.eli
2009-01-12.21:48:12 zpool export tank
2009-01-13.20:20:27 zpool import tank
2009-01-13.20:22:18 zpool replace tank 2270010454322471606 /dev/ad10.eli
2009-01-14.08:04:52 zpool scrub tank
2009-01-14.08:08:38 zpool scrub -s tank

When I do zdb tank, I get "zdb: can't open tank: No such file or
directory."  Somehow, I did the same command earlier and got pointed
to http://www.sun.com/msg/ZFS-8000-EY

There's a chance this drive (ad10 or ad10.eli) was in a zpool before
this one that never got destroyed.

Ideas?  Any more information I should provide?



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