From: ken <gebser@mousecar.com>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] recovering forgotten passwords for 2 LVs
Date: Tue, 23 Aug 2011 05:35:07 -0400 [thread overview]
Message-ID: <4E53744B.40103@mousecar.com> (raw)
In-Reply-To: <1314085415.28112.1.camel@oban>
On 08/23/2011 03:43 AM Yves-Alexis Perez wrote:
> On lun., 2011-08-22 at 20:23 -0400, ken wrote:
>> Since I don't know the passphrase for the command above, I can't do any
>> of the rest of these commands.
>
> Please provide the results of blkid /dev/sd* (and vgscan too).
>
> Regards,
# blkid /dev/sda5
/dev/sda5: UUID="074c3369-bd66-4afa-97ad-973769aeb208" TYPE="crypt_LUKS"
root@agnes:~/bin # blkid /dev/sda*
/dev/sda1: SEC_TYPE="msdos" LABEL="DellUtility" UUID="07D4-0612" TYPE="vfat"
/dev/sda2: TYPE="ntfs"
/dev/sda3: LABEL="/boot" UUID="3043a9bc-cee8-4e8f-8f96-5725ad0a5db1"
SEC_TYPE="ext2" TYPE="ext3"
/dev/sda5: UUID="074c3369-bd66-4afa-97ad-973769aeb208" TYPE="crypt_LUKS"
(Yeah, it's a dual-boot setup.)
Perhaps helpful to know cylinders and/or sectors of partitions...?
# fdisk -l /dev/sda ; fdisk -lu /dev/sda
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 6 48163+ de Dell Utility
/dev/sda2 * 7 2428 19454715 7 HPFS/NTFS
/dev/sda3 2429 2441 104422+ 83 Linux
/dev/sda4 2442 38913 292961340 5 Extended
/dev/sda5 2442 38913 292961308+ 8e Linux LVM
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 63 96389 48163+ de Dell Utility
/dev/sda2 * 96390 39005819 19454715 7 HPFS/NTFS
/dev/sda3 39005820 39214664 104422+ 83 Linux
/dev/sda4 39214665 625137344 292961340 5 Extended
/dev/sda5 39214728 625137344 292961308+ 8e Linux LVM
# vgscan
Reading all physical volumes. This may take a while...
/dev/mapper/encpv1: read failed after 0 of 1024 at 1266089984:
Input/output error
/dev/mapper/encpv1: read failed after 0 of 1024 at 1266155520:
Input/output error
/dev/mapper/encpv1: read failed after 0 of 1024 at 0: Input/output error
/dev/mapper/encpv1: read failed after 0 of 1024 at 4096: Input/output
error
/dev/mapper/encpv1: read failed after 0 of 2048 at 0: Input/output error
/dev/vg/lv1G: read failed after 0 of 4096 at 1262419968: Input/output
error
/dev/vg/lv1G: read failed after 0 of 4096 at 1262477312: Input/output
error
/dev/vg/lv1G: read failed after 0 of 4096 at 0: Input/output error
/dev/vg/lv1G: read failed after 0 of 4096 at 4096: Input/output error
Found volume group "VolGroup00" using metadata type lvm2
(Note: /dev/mapper/encpv1 and /dev/vg/lv1G refer to a physical volume
and a logical volume respectively which I created on a test disk recently.)
next prev parent reply other threads:[~2011-08-23 9:35 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-17 17:44 [dm-crypt] recovering forgotten password ken
2011-08-17 19:35 ` Arno Wagner
2011-08-17 19:40 ` Arno Wagner
2011-08-22 14:48 ` [dm-crypt] recovering forgotten passwords for 2 LVs ken
2011-08-22 16:19 ` Yves-Alexis Perez
2011-08-22 22:33 ` ken
2011-08-22 22:53 ` Milan Broz
2011-08-23 0:23 ` ken
2011-08-23 7:43 ` Yves-Alexis Perez
2011-08-23 9:35 ` ken [this message]
2011-08-23 11:59 ` ken
2011-08-23 12:57 ` Arno Wagner
2011-08-23 13:39 ` ken
2011-08-22 17:16 ` Arno Wagner
2011-08-23 13:17 ` ken
2011-08-23 13:47 ` Arno Wagner
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=4E53744B.40103@mousecar.com \
--to=gebser@mousecar.com \
--cc=dm-crypt@saout.de \
/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.