On Wed, Aug 22, 2012 at 1:49 AM, tv.debian@googlemail.com
<tv.debian@googlemail.com> wrote:
On 21/08/2012 19:22, J. B wrote:
[trim]
The free space is 10 GB, where the luks partition is 200 GB.
I'm eagerly waiting to know the output of your experiment.
Ok, I was under the impression from your first post that the free space was
800GB.
I didn't have time to do extensive tests but with such a small space
available compared to the size of the LUKS there is no sane way to do what
you want. I didn't manage to make the "fdisk method" work backward, even
with a LUKS header backup it doesn't seem to be possible.
I wonder what would happen if you gave dd overlapping regions of the
disk to read from and write to.
Something like (CAUTION, do not run):
dd if=/dev/sda skip=5000 of=/dev/sda seek=1000