December 6, 20232 yr So recently I had an xfs drive that would not mount. I ran xfs_repair multiple times before I realized it kept dying because of OOM. I finally adjusted the options to the point that it ran to completion but now I have tons of files in lost+found. These are not backed up so I'm going to try and save what I can out of it. But I'm trying to understand how it is structured. All the files just have a numeric name. I'm assuming this is something like sector numbers. There are big chunks of files that have sequential numbers and all the files in these chunks are generally all the same size. I took one of the files and read it with the file command and it was a jpg. I copied it out to a new folder with a .jpg extension and it loaded up as an image. The thing I don't understand is that I can take the next file (same name as the first one but the number is +1) and it appears to be the _same_ image. So I'm trying to answer the following questions: 1. Can there be multiple files in a single file in lost+found (multiple files in a single sector) 2. why would two files in lost+found that appears to have come from two different sectors be actually the same file (in this case the same image) Any linux filesystem experts give me an insight into this? Thanks!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.