Re: Cryptsetup-reencrypt failing with error with option --new reduce-device-size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx
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
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt




[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux