Hello everyone o/
Got myself a conundrum. After installing a 1Tb SSD in the computer and split into two partitions (to share between windows and Ubuntu), I got this Lost+Found file (see attached screenshot image)
on the ext4 partition that takes a hefty 40 Gb out of the drive and cannot be deleted. Strange thing is when i open the file it contains nothing(!), that means 40 Gb of nothing that can’t be used for better purposes and it drives me mad. Tried to format and wipe, tried to “take ownership” but I am “not allowed” to delete/remove it. So, I would really like to get rid of the Lost+Found and get my 40Gb back, anyone out there who knows how?
Hi @audun_s ,
The lost+found file will always be there on an ext4 formatted partition.
You should not try to delete it.
But I am surprised it is 40Gb ?
How did you do the formatting? I would recommend using gparted.
What I would do is use gparted to reformat that partition and see if you get a more sensible result.
You could also try fsck on that filesystem, and see if it detects anything unusual. You have to use fsck from rhe command line.
OK. Used Disks when I formatted the partition and ended up with the 472Gb padlocked Lost+Found file. After using Gparted i gained 31Gb and a “Normal” Lost+Found file only, guess i shall be happy with that. Tried the fsck thing from the command line, but I was immediately discouraged by being given permission do to absolutely nothing. Now starts the process of moving a life of images, videos, workshop manuals etc to free up space from the original drive.
Then I have to persuade pCloud to understand they have to back up from another disk as well, the bureaucratic mind is hard to crack - but that belongs to another post i guess
Sorry, I forgot to say you should be root to use fsck, and the partition should be unmounted. You probably dont need it now. Most Linuxes automatically fsck disks at boot time, not every boot in some cases.
Good to hear gparted cleaned it up.
Dont forget backups when changing disks