Lost Page Write I/O Errors on CentOS LVM setup
- by Gregg Leventhal
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 ?