Geli and glabel ?

Warren Block wblock at wonkity.com
Sun Apr 17 00:56:54 UTC 2016


On Sun, 17 Apr 2016, Anton Sayetsky wrote:

> 
> 17 апр. 2016 г. 3:15 пользователь "Warren Block" <wblock at wonkity.com> написал:
> >
> > On Sun, 17 Apr 2016, Anton Sayetsky wrote:
> >
> >> > 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.
> >
> >
> > The label is only created once.  After that, it will be present when the .eli device is created.
> I know. But here an example:
> 1. Insert one disk
> 2. Create geli and glabel there
> 3. Pull out that disk and insert it again in random order with hundred of other disks
> 4. Try to find where geli is located
> So I can say again - glabel inside geli doesn't make any sense in any situation. But geli inside glabel makes sense almost always.

Not any situation?  What if I have data partitions on an encrypted 
drive?  That gives a constant name to those partitions, but only after 
the drive has been mounted with geli.


More information about the freebsd-questions mailing list