Many times after changing the firmware of the disk or removing the disk/LUN’s without clean shutdown/unmount you may get the following error:
/dev/sdf: read failed after 0 of 4096 at 0: Input/output error
/dev/sdf: read failed after 0 of 4096 at 3298534817792: Input/output error
/dev/sdf: read failed after 0 of 4096 at 3298534875136: Input/output error
/dev/sdf: read failed after 0 of 4096 at 4096: Input/output error
/dev/sdk: read failed after 0 of 4096 at 0: Input/output error
/dev/sdk: read failed after 0 of 4096 at 6442385408: Input/output error
/dev/sdk: read failed after 0 of 4096 at 6442442752: Input/output error
/dev/sdk: read failed after 0 of 4096 at 4096: Input/output error
# Check which Volume Group has the issue, run “vgscan” command.
vgscan
# Find out the Logical Volumes attached with that Volume Group.
# Inactive the logical volumes as :
lvchange -an lv-name
# Inactive Volume group as :
vgchange -an vg-name
# Again Scan the Volume group using “vgscan”.
vgscan
# Now activate the Volume Group :
vgchange -ay volume-group-name
# Run command “lvscan” , the error should be gone now.
# Now activate the Logical Volume Name :
lvchange -ay lv-name