<div dir="ltr">I have been asked to include disktype information for the drive:<div><br></div><div><div>$ sudo disktype /dev/sda</div><div><br></div><div>--- /dev/sda</div><div>Block device, size 1.365 TiB (1500301910016 bytes)</div>

<div>DOS/MBR partition map</div><div>Partition 1: 3.725 GiB (3999268864 bytes, 7811072 sectors from 2048, bootable)</div><div>  Type 0x83 (Linux)</div><div>  Ext2 file system</div><div>    UUID 728591A9-DDBF-XXXX-XXXX-XXXXXXXXXXXX (DCE, v4)</div>

<div>    Volume size 3.725 GiB (3999268864 bytes, 976384 blocks of 4 KiB)</div><div>  Linux LVM2 volume, version 001</div><div>    LABELONE label at sector 1</div><div>    PV UUID ajtoix-aTPi-6RoJ-XXXX-XXXX-XXXX-XXXXXX</div>

<div>    Volume size 1.365 TiB (1500300443648 bytes)</div><div>Partition 2: 1.361 TiB (1496300127232 bytes, 2922461186 sectors from 7815166)</div><div>  Type 0x8E (Linux LVM)</div><div>  Linux LVM2 volume, version 001</div>

<div>    LABELONE label at sector 3</div><div>    LABELONE data inconsistent, aborting analysis</div></div><div><br></div><div><br></div><div style>Praying that this threads with my original e-mail.</div><div style><br></div>
<div style>Thanks again.</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 20, 2013 at 12:09 PM, meLon <span dir="ltr"><<a href="mailto:earthmelon@gmail.com" target="_blank">earthmelon@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>After noticing warnings saying "Incorrect metadata area header checksum" when using pv/lv commands I looked into what could be causing the issue and attempted to fix the issue.  I had a HDD with an ext2 /boot partition and an LVM containing an encrypted volume.  I ran sfdisk to change the second partition's filesystem code to 8e and rebooted.</div>

<div><br></div><div>After rebooting, I was shown an error when I would normally type in my encrypted volume's passphrase.  I cannot remember the exact error, but I was unable to recover.  I pulled the HDD and installed Linux onto another HDD.</div>

<div><br></div><div>I put the old HDD containing data I would like to recover in another machine and tried to see what I could do.  pvscan and lvscan would show a pv, but would report the Incorrect metadata area header checksum warning.  I tried to mount my /boot partition, but it said something along the lines of "Unknown filesystem type LVM.....".  However, if I used *-t ext2*, the /boot partition would mount without a problem.  I ran fsck.ext4 (big mistake) on the /boot partition which destroyed all of the data on that partition.  The destruction of /boot is not important to me, but the steps I took to do it may give some insight on my LVM issue.</div>

<div><br></div><div>At this point, I believe that I accidentally told sfdisk that my /boot was an LVM partition which was why I was unable to boot into my os.</div><div><br></div><div><br></div><div>
Now I have the HDD  set up and when running pvdisplay I see the HDD, but it does not show a VG name and reports it as a "new physical volume".  Because it's not assigned to a VG, it does not get placed in /dev/mapper, which means I cannot run cryptsetup to unlock the drive.</div>

<div><br></div><div>Any recovery/backup information that I see being used by other people to rectify similar situations resided on the drive I am having problems with, which makes it impossible for me to use such data for recovery.</div>

<div><br></div><div>I am hoping there is a way to assign this PV to a VG without destroying any data on the disk so that I can decrypt it and export the data from the drive.</div><div><br></div><div>
I am currently dd'ing the drive to another drive so that any suggestions I get from this mailing list can be executed without taking me further from retrieving my data.</div><div><br></div><div>I appreciate you taking the time to read this email and thank you for any input or suggestions you may have.</div>

<div><br></div><div><br></div><div><div>  "/dev/sda1" is a new physical volume of "1.36 TiB"</div><div>  --- NEW Physical volume ---</div><div>  PV Name               /dev/sda1</div><div>
  VG Name               </div><div>  PV Size               1.36 TiB</div><div>  Allocatable           NO</div><div>  PE Size               0   </div><div>  Total PE              0</div><div>  Free PE               0</div>

<div>  Allocated PE          0</div><div>  PV UUID               ajtoix-aTPi-XXXX-XXXX-XXXX-XXXX-XXXXXX</div></div><span class="HOEnZb"><font color="#888888"><div><br></div><div><br></div><br clear="all"><div><br></div>-- <br>
- meLon
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>- meLon
</div>