Lost Page Write I/O Errors on CentOS LVM setup

Posted by Gregg Leventhal on Server Fault See other posts from Server Fault or by Gregg Leventhal
Published on 2013-10-30T15:12:44Z Indexed on 2013/10/30 15:56 UTC
Read the original article Hit count: 208

Filed under:
|
|

I have a CentOS 6 box with LVM setup and one of the PVs is a USB disk (I know). One of them is getting the error:

Oct 30 10:57:07 alpha01 kernel: lost page write due to I/O error on dm-3
Oct 30 10:57:07 alpha01 kernel: Buffer I/O error on device dm-3, logical block 4

Which is causing problems with all of the LVs on it. pvs shows the PV as unknown device. I can ls to the logical volumes and they show up in lvdisplay, but first I get a bunch of IO errors. I made sure the cables are secure between the USB drive. What should I do to get this back up and running for the meanwhile? Should I unmount each LV and run an fsck.ext4 on each one like fsck.ext4 -y /dev/vg1/lv_logvolname ?

© Server Fault or respective owner

Related posts about linux

Related posts about lvm