LVM commands show disk read failure and shows the below I/O errors:
[root@server]# pvscan /dev/sdxx: read failed after 0 of 4096 at 0: Input/output error /dev/sdxx: read failed after 0 of 4096 at 567869898752: Input/output error /dev/sdxx: read failed after 0 of 4096 at 567869956096: Input/output error
The LUN was physically removed from the server before deactivating the volume group and therefore LVM commands show I/O errors. The device nodes didn’t get removed when the physical LUN was removed. The command pvscan shows I/O errors and the devices are not present/visible in the server.
Manually remove the stale /dev/sdxx device node and clean up the stale device-mapper nodes.
# echo 1 > /sys/block/sdx/device/delete
Note: Most probably, the delete procedure may not work and may fail with “no such file or directory” message. So it is always recommended to schedule a maintenance window and reboot the host to clear the I/O failure messages.