Debian Developers - How to fix a disk problem/damaged file?

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > July 2006 > How to fix a disk problem/damaged file?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to fix a disk problem/damaged file?
Atsuhito Kohda

2006-07-28, 1:23 am

Hi all,

I recently noticed that /usr/lib/perl5/XML/Parser on my
Debian/Stable (UltraSparc) seemed to be damaged.

~$ ls /usr/lib/perl5/XML/Parser
ls: /usr/lib/perl5/XML/Parser: Input/output error

And I failed to reinstall libxml-parser-perl_2.34-4_sparc.deb
with the same reason.

How can I fix this problem safely?

I have expanded libxml-parser-perl_2.34-4_sparc.deb in a working
directory and got clean usr/lib/perl5/XML/Parser directory.

Is it possible and safe to
mv /usr/lib/perl5/XML /usr/lib/perl5/NA (or something)
and
cp -a ~/work/usr/lib/perl5/XML /usr/lib/perl5/ ?

This machine is not i386 so I can't use Knoppix ...

Will this cause boot failure when fsck'ing ?
Thanks inadvance.

Regards, 2006-7-28(Fri)
--
Debian Developer & Debian JP Developer - much more I18N of Debian
Atsuhito Kohda <kohda AT debian.org>
Department of Math., Univ. of Tokushima


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Stephen Gran

2006-07-28, 1:23 am

This one time, at band camp, Atsuhito Kohda said:
> Hi all,
>
> I recently noticed that /usr/lib/perl5/XML/Parser on my
> Debian/Stable (UltraSparc) seemed to be damaged.
>
> ~$ ls /usr/lib/perl5/XML/Parser
> ls: /usr/lib/perl5/XML/Parser: Input/output error
>
> And I failed to reinstall libxml-parser-perl_2.34-4_sparc.deb
> with the same reason.
>
> How can I fix this problem safely?
>
> I have expanded libxml-parser-perl_2.34-4_sparc.deb in a working
> directory and got clean usr/lib/perl5/XML/Parser directory.
>
> Is it possible and safe to
> mv /usr/lib/perl5/XML /usr/lib/perl5/NA (or something)
> and
> cp -a ~/work/usr/lib/perl5/XML /usr/lib/perl5/ ?
>
> This machine is not i386 so I can't use Knoppix ...
>
> Will this cause boot failure when fsck'ing ?
> Thanks inadvance.


First, I suggest this query is better for debian-user@lists.debian.org,
since it is not related to general development issues.

Second, an I/O error trying to ls a file usually points to severe disk
or file system corruption. Make sure your backups are in good shape,
and good luck.
--
-----------------------------------------------------------------
| ,''`. Stephen Gran |
| : :' : sgran@debian.org |
| `. `' Debian user, admin, and developer |
| `- http://www.debian.org |
-----------------------------------------------------------------

Atsuhito Kohda

2006-07-30, 1:22 pm

On Fri, 28 Jul 2006 02:15:34 +0100, Stephen Gran <sgran@debian.org> wrote:

> First, I suggest this query is better for debian-user@lists.debian.org,
> since it is not related to general development issues.


Right, and I know it, sorry for that.

> Second, an I/O error trying to ls a file usually points to severe disk
> or file system corruption. Make sure your backups are in good shape,
> and good luck.


Thanks for your help.

Regards, 2006-7-30(Sun)
--
Debian Developer & Debian JP Developer - much more I18N of Debian
Atsuhito Kohda <kohda AT debian.org>
Department of Math., Univ. of Tokushima


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com