- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: lvm migrations
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2013 06:32 AM
08-06-2013 06:32 AM
lvm migrations
I was doing lvm migrations on RAC clusters which had some shared storage (pvmove). After the migrations are done everything is fine (ASM disks). The problem is the original lvm disks mounted only on each individual node were zoned to all node in the cluster, So lvm is able to see all the vg's even the one from other servers. Here is what i did on each node.
1. pvmove of the vg's mounted on each node.
2. vgreduce and pvreduce on the same node only.
with the old storage removed i was hoping to powermt check and remove the dead paths, but i am not able to do this. I am not able to remove the dead pathsfrom one node to the old storage of a vg that was mounted on another node.In otherwords the paths from the node to the old storage that was mounted on itself has been removed perfectly but the path to the other storage that is the problem. Is there a way to fix this dead paths issue without reboot? These are Redhat 5.9 boxes.
Simon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2013 07:40 AM
08-07-2013 07:40 AM
Re: lvm migrations
You should be able to remove any old /dev/sd* paths by using the /sys filesystem.
For example, to tell the system that /dev/sdX is gone for good and should be forgotten, you would do:
echo 1 > /sys/block/sdX/device/delete
It's been a long time since I had PowerPath on any Linux system, but after removing the dead /dev/sd* paths, I would try "powermt check" again if necessary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2013 06:53 PM
08-27-2013 06:53 PM
Re: lvm migrations
so the device /dev/sdau is showing as a dead path in powermt display and i offline the device using echo and then delete the device using the same echo command you provided and guess what the server panicked and rebooted. I also was looking at the online storage config guide and the same steps were mentioned and i am not sure why it panicked for a device that was offlined and removed. Any ideas?
Simon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2013 03:44 AM
08-29-2013 03:44 AM
Re: lvm migrations
Hmm... did the panic message get recorded into the system log? If it did, it might include a kernel stack trace that should be useful in understanding the problem.
What's your PowerPath version, anyway? If it is not the latest one, you might want to check the Release Notes of versions newer than you are currently using, and see if any relevant-looking bugs have been fixed in the newer versions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2013 09:38 AM
09-10-2013 09:38 AM
Re: lvm migrations
It is 5.6 which is recent. We tried on 2 hosts and the same result. so we have decided to reboot and clear this dead path. It is really strange.
Simon