Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Apr 2017 04:08:58 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Lee Brown <leeb@ratnaling.org>, freebsd-geom@freebsd.org
Subject:   Re: glabel problem
Message-ID:  <58FABB3A.6040704@quip.cz>
In-Reply-To: <CAFPNf59g=Yo9oB16nf9pAE8wHKB_29aD0AZWsi%2BecKiC_4kEJQ@mail.gmail.com>
References:  <CAFPNf59g=Yo9oB16nf9pAE8wHKB_29aD0AZWsi%2BecKiC_4kEJQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Lee Brown wrote on 2017/04/22 03:26:

[..]

> root@apron:~ # glabel label -v TEST da2
> Metadata value stored on da2.
> Done.
>
> but
> root@apron:~ # glabel status da2
> root@apron:~ #

Did you tried to disconnect and reconnect after "glabel label". 
Sometimes label is not visible until retaste of the device (true > /dev/da2)

> I zero'd the first and last 1MB and re-tried the label operation, but all
> the sectors were still zero.
> I tried to use the usbdump utility and I can see *something* is written.
>
> gpart appears to do the right thing.
> newfs on the raw device appears to do the right thing.
> geli init complains it can't find the metadata.

What about partitioning by gpart GPT with gpt partition label and then 
use this label for geli instead of whole device?

Miroslav Lachman





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