Web lists-archives.com

all files moved to lost+found

Hi everyone,

I have a bit of a problem I never faced before and I'm in need of some guidance that may require some patience if to do it right and not lose any data.

I have a lenovo ideapad 320, and I changed its internal HD to a 2TB seagate, 3 months ago.

In the last couple of weeks I got this "small" problem twice:

Laptop won't boot saying it couldn't read /home partition. The only partition in the 2TB plus a swap. OS is in a SSD.

So, twice I could login as root single mode, run:

e2fsck -vy /dev/sda3

and boot ok after lots of messages of inodes failing to do their inodes thing.

This time was different: I booted the machine and it won't complain, just opened KDE with no icons on it. Blank desktop, with my owl wallpaper.

I was worried, moved to tty1, killed the desktop section and then run the same e2fsck above. Again, lots of inodes errors. 

No badblocks. I also run e2fsck -pckv /dev/sda3 which took 5 hours to finish, and no badblocks.

Now, I rebooted it, and still, same empty /home/user

I notice on the other hand that there are A LOT of files under /home/lost+found
All names are just numbers in the form "#383389933" and so on. Even directories like that.

I used "file #339938383" to see what the file is about. I found some PGN images, and I could also identify some of my directories. They seem to be all there. Just the names are crazy, and they are not in /home/user.

Now that I never got before.

How should I proceed?

Is there a command that brings back lost+found files to theis "found-and-not-lost" correct places?

Thanks guys.


Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure you realize that what you heard is not what I meant" -- Alan Greenspan

Creation date: pgp.mit.edu ID as of 2014-11-09