Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2016 03:05:30 +0300
From:      Anton Sayetsky <vsasjason@gmail.com>
To:        Warren Block <wblock@wonkity.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>, Bernt Hansson <bah@bananmonarki.se>
Subject:   Re: Geli and glabel ?
Message-ID:  <CAA2O=b86-kutq2aQbHVLn42AMT=vur5+gfHrpv7=ji+qnV-rkQ@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.20.1604161651091.97849@wonkity.com>
References:  <57125647.9050805@bananmonarki.se> <alpine.BSF.2.20.1604161007190.46192@wonkity.com> <57126AFB.9060303@bananmonarki.se> <alpine.BSF.2.20.1604161651091.97849@wonkity.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
17 =D0=B0=D0=BF=D1=80. 2016 =D0=B3. 1:58 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=
=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Warren Block" <wblock@wonkity.com>
=D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB:
>
> On Sat, 16 Apr 2016, Bernt Hansson 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?
>
>
> No, the /dev/disc device is being used both times.
>
>   geli attach disc
>
> creates a disc.eli device.  Now create the label on *that*:
>
>   glabel label 1213 /dev/disc.eli
This just doesn't make any sense bc if device name will change - geli name
will change too. So it's really necessary to build reverse - geli on top of
glabel.
>
> Maybe some ASCII art will help:
>
>   ,-disc--------------.
>   |                   |
>   |  ,-disc.eli----.  |
>   |  |             |  |
>   |  |  ,-1213--.  |  |
>   |  |  |       |  |  |
>   |  |  |       |  |  |
>   |  |  `-------'  |  |
>   |  |             |  |
>   |  `-------------'  |
>   |                   |
>   `-------------------'
>
> ...well, maybe not.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAA2O=b86-kutq2aQbHVLn42AMT=vur5+gfHrpv7=ji+qnV-rkQ>