Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2011 12:13:39 -0600
From:      "J. Porter Clark" <jpc@porterclark.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to label a GELI device
Message-ID:  <20110125181339.GA21203@auricle.charter.net>
In-Reply-To: <4D3EDE51.6070404@lazlarlyricon.com>
References:  <20110125014223.GA13385@auricle.charter.net> <4D3E8DC0.9060605@gmx.com> <20110125140705.GA20041@auricle.charter.net> <4D3EDE51.6070404@lazlarlyricon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 25, 2011 at 03:29:37PM +0100, Rolf Nielsen wrote:
> 
> Correct me if I'm wrong anyone.
> You need to first label da0s1d
> 
> e.g. like so
> 
> glabel label data da0s1d
> 
> then geli init the labeled device
> 
> e.g. like so
> 
> geli init -l 256 -s 4096 label/data

Unfortunately, this step overwrites the label.  If I try
to repeat the glabel command, then the geli metadata is
overwritten.

> That will give you a device node called /dev/label/data.eli, that you 
> can newfs and mount. Unfortunately, since you already encrypted da0s1d, 
> you may have to back it up, and restore the data after you've redone it. 
> I had this problem a few years ago, and I had to back up and restore, 
> but perhaps it's been made simpler now? Though I doubt it.

I think that this is the problem.

-- 
J. Porter Clark      <jpc@porterclark.com>



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