[dm-crypt] run cryptsetup-reencrypt failed

Milan Broz gmazyland at gmail.com
Fri Nov 8 12:07:54 CET 2013


On 8.11.2013 11:18, Xiao Ni wrote:
>     [root at storageqe-06 /]# ./cryptsetup-1.6.2/src/cryptsetup-reencrypt /dev/dm-10  --debug

First, NEVER EVER use /dec/dm-X devices directly.
Always use symbolic links in /dev/mapper or other links, which are not dynamic.

...
> open device LUKS-bfeb35f1-90b9-4bc6-ba43-a4302db7957b.new
> path is LUKS-bfeb35f1-90b9-4bc6-ba43-a4302db7957b.new
> file path is (null)

this is strange.

It creates temporary LUKS headers in file in current directory.
What filesystem you are using there?


> open device LUKS-bfeb35f1-90b9-4bc6-ba43-a4302db7957b.new             //I thinks it should open /dev/loop0
> path is /dev/loop0

no, loop should be hidden there.

Anyway, could you add this to issues http://code.google.com/p/cryptsetup/issues/list
and add more info about your system?

I know you are using some complex storage config like multipath, so the best way
will be to discuss it with Ondra (as my former RH colleague) inside RH and when you
have all the info, just report it to issues page.


Thanks,
Milan



More information about the dm-crypt mailing list