From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BcE3ENpaGELC for ; Tue, 23 Aug 2011 11:35:22 +0200 (CEST) Received: from mout.perfora.net (mout.perfora.net [74.208.4.195]) by mail.saout.de (Postfix) with ESMTP for ; Tue, 23 Aug 2011 11:35:22 +0200 (CEST) Message-ID: <4E53744B.40103@mousecar.com> Date: Tue, 23 Aug 2011 05:35:07 -0400 From: ken MIME-Version: 1.0 References: <4E4BFE0C.3040703@mousecar.com> <4E526C56.7080202@mousecar.com> <1314030003.2065.9.camel@scapa> <4E52D93A.10802@mousecar.com> <4E52DDD3.8000904@redhat.com> <4E52F31F.9090809@mousecar.com> <1314085415.28112.1.camel@oban> In-Reply-To: <1314085415.28112.1.camel@oban> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] recovering forgotten passwords for 2 LVs Reply-To: gebser@mousecar.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de 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.)