All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <gmazyland@gmail.com>
To: PePa <peter@passchier.net>, dm-crypt@saout.de
Subject: Re: [dm-crypt] cryptsetup-reencode: LUKS-${UUID}.new is too small
Date: Fri, 14 Mar 2014 18:20:03 +0100	[thread overview]
Message-ID: <53233A43.3000705@gmail.com> (raw)
In-Reply-To: <loom.20140314T174259-734@post.gmane.org>

On 03/14/2014 05:46 PM, PePa wrote:
> Arno Wagner <arno@...> writes:
>>
>> The IO error is worrying though, it should _not_ happen.
>> Have a look into the system error log to see if this is 
>> some lower-level error.
>>
>> Arno
> 
> By the way, the log/new/org files stayed the same sizes througout the almost
> 10 hours of running: 512/5242880/527848 bytes.

Hi,

it is not updated until program is interrupted or you use --write-log.

Anyway, IO error is exactly the situation which cannot be handled correctly..

In theory, if you stop it with ctrl+c and then restart, it should try to continue
(log is updated in this case).

But first - what is in syslog? Is it really device error?

What version are you using? There were some fixes recently for 4k devices but
this really shout not happen in 99.4 % of device.

Please save files (log and two other) you cannot recover anything without them.
(If it really reencrypted 99% of device chances are that it can be manually fixed still.)

Please can you send me exact commands you run + device size of the device
(blockdev --getz <device>) and luksDump of your original image?
(either from temporary files or just send the whole temp. files with header)

It could be bug in reecryption so I would like to test it here.

Thanks,
Milan

      reply	other threads:[~2014-03-14 17:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-11 23:16 [dm-crypt] cryptsetup-reencode: LUKS-${UUID}.new is too small PePa
2014-03-12  0:54 ` Arno Wagner
2014-03-12 21:29   ` PePa
2014-03-12 22:36     ` Arno Wagner
2014-03-13  0:29     ` Matthias Schniedermeyer
2014-03-13  1:31       ` Arno Wagner
2014-03-13  6:34         ` Milan Broz
2014-03-13  7:43           ` PePa
2014-03-18 22:43             ` [dm-crypt] cryptsetup-reencode:LUKS-${UUID}.new " PePa
2014-03-14  7:59 ` [dm-crypt] cryptsetup-reencode: LUKS-${UUID}.new " PePa
2014-03-14 13:22   ` Arno Wagner
2014-03-14 16:39     ` PePa
2014-03-14 16:46     ` PePa
2014-03-14 17:20       ` Milan Broz [this message]

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=53233A43.3000705@gmail.com \
    --to=gmazyland@gmail.com \
    --cc=dm-crypt@saout.de \
    --cc=peter@passchier.net \
    /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.