I have an empty seperate partition used for my vhd/virtualbox. mounted at /mount/win7
.
I've deleted everything now and there's a lost+found folder left over. It takes up about 5gigs
Is it safe to remove a lost and found folder?
I have an empty seperate partition used for my vhd/virtualbox. mounted at /mount/win7
.
I've deleted everything now and there's a lost+found folder left over. It takes up about 5gigs
Is it safe to remove a lost and found folder?
fsck will recreate the lost+found directory if it is missing.
On startup most distributions run fsck if the filesystem is detected as not being unmounted cleanly.
As fsck creates the lost+found directory if it is missing, it will create it then and place anything that it finds into that directory.
So you can remove it but not recommended (as per Marcelo comment).
So far I was under the impression that deleting
lost+found
was perfectly safe, as it would be recreated by fsck whenever it is needed. But after the Ubuntu 12.10 upgrade I got this mail from cron:The man-page of
mklost+found
says:I am not sure what exactly that means, but it seems to indicate that not having
lost+found
might cause trouble on recovery. Furthermore it indicates thatlost+found
different from a regular directory in that it has preallocated blocks associated with it.You don't want to delete the lost+found directory.
It is an important system folder and will be recreated on next boot anyway. There is some pretty good explanation of why it is there and what it does here