GELI file systems unusable after "glabel label" operations

Scott Bennett bennett at
Thu Jan 14 08:09:06 UTC 2010

     On Thu, 14 Jan 2010 10:55:35 +0300 Boris Samorodov <bsam at>
     Thanks so much for responding so fast!
>On Thu, 14 Jan 2010 01:31:55 -0600 (CST) Scott Bennett wrote:
>> hellas# geli attach -k work.key /dev/label/work
>> geli: Cannot read metadata from /dev/label/work: Invalid argument.
>Did you try to mount it via geom consumer (/dev/daX)?

     Um, no, a GELI-encrypted partition must first be attached.  The
attach operation fails, as shown above, so there's no way to mount it.

>Can you show apropriate "glabel list"?
hellas# geom ELI list
geom: Cannot get GEOM tree: Unknown error: -1

     I'm afraid I'm clueless here.  What should I try next?

                                  Scott Bennett, Comm. ASMELG, CFIAG
* Internet:       bennett at                              *
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."                                               *
*    -- Gov. John Hancock, New York Journal, 28 January 1790         *

More information about the freebsd-questions mailing list