All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Nichols <rnicholsNOSPAM@comcast.net>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] Cryptsetup-reencrypt failing with error with option --new reduce-device-size
Date: Fri, 20 Jun 2014 17:16:53 -0500	[thread overview]
Message-ID: <lo2bsm$8p7$1@ger.gmane.org> (raw)
In-Reply-To: <CAKL--+gu8R-iqOZ6ou2Dz_RS0MxcnXfvPLo++0dhfCOY9t-bmA@mail.gmail.com>

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.

  parent reply	other threads:[~2014-06-20 22:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-20 12:36 [dm-crypt] Cryptsetup-reencrypt failing with error with option --new reduce-device-size Abhrajyoti Kirtania
2014-06-20 13:20 ` Milan Broz
2014-06-20 13:29 ` Ondrej Kozina
2014-06-20 14:16   ` Abhrajyoti Kirtania
2014-06-20 19:26     ` Arno Wagner
2014-06-20 22:16     ` Robert Nichols [this message]
2014-06-21  2:33       ` Arno Wagner
2014-06-24 16:53     ` Abhrajyoti Kirtania
2014-06-24 17:57       ` Milan Broz
2014-06-25  8:34         ` Abhrajyoti Kirtania

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='lo2bsm$8p7$1@ger.gmane.org' \
    --to=rnicholsnospam@comcast.net \
    --cc=dm-crypt@saout.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.