Re: recovering forgotten passwords for 2 LVs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.)

_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux