how to identify files in lost+found?
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
> From: email@example.com [mailto:redhat-list-
> firstname.lastname@example.org] 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 <email@example.com>
> > Hi,
> > Last week 2 disks in the same RAID group of one of our NAS devices
> > at the same time. The hardware supplier was able to recover almost
> > data.
> > They are unable to tell me which files could not be recovered and
> > referred us to the files in /lost+found:
> > [mertensb@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@defrlpas004 lost+found]$ file *
> > #00000004: directory
> > #00000007: data
> > I tried looking for a file with the same inode without success:
> > [mertensb@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
> > interested in recovering the files from lost+found but I need to know
> > 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
> > VAT BE 0406.024.281, RPR Mechelen, ING 310-0092504-52, IBAN : BE64
> > 0925 0452, SWIFT : BBRUBEBB
> > --
> > redhat-list mailing list
> > unsubscribe mailto:firstname.lastname@example.org?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> have you used your favorite text editor and looked at the information
> 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:
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.
redhat-list mailing list