Hi,
I have a beagleboard XM with the angstrom test image. The lost+found folder in my “/” directory is taking up 95% of the card. How do I delete the lost+found folder and make the changes permenant? Is it possible? Becasue the image is read only and typing “rm -R lost+found” deletes the folder, but it does not persist between boots.
Regards
Aubrey.
I have a beagleboard XM with the angstrom test image.
The “lost+found” folder in my “/” (root) directory is taking up over 3Gb of the 4Gb card.
How do I delete the “lost+found” folder and make the changes permenant?
Is it possible? Becasue the image is read only and typing “rm -R lost+found” deletes the folder, but it does not persist between boots.
Anyone have any ideas?
Regards
Aubrey.
You can try to remount you root partition as RW:
# mount -o remount,rw /
# rm -r /lost+found/*
# mount -o remount,ro /
# <reset>
If this fails, try putting it into a card reader and mount it on another linux device.
/lost+found is part of the extX filesystems, you cannot get rid of it, it will always be recreated on mount.
You should also try to find the reason why the folder get filled in the first place. This normally only happens during an e2fschk run. Only files with a broken connection between their metadata and the actual file data end up there (fsck can't link a filename to the proper data blocks). You rarely see this on ext3, even when constantly turning the the device off without unmounting partitions first.