[Gllug] apparent disk i/o error

Alain Williams addw at phcomp.co.uk
Thu May 23 12:31:07 UTC 2002


I don't think that I have raised this before ...

As part of my backup procedure for some machines that I look after, I put an image of
the /boot & root file systems to the tape. If write it using 'dd', this is something
that I have done for many years.

A few months ago (I think after a kernel upgrade) I started to get reports of 'Input/output error'
on some file systems. I have checked, there does not seem to be a hardware problem and
this happens on several machines. The block that the failure happens on is always one or
two from the end of the disk partition:

	# dd if=/dev/hda3 of=/dev/null bs=1k
	dd: reading `/dev/hda3': Input/output error
	1052256+0 records in
	1052256+0 records out

I have tried playing with the blocksize (bs), it still happens at bs=512.

I see from /proc/partitions 
	major minor  #blocks  name

	   3     0   39082680 hda
	   3     1      48163 hda1
	   3     2     313267 hda2
	   3     3    1052257 hda3
	   3     4          1 hda4
	   3     5    8297541 hda5
	....

The sizes agree with what fdisk tells me.

I don't get the problem on hda1 or hda2 on the above machine, ie dd gets EOF
and exits nicely.

As I say, I see this problem on several machines.

Has anyone else seen this ?

-- 
Alain Williams

#include <std_disclaimer.h>


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list