14

[ubuntu] Mistakenly extended LVM Volume Group Over Partition

view full story
linux-howto

http://ubuntuforums.org – Ok here is my predicament. I had a 2TB hard drive that had a 1.8TB ext4 partition at the beginning of the drive (/dev/sda2) and I had a LVM volume group inside an extended partition on the rest of the drive (/dev/sda5). I made the mistake of vgextend VolGroup /dev/sda5 and have lost access to my 1.8TB partition. I have done nothing else with this PC (not even rebooted). Is there anyway to undo the extension and recover my data or to fully integrate that partition into the volume group? (Hardware)