how should I resize the partiton, since it's an unformatted partition. setting the end cylinder of the partition will not destroy it ? Kevin Arno Wagner wrote: > Plain cryptsetup encrypts the whole device. ''resize'' is > only for when you do not want that. What you need to do > is to conventionally resize the partition. Cryptsetup > will follow. If you need to resize something within the > encrypted device, do this conventionally on the decrypted > device (/dev/mapper/<something>). > > Arno > > On Sun, Mar 09, 2008 at 12:10:59PM +0100, K??vin REDON wrote: >> Hi, >> >> I wish to shrink the encrypted partition. >> I did : >> >> cryptsetup --size 189563200 resize sda5_crypt >> (was 233936411 before) >> the status show this size, but the partition itself (/dev/sda5) did not >> shrink, and after a reboot the size of sda5_crypt is again 233936411. >> >> for more details of what sda5_crypt, just tell me (basically LVM that I >> shrinked successfully) >> >> Thanks, >> Kevin REDON >> >> --------------------------------------------------------------------- >> dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/ >> To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx >> For additional commands, e-mail: dm-crypt-help@xxxxxxxx >> > --------------------------------------------------------------------- dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/ To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx For additional commands, e-mail: dm-crypt-help@xxxxxxxx