- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgimport problem in SG
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-20-2004 02:38 AM
01-20-2004 02:38 AM
I know that the modified LVM information needs to go to the failover box also.
I exported on the active node in this way:
active# vgexport -s -p -m /tmp/vg10ata /dev/vg10ata
But the import fails on the failover node:
failover# vgimport -v -s -m /tmp/vg10ata /dev/vg10ata
Beginning the import process on Volume Group "/dev/vg10ata".
vgimport: Volume group "/dev/vg10ata" already exists in the "/etc/lvmtab" file.
Why?
What's wrong with this?
Thanks. Any help will be appreciated.
Laszlo
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 02:42 AM
01-20-2004 02:42 AM
Re: vgimport problem in SG
Just take care of that all the mountpoints exist on the other nodes and that the SGpackage scripts are the same on all the nodes.
Regards,
Peter Geluk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 02:45 AM
01-20-2004 02:45 AM
SolutionI think you need to vgexport on the alternate host before you can vgimport.
So start with a
# cd /tmp
# ll /dev/vgq10data/group ( remembet the minor number)
# vgdisplay -v vg10data | grep c?t?d? ( remember the disks
# vgexport /dev/vg10data
# mkdir /dev/vg10data
# mknod /dev/vg10data/group c 64 0x??0000 ( write this one down)
# vgimport -v -s -m /tmp/vg10ata /dev/vg10ata
/dev/dsk/c?t?d? /dev/dsk/c?t?d? ....
# vgchange -a r vg10data
# vgcfgbackup vg10data
# vgchange -a n vg10data
HTH,
Gideon
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 02:47 AM
01-20-2004 02:47 AM
Re: vgimport problem in SG
In this case I think export/imortsis needed, isn't it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 02:50 AM
01-20-2004 02:50 AM
Re: vgimport problem in SG
Now you need to export and import the VG again on all the other nodes. Still take care of all the changed mountpoints.
Do the thing Gideon explained in his post to export and import the VG.
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 02:51 AM
01-20-2004 02:51 AM
Re: vgimport problem in SG
yes in that case you should definitely vgimport the vg.
Your procedure is good, only you need to vgexport the vg before you can re-import.
note the minor number of the group file
ls /dev/vg10data/group
vgexport vg10data
mkdir /dev/vg10date
mknod /dev/vg10data/group c 64 0x##0000
vgimport -v -s -m /tmp/vg10data vgdata
Regards,
Bernhard