Recover an ext4 file system on an lvm logical volume

Using TestDisk to repair the filesystem
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
jgdempsey
Posts: 1
Joined: 20 Jun 2017, 23:13

Recover an ext4 file system on an lvm logical volume

#1 Post by jgdempsey »

Hi all,
I have been able to recover all of the Logic Volume info for a LVM drive, but am getting a "Bad magic number" error for all of the Superblocks that I have tried when I try to do an e2fsck on the volume, which had an ext4 file system on it. I have tried a number of the alternative super blocks, but so far get the same error.
Any other possibilities for recovery?
Thanks
JD

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Recover an ext4 file system on an lvm logical volume

#2 Post by cgrenier »

Please post the output of pvdisplay -a, vgdisplay, lvdisplay -a
Run TestDisk, Advanced, SuperBlock on the ext4 filesystem, post the testdisk.log file content and the e2fsck command you are using

Locked