Can't delete logical volumes
So we have some logical volumes that weren't in use any more. The drives were removed from the server (SAN storage). The problem is we didn't quite coordinate it and the volumes weren't deleted before the storage was pulled.
Now, lvm is throwing errors on most any command. lvremove isn't removing the volumes as it says it can't get information about the volume group. We do have valid volumes mounted and in use on those volume groups, however. A call to support turned up the usual. Confusion with a request to get more output with a follow-up at some future point. I'm wondering if it's just as simple as making copies of the vg files in /etc/lvm/backup and deleting the old volumes, then going from there? Any help is appreciated. The errors are multiples of: /dev/dm-16: read failed after 0 of 4096 at 0: Input/output error /dev/dm-17: read failed after 0 of 4096 at 0: Input/output error Couldn't find device with uuid 'X5x8vG-chsN-CVqI-H2Ky-wdyq-95aG-vf9sgV'. Couldn't find all physical volumes for volume group oravg04. |
Do you have a complete list of the device files for the disks that were removed?
You are probably going to have to manually move the device files to a different folder (to be removed later if all goes well). If you still have the disks, you could try reattaching them to the SAN and removing the volumes, but I wouldn't expect that to be easy (if even possible). |
Quote:
|
Could you post the result of "mount", "cat /proc/partitions" and "lvdisplay" ?
|
Also, please post output of pvdisplay and vgdisplay
|
You may want to look at man 8 vgreduce.
Particularly the --removemissing option. |
Quote:
|
All times are GMT -5. The time now is 05:48 PM. |