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 cFC53B9kyKG5 for ; Fri, 31 Jan 2014 10:49:30 +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:49:30 +0100 (CET) Date: Fri, 31 Jan 2014 10:49:30 +0100 From: Louis-David Mitterrand Message-ID: <20140131094929.GB6499@apartia.fr> References: <20140130160443.GA31280@apartia.fr> <20140130210609.GB27307@tansi.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140130210609.GB27307@tansi.org> 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 10:06:09PM +0100, Arno Wagner wrote: > > Yes, most decidedly: Make a full backup of everything > you want to keep on 6, remove 5 and 6, create what you > want in its place and restore the backup. > You may also do a full backup of the rest of the disk, > mistakes and error happen. > > As backup is mandatory anyways, this shoud not cause > much more trouble than an ordinary backup. > > You are running a pretty high risk of losing everything on > 6 with your approach. Hi Arno, I did a tar.gz backup before proceeding but in the end all went well. The hairy part (I guess) is deleting both partitions to create a new, larger one without damaging the dm-crypt volume. I resized the dm-crypt volume offline, without mounting the fs, but is it possible to do it on a live, mounted system? Thanks,