Score:1

How to use ext4magic in LVM?

cn flag

I'm trying to recover using ext4magic.my partition was LVM.

try to execute command

ext4magic /dev/sda1  -J -f -s 2048  imges/

error

/dev/sda2 Error 2133571347 while opening filesystem 
ext4magic : EXIT_SUCCESS
Score:0
cn flag

Other than the typo (imges not images) it looks like that error code means either the superblock is corrupt or not loading correctly.

Do you need to put imges/ next to the -f flag for it to work? And was 2048 definitely your block size?

Otherwise, you could attempt to recreate/recover the LVM partition instead. I've done this once before and it worked well enough to recover data. I believe by default there should be some backup files in /etc/lvm/backup with details of the volumes.

Raja avatar
cn flag
And also can't find my block size!
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.