Fixing LVM I/O Errors

10 Responses

  1. waligi says:

    if it still doesn’t work, you can try
    #kpartx -d

  2. Anthony says:

    It worked. Thank you!!

  3. S says:

    Thank you so much! This worked on a SLES system and it was fixed faster after waiting over 6 hours for the vendor to call back!

  4. Dinesh says:

    Thanks….It worked for me

  5. Ed says:

    Thanks. It worked as well for me.

  6. Syed Kazmi says:

    well the procedure won’t help much on live system where you don’t have downtime. anyway, i tried lvchange -an with input/output error. following lvremove with input/output error, and the last step vgreduce –removemissing ,
    NOTE: on live system…
    Hope this help

  7. Anil says:

    Thank you it workes for me.

  8. Gustavo Vieira says:

    A simplier and secure alternative to kpartx -d:

    # lvscan
    /dev/sde: read failed after 0 of 4096 at 0: Input/output error
    ACTIVE ‘/dev/vg1/lv1’ [450.00 GB] inherit

    # echo 1 > /sys/block/sde/device/delete
    # lvscan
    ACTIVE ‘/dev/vg1/lv1’ [450.00 GB] inherit

  9. mic says:

    Merci beaucoup (thank you very much)

  10. Emanuele says:

    It worked for me too.
    You should add , first of all check that the partition is unmounted

Leave a Reply

Your email address will not be published. Required fields are marked *