- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgexport and import
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
01-17-2003 02:28 AM
01-17-2003 02:28 AM
I had a vg with 2 lv shared in exclusive mode in a 2 servers clustered environment.
I've removed one of the lv and I've created a new vg with this lv in it. All looks good on server1. What should I do on server2? Do I have to vgexport and vgimport both vg?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 02:32 AM
01-17-2003 02:32 AM
Re: vgexport and import
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 02:34 AM
01-17-2003 02:34 AM
Solutionyes you have to do this.
current node:
# vgexport -m /tmp/vgXY.map -s /dev/vgXY
(for both VGs)
other node:
# vgexport vgXY
# mkdir /dev/vgXY
# mknod /dev/vgXY/group c 64 0x??0000
keep in mind the minor number, it must be unigue
# rcp
# vgimport -m /tmp/vgXY.map vgXY
(for both VGs)
That should update the LVM config on the other node and all shoud be fine again.
Regards ...
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 02:45 AM
01-17-2003 02:45 AM
Re: vgexport and import
on server2 I get a warning about the first vg being already there.... what should I do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 02:48 AM
01-17-2003 02:48 AM
Re: vgexport and import
vgexport
first on node2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 02:48 AM
01-17-2003 02:48 AM
Re: vgexport and import
I'd made a mistake in my first discribtion. You have to use the (-p) option by vgexport on the current node ;-( sorry.
Your question now:
Please check the minor number of the group device, it has to be unique
# ll /dev/*/group
and you have first to vgexport the existing volume group on the other node befor re-importing it.
Regards ...
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 02:52 AM
01-17-2003 02:52 AM
Re: vgexport and import
vgexort -s -p -m /tmp/vgX.map /dev/vgX
rcp to the other node
other node:
vgimport -s -m /tmp/vgX.map /dev/vgX /dev/dsk/cxtydz(the PV included in vgX)