- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /etc/lvmtab differences in a MC SG cluster
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
Discussions
Discussions
Forums
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
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
тАО01-16-2009 09:20 AM
тАО01-16-2009 09:20 AM
This is a 2-node MC SG cluster.
I recently tried to failover to the passive node, but the failover fails.
When I run this on both: strings /etc/lvmtab, I get 3 devices on the active, but only 2 on the passive. The disk I added is not showing on the passive.
What do I need to do to fix this?
A vgexport -m from the active, and vgimport -m from the passive? Can I do this somehow without having to umount the FS or some other service affecting set of commands?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2009 10:03 AM
тАО01-16-2009 10:03 AM
Re: /etc/lvmtab differences in a MC SG cluster
This will not affect any services
NOTE: The three disks you are taking about should be CLAIMED.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2009 10:06 AM
тАО01-16-2009 10:06 AM
Re: /etc/lvmtab differences in a MC SG cluster
Copy the file to passive server, and login into it
# vgexport /dev/vgXX
# mkdir /dev/vgXX
# mknod /dev/vgXX/group c 64 0x0X0000
>> Same minor number (0x0X0000)
# vgimport ├в s ├в m /tmp/vgXX.map vgXX
# strings /etc/lvmtab
NOTE: Passive server is presently not having the package(belonging to the above VG) running
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2009 10:09 AM
тАО01-16-2009 10:09 AM
SolutionActive node:
# vgexport -p -s -m /tmp/vgXX.map /dev/vgXX
Copy the file /tmp/vgXX.map to passive server, and login into it
# vgexport /dev/vgXX
# mkdir /dev/vgXX
# mknod /dev/vgXX/group c 64 0x0X0000
>> Same minor number (0x0X0000)
# vgimport -s -m /tmp/vgXX.map vgXX
# strings /etc/lvmtab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2009 10:17 AM
тАО01-16-2009 10:17 AM
Re: /etc/lvmtab differences in a MC SG cluster
vgexport: Volume group "/dev/vg_foo" is still active.
Is there a way to do this without taking the FS offline?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2009 10:23 AM
тАО01-16-2009 10:23 AM
Re: /etc/lvmtab differences in a MC SG cluster
now the map file has been created
You have to copy that to the other node
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2009 10:29 AM
тАО01-16-2009 10:29 AM
Re: /etc/lvmtab differences in a MC SG cluster
For getting this information, we dont have to deactivate the VG.
Now once the map file is created, just import it to the other node.
No downtime is required
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2009 10:33 AM
тАО01-16-2009 10:33 AM
Re: /etc/lvmtab differences in a MC SG cluster
I get this on the passive node:
vgimport: Volume group "/dev/vg_foo" already exists in the "/etc/lvmtab" file.
Yes, the VG is already in lvmtab, but now, there's an extra device that needs to be added.
Can vgimport be forced? I don't see a flag for it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2009 10:44 AM
тАО01-16-2009 10:44 AM
Re: /etc/lvmtab differences in a MC SG cluster
# mkdir /dev/vgXX
# mknod /dev/vgXX/group c 64 0x0X0000
>> Same minor number (0x0X0000) as that on the other node
# vgimport -s -m /tmp/vgXX.map vgXX
# strings /etc/lvmtab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2009 11:07 AM
тАО01-16-2009 11:07 AM