Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
You may want to look at man 8 vgreduce.
Particularly the --removemissing option.
Yes, this ended up being what I did and it seems to have worked out. That allowed me to clean up the Power Path devices as well. I'll just need to reboot, I assume, to clean up the device files for the disks no longer visible to the server.