Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2018 13:27:31 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        Michael Jung <mikej@mikej.com>, freebsd-current@freebsd.org
Subject:   Re: GELI attach issue from r326073 -> r334996
Message-ID:  <1528918051.12122.70.camel@freebsd.org>
In-Reply-To: <1aa4ba2a8313f602bd0b0445987c18ec@mikej.com>
References:  <1aa4ba2a8313f602bd0b0445987c18ec@mikej.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2018-06-13 at 14:29 -0400, Michael Jung wrote:
> Hi!
> 
> I just tried updating current from r326073 -> r334996 and when
> I try 'geli attach' I get the following error:
> 
> # geli attach -p -k mykey.key /dev/gpt/da14
> geli: Missing keyno argument
> #
> 
> If I boot the old kernel GELI attaches just fine.
> 
> I ran into this once before but can not find the thread.  I recall
> it being a bug... with no resolution.
> 
> I mount zfs partitions over GELI - my painful solution was to
> nuke each GPT partition in the zpool, resilver, repeat and
> rinse until everything was non-encrypted and repeat the cycle
> to re-encrypt.  NOT FUN.
> 
> Looking for suggestions to supply additional information to debug
> and resolve.
> 
> dmesg attached from working kernel.
> 
> Thanks!

r333439 added a '-n keyno' parameter to geli attach, but it's supposed
to default to trying all keys if you don't use -n. Is it possible
you're running a newer kernel (or geom_eli module) than your userland
or vice versa?

-- Ian





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