buffer i/o error on device sr0

Issues related to hardware problems
BubikolRamios
Posts: 67
Joined: 2009/10/04 09:14:05

buffer i/o error on device sr0

Post by BubikolRamios » 2011/10/15 23:19:03

Server ok like 2 years, now:

memory for crash kernel (0x0 to 0x0 ) not within permiseable range
buffer i/o error on device sr0, logical block 176935
buffer i/o error on device sr0, logical block 176935
buffer i/o error on device sr0, logical block 176935
buffer i/o error on device sr0, logical block 176935
buffer i/o error on device sr0, logical block 176935
buffer i/o error on device sr0, logical block 176935
buffer i/o error on device sr0, logical block 176935
buffer i/o error on device sr0, logical block 176935

if I put in live CD, it goes beyond that, othervise not.

Please suggest.

I gues running fsck in rescue mode should do something to solve the thing ?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: buffer i/o error on device sr0

Post by TrevorH » 2011/10/16 00:22:05

/dev/sr0 [u]is[/u] your CD/DVD drive.

BubikolRamios
Posts: 67
Joined: 2009/10/04 09:14:05

Re: buffer i/o error on device sr0

Post by BubikolRamios » 2011/10/16 01:03:31

Thanks for replay.

Yeah,right, was saving some data via live cd, obviously with some errors too.

So, the real thing is:

end request; i/o error, dev sdb sector 549222599
end request; i/o error, dev sdb sector 549222599
end request; i/o error, dev sdb sector 549222599
....

and then some errors, related to this, I think, on crontab
and then:

end request; i/o error, dev sdb sector "another sector"


....

The whole thing might not even come to that, it may stop at:

...
/dev/volgroup00/logvol00 clean ...
boot: recovering journal
boot:clean ...
/dev/volgroup01/logvol00 recovering journal
/dev/volgroup01/logvol00 clean ...
...
enabling /etc/fstab/ swaps FAILED


EDIT: that is the case now, on every reboot.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: buffer i/o error on device sr0

Post by TrevorH » 2011/10/16 01:39:29

Yep, your second disk is dead or dying. Boot with the live CD and remove all references to it from /etc/fstab (comment them out!) and see if you have enough of a system remaining to boot up!

BubikolRamios
Posts: 67
Joined: 2009/10/04 09:14:05

Re: buffer i/o error on device sr0

Post by BubikolRamios » 2011/10/16 01:53:18

fstab file:

[quote]
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol00 / ext3 defaults 1 2
/dev/VolGroup01/LogVol00 /mnt/sda2 ext3 defaults 1 2
[/quote]

I know that there is nothing important on volgroup01
but if that is/will be dead, realy strange. Almost not used.
Also contence there not system related, only backups.

BubikolRamios
Posts: 67
Joined: 2009/10/04 09:14:05

Re: buffer i/o error on device sr0

Post by BubikolRamios » 2011/10/16 08:23:26

if I comment out lastline:
[quote]
#/dev/VolGroup01/LogVol00 /mnt/sda2 ext3 defaults 1 2
[/quote]
I get:

/dev/volgroup00/logvol00 clean ...
boot:clean
/dev/volgroup01/logvol00 clean
...
enabling /etc/fstab/ swaps FAILED

All clean ? So all ok ? Should "/dev/volgroup01/logvol00 clean" appear here at all, as I commented it out in fstab file ?

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

buffer i/o error on device sr0

Post by pschaff » 2011/10/16 23:10:00

That seems to be the LVM kernel driver checking available volumes, and is unrelated to the mount status.

BubikolRamios
Posts: 67
Joined: 2009/10/04 09:14:05

Re: buffer i/o error on device sr0

Post by BubikolRamios » 2011/10/17 10:47:19

if I run fsck on anything I get

[quote]WARNING: couldn't open /etc/fstab: no such file or directory[/quote]

It does check then anyway.

I rad somewhere that renaming /etc/fstab to something else & rebooting should make a difference.
I susspect so since I noticed that fstab file gets changed by reboot.

Wil try that ...

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: buffer i/o error on device sr0

Post by TrevorH » 2011/10/17 10:51:15

[quote]
I susspect so since I noticed that fstab file gets changed by reboot.
[/quote]

It should not be changed by reboot and renaming it is a bad idea(tm) unless you actually want to render your system unbotoable

BubikolRamios
Posts: 67
Joined: 2009/10/04 09:14:05

Re: buffer i/o error on device sr0

Post by BubikolRamios » 2011/10/17 11:29:50

It does not do anything anyway (renaming)

the system boot stops at same point:

[quote]enabling /etc/fstab/ swaps FAILED[/quote]

Is there any smart thing I can do regarding (observed at fsck)

[quote] WARNING: couldn't open /etc/fstab: no such file or directory[/quote]

I allso noticed, running live cd that it prints out during boot
[code]no fstab.sys, loading system defaults[/code]

Running fsck gave me:

[quote]
Error reading block 13145561 (Attempt to read block from filesystem resulted in short read) while reading indirect blocks of inode 6554425. Ignore error? yes
Force rewrite? yes
... next block
[/quote]

stopped that,

running fsck -c -c /dev/sda1 produced nothing that would suggest anything is wrong

running fsck -c -c logicalvolume now.
testing with random pattern ..., it hanged at certain point.
I guess I have to do, as last chance:
fsck -c logicalvolume

m'I close to say goodbye to my disc & reinstall OS ?

Post Reply