Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2016 08:34:59 +0800
From:      Erich Dollansky <erichsfreebsdlist@alogt.com>
To:        Bernt Hansson <bah@bananmonarki.se>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Geli and glabel ?
Message-ID:  <20160417083459.4d47fa53@X220.alogt.com>
In-Reply-To: <57126AFB.9060303@bananmonarki.se>
References:  <57125647.9050805@bananmonarki.se> <alpine.BSF.2.20.1604161007190.46192@wonkity.com> <57126AFB.9060303@bananmonarki.se>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Sat, 16 Apr 2016 18:40:27 +0200
Bernt Hansson <bah@bananmonarki.se> wrote:

> On 2016-04-16 18:08, Warren Block wrote:
> > On Sat, 16 Apr 2016, Bernt Hansson wrote:
> >  
> >> Hello list.
> >>
> >> I'm wondering about glabel and geli. It seems that one can not
> >> have them on the same disc.
> >>
> >> On swap it works nice but not on my home directory. Glabel
> >> overwrites the meta data from geli
> >> so the disc can not be mounted.
> >>
> >> Can this scenario work? How?  
> >
> > One must be inside the other.  Create a glabel device in the GELI
> > one, then refer to the glabel device with /dev/label/xyz.  
> 
> Along this line?
> 
> geli attach disc
> password:
> 
> glabel label 1213 /dev/disc
> 
> Is that correct?

it should work. I do it the other way around. First label the device
and then use geli to attach the label. It will not help you much if
your label is inside geli as you do not see the label without geli. If
you use glabel outside geli you can then tell geli to use the label
name instead of the device name.

Erich



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