how to identify files in lost+found?

Mertens, Bram mertensb at mazdaeur.com
Wed Oct 13 12:03:28 UTC 2010


>


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 at redhat.com [mailto:redhat-list-
> bounces at redhat.com] On Behalf Of hike
> Sent: donderdag 7 oktober 2010 14:37
> To: General Red Hat Linux discussion list
> Subject: Re: how to identify files in lost+found?
>
> On Thu, Oct 7, 2010 at 5:04 AM, Mertens, Bram <mertensb at mazdaeur.com>
> wrote:
>
> > Hi,
> >
> > Last week 2 disks in the same RAID group of one of our NAS devices
> crashed
> > at the same time.  The hardware supplier was able to recover almost
> all
> > data.
> >
> > They are unable to tell me which files could not be recovered and
> have
> > referred us to the files in /lost+found:
> > [mertensb at defrlpas004 lost+found]$ ls -li
> > total 280
> > 4 dr-xr-xr-x 2 root isop   1024 May  5 22:36 #00000004
> > 7 -r--r--r-- 1 root isop 262152 Apr 22 17:34 #00000007
> > [mertensb at defrlpas004 lost+found]$ file *
> > #00000004: directory
> > #00000007: data
> >
> > I tried looking for a file with the same inode without success:
> > [mertensb at defrlpas004 lost+found]$ sudo find /srv/etas/ -samefile
> > \#00000007 -ls
> >     7  272 -r--r--r--   1 root     isop       262152 Apr 22 17:34
> > /srv/etas/lost+found/#00000007
> >
> > How can I find out which directory and which this is?  I am not
> really
> > interested in recovering the files from lost+found but I need to know
> the
> > file name and path so I can ask for a restore from backup.
> >
> > Kind regards
> >
> > Bram
> >
> >
> >
> > 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
> >
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
>
>
> have you used your favorite text editor and looked at the information
> inside
> the file?
> that's what we did in the old days.

One "file" is actually a directory and the other is reported by 'file' as being data.  Even 'strings' does not reveal anything readable in the data file.

The contents of the directory is:
total 16
dr-xr-xr-x 2 root isop 1024 May  5 22:36 ./
drwxrwxrwt 3 root isop 8192 Oct  5 04:39 ../

Which does not tell me much about its name or expected contents.

This file system contains online courses so there might be compressed files, images in various formats etc.

Regards

Bram




More information about the redhat-list mailing list