LKML Archive on
help / color / mirror / Atom feed
From: "linux-os \(Dick Johnson\)" <>
To: "zine el abidine Hamid" <>
Cc: <>,
	"Linux kernel" <>
Subject: Re: Detecting I/O error and Halting System  : come back
Date: Thu, 7 Dec 2006 07:27:58 -0500	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Thu, 7 Dec 2006, zine el abidine Hamid wrote:

> Hi evrybody,
> I come back with my problem of "I/O error" (refer to
> the following link to reffresh your mind :
> )

Please don't copy everybody in the universe when you have a problem. That said, 
it is likely that you have a bad spot on your hard disk. You can verify this
bu copying the RAW device to the null device and checking for errors. Assume 
that your hard disk device was /dev/hda (not /dev/hda1 or other partitions).
You would simply execute from the root account, cp `/dev/hda /dev/null`.
That will read every block on your hard disk. If that does not produce any 
errors, then the problem that you have is caused by file-system errors,
not device errors.

To fix file-system errors, you need to restart in single-user mode:
`init 1` should bring you to that mode, then you need to unmount the 
file-systems and execute fsck on each of them. If you are unable to unmount
the file systems, then you need to cold boot in single-user mode to do so.

If you have bad blocks then you need to execute `badblocks` with its output
to `fsck -l`. That will map the bad blocks away from the file-system.

Dick Johnson
Penguin : Linux version on an i686 machine (5592.68 BogoMips).
New book:

The information transmitted in this message is confidential and may be privileged.  Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited.  If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.

      reply	other threads:[~2006-12-07 12:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-07 11:01 zine el abidine Hamid
2006-12-07 12:27 ` linux-os (Dick Johnson) [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \
    --subject='Re: Detecting I/O error and Halting System  : come back' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).