Return-Path: Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Thu, 13 Mar 2014 08:43:29 +0100 (CET) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WO0IZ-0002G8-Gl for dm-crypt@saout.de; Thu, 13 Mar 2014 08:43:27 +0100 Received: from S0106586d8f095d06.vc.shawcable.net ([24.85.237.157]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Mar 2014 08:43:27 +0100 Received: from peter by S0106586d8f095d06.vc.shawcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Mar 2014 08:43:27 +0100 From: PePa Date: Thu, 13 Mar 2014 07:43:03 +0000 (UTC) Message-ID: References: <20140312005412.GA25009@tansi.org> <20140313002938.GA31353@citd.de> <20140313013154.GA5434@tansi.org> <53215176.7000103@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] =?utf-8?q?cryptsetup-reencode=3A_LUKS-=24=7BUUID=7D=2E?= =?utf-8?q?new_is_too_small?= List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Milan Broz writes: > > Yes, with --reduce-device-size it reencrypts "backwards" with optional > data shift. > I described some crazy reencrypt operations here > http://asalor.blogspot.cz/2012/08/re-encryption-of-luks-device-cryptsetup.html Thanks for pointing to your post (which I had already read). Since the extents at the end of the PV are unused, I'm going to assume all will be well (out of device space is unused) and fix the PV after the reduce-device-size with a pvresize. I'll report back..! Peter