FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Red Hat Linux

 
 
LinkBack Thread Tools
 
Old 10-07-2010, 09:04 AM
"Mertens, Bram"
 
Default how to identify files in lost+found?

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@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 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@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 10-07-2010, 12:36 PM
hike
 
Default how to identify files in lost+found?

On Thu, Oct 7, 2010 at 5:04 AM, Mertens, Bram <mertensb@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@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 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@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.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 10-13-2010, 12:03 PM
"Mertens, Bram"
 
Default 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

-----Original Message-----
> From: redhat-list-bounces@redhat.com [mailto:redhat-list-
> bounces@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@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@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
> 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@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

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

Thread Tools




All times are GMT. The time now is 04:34 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org