Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D14OWdFIR7Y6 for ; Fri, 31 Jan 2014 10:42:10 +0100 (CET) Received: from mail.apartia.fr (mail.apartia.fr [178.63.80.89]) by mail.saout.de (Postfix) with ESMTP for ; Fri, 31 Jan 2014 10:42:10 +0100 (CET) Date: Fri, 31 Jan 2014 10:42:10 +0100 From: Louis-David Mitterrand Message-ID: <20140131094209.GA6499@apartia.fr> References: <20140130160443.GA31280@apartia.fr> <20140130185010.GB12303@citd.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140130185010.GB12303@citd.de> Subject: Re: [dm-crypt] moving/resizing a dm-crypt partition List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On Thu, Jan 30, 2014 at 07:50:10PM +0100, Matthias Schniedermeyer wrote: > > As it is BTRFS, just create a second dm-crypt volume and add that to the > existing BTRFS. As BTRFS can span several physical volumes, creating one > big partition isn't strictly necessary. > If you use the same password and have "luck" that your dm-crypt > setup-script in initrd/initramsfs opens both dm-crypt devices in one > go, there shouldn't even be any discomfort by that solution. Hi, This is an interesting solution, I didn't know about btrfs's spanning capabilities. As you point out the key is having initrd unlock both partitions and I'm not sure how to do it. So in the end I chose the "hard" solution of merging both partitions (with a backup), which went well. Thanks,