1834166 Members
3362 Online
110064 Solutions
New Discussion

Re: swap error

 
Sudhakar_7
Occasional Advisor

swap error

Hi,

I get the following error in my syslog, is it because of bad blocks? or is any other reason exist?

Mar 6 20:33:14 hpms1 vmunix: Page I/O error(1) while swapping from disk for device 0x03000000,
Mar 6 20:33:14 hpms1 vmunix: block #9224282, page addr = 11ed000.6fabb000
Mar 6 20:33:14 hpms1 vmunix: Making the above swap block unavailable for future use. Please check
Mar 6 20:33:14 hpms1 vmunix: for any possible hardware/firware errors on the swap
Mar 6 20:33:14 hpms1 vmunix: device IMMEDIATELY
Mar 6 20:36:03 hpms1 vmunix: Page I/O error(1) while swapping from disk for device 0x03000000,
Mar 6 20:36:03 hpms1 vmunix: block #9126130, page addr = 11ed000.6ac80000
Mar 6 20:36:03 hpms1 vmunix: Making the above swap block unavailable for future use. Please check
Mar 6 20:36:03 hpms1 vmunix: for any possible hardware/firware errors on the swap
Mar 6 20:36:03 hpms1 vmunix: device IMMEDIATELY

Is there any way to find and mark bad block on swap (for that matter on any fs)?

Regards

Sudhakar J
4 REPLIES 4
Ravi_8
Honored Contributor

Re: swap error

Hi,

could you post the o/p
#dd if=/dev/dsk/cxtxdx of=/dev/null bs=1024K
never give up
Ravi_8
Honored Contributor

Re: swap error

Hi,

could you post the o/p
#dd if=/dev/dsk/cxtxdx of=/dev/null bs=1024K

if you find any I/O error, then disk is in problem
never give up
Donald Kok
Respected Contributor

Re: swap error

Hi,
I think you have to disable the swap device, or make a new one. Then you need to reboot, to be able to check the device.

Swapdevices can not be disabled on the fly.

Good luck
Donald
My systems are 100% Murphy Compliant. Guaranteed!!!
Stefan Farrelly
Honored Contributor

Re: swap error

Only a dd will prove you have a bad block (dd if=/dev/vgXX/rlvolYY of=/dev/null). It will return with an I/O error, but no need to run it, you definitely have a bad block.

Its not critical, the kernel has mapped the bad block out so it wont be referenced but I would call HP to have the disk replaced.

Im from Palmerston North, New Zealand, but somehow ended up in London...