From mboxrd@z Thu Jan 1 00:00:00 1970 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.server123.net (Postfix) with ESMTPS for ; Sat, 21 Jun 2014 00:17:11 +0200 (CEST) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wy77M-0004qe-QF for dm-crypt@saout.de; Sat, 21 Jun 2014 00:17:08 +0200 Received: from c-24-14-20-249.hsd1.il.comcast.net ([24.14.20.249]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Jun 2014 00:17:08 +0200 Received: from rnicholsNOSPAM by c-24-14-20-249.hsd1.il.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Jun 2014 00:17:08 +0200 From: Robert Nichols Date: Fri, 20 Jun 2014 17:16:53 -0500 Message-ID: References: <53A4374C.9080705@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: Subject: Re: [dm-crypt] Cryptsetup-reencrypt failing with error with option --new reduce-device-size List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On 06/20/2014 09:16 AM, Abhrajyoti Kirtania wrote: > Thank you for the reply. > > How can i create unused space (shrink) at the end of original divide? As per the > man page "fdisk -u /dev/sdb # move sdb1 partition end + 4096 sectors" not giving > expected result. > > Even i tried with resize2fs but not helping > > test@ubuntu:~/in-place$ sudo resize2fs /dev/sda8 4M > > resize2fs 1.42.5 (29-Jul-2012) > > resize2fs: New size smaller than minimum (45572) You have tried to resize the filesystem _to_ 4 megabytes, not reduce its current size _by_ 4 Megabytes. Your current filesystem will of course not fit in 4 Megabytes. -- Bob Nichols "NOSPAM" is really part of my email address. Do NOT delete it.