Is it safe to delete the contents of lost+found?
My XFS went through a failure, which I recovered from using xfs_repair -L
. As a result, several of my files were corrupted and my lost+found directory had many files/directories created in it which are in the several hundreds of GB (my production system is in the order of TB's)
I have everything backed up, and have restored what was needed. Is it safe to delete the contents of lost+found? Does the OS somehow use it to reference some of my files?
It is safe to delete it. lost+found
is for the corrupted files, and when they were sorted, it may be deleted. It will be recreated by OS if kind of those files come around again.