[linux-lvm] LVM cache/dm-cache questions.

Ondrej Kozina okozina at redhat.com
Mon Aug 29 15:08:17 UTC 2016


Thank you for the lsblk and lvs output. At least now we know that raid 
is somehow involved in the setup...

On 08/29/2016 04:22 PM, lejeczek wrote:
> I cannot debug now as for now I've given up the idea to
> encrypt this LV, but  I would say is should be easily
> reproducible (maybe even waste of time looking at my setup)
> I simply tried:

Well, without the debug output from cryptsetup I can't be of any more 
help, I'm sorry. It's like starring into crystal ball guessing what may 
have gone wrong. The -22 error code is general "wrong parameters" 
answer. I don't even know if cryptsetup has got into code path where 
it's supposed to open the device for write.

But let me give it one last shot. Did you by any chance end up with 22 
right after the prompt:

"Are you sure? (Type uppercase yes):"

If so, are you sure that your answer was 'YES' instead of lowercase 'yes'?

Regards
Ondrej




More information about the linux-lvm mailing list