Cleaning Up Some LVM Stuff

Home » CentOS » Cleaning Up Some LVM Stuff
CentOS 1 Comment


one more LVM thing:

on one server some LVM stores are physically removed but still there are some informatione somwher spread adcross teh server.

e.g. if I do a vgdisplay or pvcreat I get an error regarding that old storage:

/dev/raid_10/lvol0: read failed after 0 of 4096 at 14000515383296:

How can I remove all information?

Thanks for any hint. Regards . G

One thought on - Cleaning Up Some LVM Stuff

  • What you shoul have done is deactivated that volume group before physically removing the storage media.

    I think what you want is the following:
    [ Disclaimer: I didn’t test this yet. ]

    vgchange -a n raid_10