Re: fsck errors and a lot of files in /lost+found





On Nov 23, 2010, at 7:00 AM, "Mertens, Bram" <mertensb@xxxxxxxxxxxx> wrote:




Mazda Motor Logistics Europe NV, Blaasveldstraat 162, B-2830 Willebroek
VAT BE 0406.024.281, RPR Mechelen, ING 310-0092504-52, IBAN : BE64 3100 0925 0452, SWIFT : BBRUBEBB

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
bounces@xxxxxxxxxx] On Behalf Of Jonathan S Billings
Sent: woensdag 17 november 2010 14:18
To: redhat-list@xxxxxxxxxx
Subject: Re: fsck errors and a lot of files in /lost+found

On 11/17/2010 07:37 AM, ESGLinux wrote:
Thanks, I can see some files testing first with file command.


I´m looking for usefull files there but some I don´t know the right
place I
have to copy (for example there is a lot of files that are emails but
I
don´t know the mailbox where I have to copy)

is there any way to know the original location of the files?

No, other from using the context you discover from 'file' or 'less'.

That's why the directory is called lost+found -- fsck doesn't know
where
they're supposed to go.

I asked a similar question to this a while ago. And while I understand the argument about "lost+found" means that fsck doesn't know where to put the files I don't understand why the inode number of the file is known but the name and path aren't.

Regards

Bram


fsck looks at the inode, sees that the filename and path are missing/corrupt, but the file is fine. What do you want it to do with those files? Delete them?

There's nothing that references the filename/path except the inode. If the inode info is broken, there's no way to get that info back. How is that hard to understand?

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Relevant Pages

  • Re: fsck on a live FS on AIX 7.1.0.0
    ... After doing a fsck against the filesystem we suspect might have issues, ... Inode 40190 is linked as: ... I find two other filesystems have warnings/errors. ... For the EMC service outages, I would be demanding root cause analysis from ...
    (AIX-L)
  • soft updates / background fsck directory link count bug
    ... and background fsck that results in the link count of the parent of one ... the leaf directory being removed, the file system unmounted, and then ... current inode: directory ... fsdb > inode 320921 ...
    (freebsd-current)
  • Data loss after power out - fsck: bad inode number to nextinode
    ... in my new system (FreeBSD 7.0). ... I booted the system in SUM and ran fsck on the partitions. ... du: mnt/adec: Bad file descriptor ... error message "bad inode number 306176 to nextinode" because it cannot ...
    (freebsd-questions)
  • Re: Data loss after power out - fsck: bad inode number to nextinode
    ... I booted the system in SUM and ran fsck on the partitions. ... Commander, the name of my home directory was displayed, preceeded ... du: mnt/adec: Bad file descriptor ... informative error message "bad inode number 306176 to nextinode" ...
    (freebsd-questions)
  • Re: UFS+J panics on HEAD
    ... which a clri and a fully forced fsck -y -f seems to have cleared (thanks to ... that fsck is failing to correct... ... The bitmap indicated that an inode was free, ... I would not worry much about ffs code until known hardware problem on ...
    (freebsd-current)