- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- VGIMPORT returns the error "VG xx already exists ...
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-2002 09:30 AM
01-17-2002 09:30 AM
I'm having some problems with vgexport/vgimport
utilities. I'm actually export somes VG from one node to an another one (for MCSG). It works fine the first time. But if I make some changes on one VG in the first node and try to do the vgexport/vgimport again, the vgimport returns the error on the second node "VG already exists in lvmtab".
how can I force the update of the VG on the second node ?
Anyone gots an idea ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2002 09:34 AM
01-17-2002 09:34 AM
Re: VGIMPORT returns the error "VG xx already exists in the /etc/lvmtab"
You indicate that this is an MC/ServiceGuard configuration. Make *sure* that your 'vgimport' and 'vgexport' specifies the '-s' (shared) option.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2002 09:43 AM
01-17-2002 09:43 AM
Re: VGIMPORT returns the error "VG xx already exists in the /etc/lvmtab"
Actually i launched this commands on node 1 :
vgexport -p -s -m /tmp/vgdatabase.map /dev/vgdatabase
rcp /tmp/vgdatabase.map node2:/tmp
And on node 2 :
mkdir /dev/vgdatabase
mknod /dev/vgdatabase/group c 64 0x060000
vgimport -s -m /tmp/vgdatabase.map /dev/vgdatabase
It worked fine the first time but when I did some modifications on node 1 about this VG and did the same script, comes the error
In case of any modification on a VG, am I doing the right thing ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2002 09:52 AM
01-17-2002 09:52 AM
SolutionJust a thought:
When you are running the 'vgimport' command the second time, it will give you error because it was already imported the first time.
Before importing it again, you need to export it.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2002 09:59 AM
01-17-2002 09:59 AM
Re: VGIMPORT returns the error "VG xx already exists in the /etc/lvmtab"
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2002 10:21 AM
01-17-2002 10:21 AM
Re: VGIMPORT returns the error "VG xx already exists in the /etc/lvmtab"
Try this,
make changes to the vg on one node and do a vgexport
vgexport -p -s -m /tmp/vm_name.map /dev/vg_name
copy this file to the other node,
rcp /tmp/vg_name.map node2:/tmp/vg_name.map
On the other node.
do a vgexport without any map option,
vgexport /dev/vg_name
Create the new directory and device files,
mkdir /dev/vg_name
mknod /dev/vg_name/group c 64 0x0n0000
Here n is the same as it is on the other node or the one it was earlier.
Now import the new map file,
vgimport -s -m /tmp/vg_name.map /dev/vg_name
activate the vg in exclusive mode and see if it works,
vgchange -a e /dev/vg_name
Your cluster serivices should be running on the node.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2002 05:26 AM
01-18-2002 05:26 AM
Re: VGIMPORT returns the error "VG xx already exists in the /etc/lvmtab"
Thank you very much !