[dm-crypt] recovering forgotten passwords for 2 LVs

Yves-Alexis Perez corsac at debian.org
Mon Aug 22 18:19:59 CEST 2011

On lun., 2011-08-22 at 10:48 -0400, ken wrote:
> echo -n "$PASS PHRASE" |/sbin/cryptsetup luksOpen /dev/sdb5 name1
> is cryptsetup going to be talking to one or the other encrypted LVs...?
> and if so, which one? 

/dev/sdb5 doesn't look like a logical volume. Are you sure you activated
the volume groups before.

I don't have a clue what your setup is, but it might just be that you
need to run

vgchange -ay <vgname>

which would make your two lvs appear in /dev/mapper/<vg>-<lv> or
something like that.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://www.saout.de/pipermail/dm-crypt/attachments/20110822/42d21b58/attachment.asc>

More information about the dm-crypt mailing list