From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from v6.tansi.org (ns.km31936-01.keymachine.de [87.118.116.4]) by mail.server123.net (Postfix) with ESMTP for ; Sat, 21 Jun 2014 04:33:37 +0200 (CEST) Received: from gatewagner.dyndns.org (77-57-44-24.dclient.hispeed.ch [77.57.44.24]) by v6.tansi.org (Postfix) with ESMTPA id 552D020DC1E9 for ; Sat, 21 Jun 2014 04:33:37 +0200 (CEST) Date: Sat, 21 Jun 2014 04:33:36 +0200 From: Arno Wagner Message-ID: <20140621023336.GA7535@tansi.org> References: <53A4374C.9080705@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Sat, Jun 21, 2014 at 00:16:53 CEST, Robert Nichols wrote: > 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. If there is more than, say, 3.5MB of data in it, then definitely not. Arno -- Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno@wagner.name GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718 ---- A good decision is based on knowledge and not on numbers. - Plato