The lost+found directory at the root of a filesystem is where the filesystem repair command fsck puts chunks of data that do not belong to any file.

learn more… | top users | synonyms

364
votes
3answers
129k views

What is the purpose of the lost+found folder in Linux and Unix?

There is a folder at the root of Linux and Unix operating systems called /lost+found/ What is it for? Under what circumstances would I interact with it? How would I interact with it?
9
votes
4answers
599 views

Can you have multiple lost and found directories?

I was unaware of the mklost+found command until I read this question. The mklost+found command will make a new lost+found directory in the pwd. Why would you ever need to run this command? The ...
5
votes
1answer
115 views

Why is the directory /lost+found 16K instead of 4K bytes?

I was in the root direction, /, and I did ls -lah for whatever reason and looked at the folder sizes. I noticed that the folder lost+found has a size of 16K, while all of the other directories has a ...
3
votes
1answer
415 views

Busybox NAS appliance

I have a NAS appliance that crashed last weekend. The IT guys apparently / maybe didn't recover it in the right way? There's about 50,000 directories in a "lost+found" directory each with a numeric ...
2
votes
3answers
1k views

Restore from lost+found

There was a problem on an EXT4 FS/memorycard and after and fsck all the files were put in the lost+found. Question: how can I restore the old filename/hierarchy from the lost+found? Or it is ...
1
vote
3answers
82 views

Where are my saved files in home folder?

I reinstalled my UBUNTU 12.04 after facing some crashing issues with my software. I have separate partitions for / and /home. Output of df -h: root@sougata-SATELLITE-L750:/home# df -h Filesystem ...
1
vote
3answers
1k views

File missing after fsck

Recently, my HDD crashed and I had to run a fsck command. Many files were moved to the lost+found folder and I've retrieved the important ones using find and grep, but I can't find my SQL databases. ...