[dm-crypt] How to move a LUKS partition

indyo indyo79 at yahoo.com.ar
Mon Apr 19 11:15:16 CEST 2010


HELLO!

I NEED TO MOVE A LUKS ENCRYPTED PARTITION TO FREE SPACE -BEFORE- IT...
Could you, Christopher, or anybody else achieve such a task?   I´ve been
googling for hours but can´t find a way to do it..
I could easily resize it but it stells begins at the same sector, so I
still need to move it.
(I still haven´t join dm-crypt mailing list but i´ll do it as soon as I can)

Thanx,
indYo.
----------------------------------------------
Repliyng message:
Fri Oct 23 09:48:59 CEST 2009 by Christopher Schramm
Hello,

I got an encrypted partition which I need to free some space _before_. I
already managed to shrink it, but how to move it?

Can that be done by modifying the offset?
What exactly is that offset? Free space between the beginning of the
partition and the crypt volume?
Can it be modified by using the cryptsetup resize command?

Thanks for your help
Christopher Schramm



More information about the dm-crypt mailing list