how to identify files in lost+found?

Mertens, Bram mertensb at mazdaeur.com
Thu Oct 7 09:04:06 UTC 2010


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





More information about the redhat-list mailing list