Date: Fri, 16 Jan 2009 15:21:09 -0800 From: "David Ehrmann" <ehrmann@gmail.com> To: "Pete French" <petefrench@ticketswitch.com> Cc: freebsd-stable@freebsd.org Subject: Re: zfs drive keeps failing between export and import Message-ID: <6e0e5340901161521t30845197s9529fb5a55dbba13@mail.gmail.com> In-Reply-To: <E1LNmxP-0003vM-Lx@dilbert.ticketswitch.com> References: <6e0e5340901151158n5108ba8ct6af8fb270b10b75b@mail.gmail.com> <E1LNmxP-0003vM-Lx@dilbert.ticketswitch.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 16, 2009 at 3:33 AM, Pete French <petefrench@ticketswitch.com> wrote: >> a software problem before hardware. Both drives are encrypted geli >> devices. I tried to reproduce the error with 1GB disk images (vs > > This is probably a silly question, but are you sure that the drives > are not auto detaching ? I had big problems with a zfs mirror on top > of geli which turned out to be that drives mounted using "geli_devices" > in rc.conf will auto detach unless you set "geli_autodetach" to NO. Not silly at all. I didn't know that could be an issue, but they weren't mounted with "geli_devices," they were mounted by hand with "geli attach /dev/ad<disk>." I did not set the -d flag on attach, and I don't think I used the -l flag on detach, either. Listing the device says this: Geom name: ad10.eli EncryptionAlgorithm: AES-CBC KeyLength: 128 Crypto: hardware UsedKey: 0 Flags: NONE (and more stuff) One more interesting thing: I accidentally rebooted the system without any detaching/exporting (it involved a different, bad drive). When it came up, I was able to re-import tank without any problems.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6e0e5340901161521t30845197s9529fb5a55dbba13>