From owner-freebsd-questions@freebsd.org Sat Apr 16 16:40:31 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D6F6DAEE37F for ; Sat, 16 Apr 2016 16:40:31 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 641D712F5 for ; Sat, 16 Apr 2016 16:40:30 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from testbox.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id u3GGeReL050010 for ; Sat, 16 Apr 2016 18:40:27 +0200 (CEST) (envelope-from bah@bananmonarki.se) Subject: Re: Geli and glabel ? To: freebsd-questions@freebsd.org References: <57125647.9050805@bananmonarki.se> From: Bernt Hansson Message-ID: <57126AFB.9060303@bananmonarki.se> Date: Sat, 16 Apr 2016 18:40:27 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2016 16:40:31 -0000 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?