[SunHELP] how to recover from lost+found
Wed Sep 25 17:41:41 CDT 2002
It doesn't like the "#" sign - it thinks it's a comment.
Try using a wildcard:
file "*13*
or
file "?000013"
-M
-----Original Message-----
From: lee [mailto:chayul2001 at yahoo.com]
Sent: Wednesday, September 25, 2002 4:38 PM
To: Donaldson, Mark; sunhelp
Subject: RE: [SunHELP] how to recover from lost+found
i did and here's the result.
bash-2.03# pwd
/opt/dba/lost+found
bash-2.03# ls -l | head
total 420
-rwxr-xr-x 1 oracle dba 25700 Jul 15 1997
#000013
-rwxr-xr-x 1 oracle dba 2468 Jul 15 1997
#000014
drwxr-xr-x 2 oracle dba 512 Apr 2 09:33
#000015
-rwxr-xr-x 1 oracle dba 60328 Jul 15 1997
#000016
-rwxr-xr-x 1 oracle dba 28912 Jul 15 1997
#000018
drwxr-xr-x 2 oracle dba 512 Apr 5 1996
#000022
-rwxr-xr-x 1 oracle dba 15668 Jul 15 1997
#000026
drwxr-xr-x 2 oracle dba 1536 Apr 1 17:52
#000028
-r--r--r-- 1 oracle dba 5669 Jun 26 1997
#000033
bash-2.03# file #000016
usage: file [-h] [-m mfile] [-f ffile] file ...
file [-h] [-m mfile] -f ffile
file -c [-m mfile]
bash-2.03#
--- "Donaldson, Mark" <Mark.Donaldson at experianems.com>
wrote:
> Can't "cat"?
>
> Do you get lots of junk to the screen? If so, then
> the file is probably a
> binary file (executable) fragment and pretty much
> unrecoverable. The
> append/rename procedure is usually only successful
> on text stuff.
>
> You can use "file" to try to identify contents, ie:
> $ file /etc/passwd
> /etc/passwd: ascii text
>
> -M
>
> -----Original Message-----
> From: lee [mailto:chayul2001 at yahoo.com]
> Sent: Wednesday, September 25, 2002 4:22 PM
> To: Donaldson, Mark; sunhelp
> Subject: RE: [SunHELP] how to recover from
> lost+found
>
>
> thank you for the reply.
> how do i look at the contents? i cannot "cat" it.
> ~lee
> --- "Donaldson, Mark"
> <Mark.Donaldson at experianems.com>
> wrote:
> > The best you can do is look at the contents and
> > attempt to identify it. If
> > it's text, etc. then you can append it and rename
> it
> > appropriately to create
> > a new file.
> >
> > Things in lost+found are found data fragments
> (found
> > with fsck) that are
> > moved here rather than simply discarding them.
> >
> > It's extremely common to just delete them.
> >
> > -M
> >
> > -----Original Message-----
> > From: lee [mailto:chayul2001 at yahoo.com]
> > Sent: Wednesday, September 25, 2002 4:10 PM
> > To: sunhelp
> > Subject: [SunHELP] how to recover from lost+found
> >
> >
> > hello,
> >
> > I need someone's help.
> > Under my lost+found directory, I see a bunch of
> > numbers
> >
> > bash-2.03# ls
> > #000013 #000018 #000033 #000039 #000043
> #000047
> >
> > #000063 #044800
> > #000014 #000022 #000034 #000040 #000044
> #000048
> >
> > #011200 #056000
> > #000015 #000026 #000037 #000041 #000045
> #000049
> >
> > #022400 #067200
> > #000016 #000028 #000038 #000042 #000046
> #000050
> >
> > #033600
> >
> > can someone help me figure out how to recover the
> > files
> >
> > ~lee
> > _______________________________________________
> > SunHELP maillist - SunHELP at sunhelp.org
> > http://www.sunhelp.org/mailman/listinfo/sunhelp
> > _______________________________________________
> > SunHELP maillist - SunHELP at sunhelp.org
> > http://www.sunhelp.org/mailman/listinfo/sunhelp
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
More information about the SunHELP
mailing list