I recently resized one partition inside an LVM on my disk using gparted
. No errors were given, but now the filesystem is corrupted and I'm trying to recover it.
When I mount it, no errors appear but when I ls
into the mount point I have a directory full of files/directories with broken attributes that give input/output error. To be more explicit, all files have a random name except for one detail, a dot always in the same position. For example, these are two of the file names: ?enOxfJl.mul
, FMgUIKEJ.ahg
.
I suspect there's some "shift" in the filesystem, also because one of the files is named -----BEG.IN
, that looks exactly like the beginning of a PGP message, and I actually have some of them in that partition.
I already used PhotoRec to recover readable files and it seems that nothing is really lost, I recovered quite everything but that software cannot restore also the directory tree.
I wonder if there are some kind of tricky mount options to read again the filesystem without recreating it, or simply some software to repair that broken fs. I already tried TestDisk, but it seems more appropriate for restoring broken partition tables than filesystems