Geli and glabel ?
Anton Sayetsky
vsasjason at gmail.com
Sun Apr 17 00:05:33 UTC 2016
17 апр. 2016 г. 1:58 пользователь "Warren Block" <wblock at wonkity.com>
написал:
>
> 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.
More information about the freebsd-questions
mailing list