zfs drive keeps failing between export and import
Wes Morgan
morganw at chemikals.org
Thu Jan 15 15:29:55 PST 2009
On Thu, 15 Jan 2009, David Ehrmann wrote:
> 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?
What does "zdb /dev/ad10.eli" show?
More information about the freebsd-stable
mailing list