fsck errors and a lot of files in /lost+found

Phil Savoie psavoie1783 at rogers.com
Wed Nov 17 12:05:14 UTC 2010


On 11/17/2010 06:33 AM, ESGLinux wrote:
> Hi All,
>
> today I had to reboot a server that was running with problems and when I
> rebooted it gives me the error that there was problems with the disks
>
> After a long process of fsck I finally rebooted the machine but now I have a
> directory /lost+found with a lot of files like these:
>
> #1474871  #1999211  #1999240  #1999271  #1999304  #1999418  #1999445
>   #2064420  #2064531  #2064570  #2064612  #2064755  #66008   #826053  #827096
>   #832422
> #1474876  #1999214  #1999241  #1999272  #1999307  #1999419  #1999446
>   #2064422  #2064533  #2064571  #2064614  #2064756  #66011   #826230  #827097
>   #832500
> #1474877  #1999217  #1999242  #1999273
>
> I noticed I have lost files (for example /etc/postfix/main.cf isn´t there so
> my postfix does not start)
>
> My question is, How can I check this files to know which files I have lost?
>
> Thanks a lot in advance
>
> ESG

Hi.

Try the file command against each filename then cat/more/less file to 
see what it is, i.e., if file says it is acii or text.  Then cp and 
rename to appropriate place.

HTH you,

Phil




More information about the redhat-list mailing list