- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgimport fail on hp-ux 11.31
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
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
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-16-2010 10:46 AM
08-16-2010 10:46 AM
vgimport fail on hp-ux 11.31
after using vgexport -v -p -s -m mafile vgname
it give me error:
/etc/cmcluster/aafcexp$ xp-11082010.map vgaafcexp <
vgimport: Volume group "/dev/vgaafcexp" already exists in the "/etc/lvmtab" file.
any help would be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2010 10:55 AM
08-16-2010 10:55 AM
Re: vgimport fail on hp-ux 11.31
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2010 11:08 AM
08-16-2010 11:08 AM
Re: vgimport fail on hp-ux 11.31
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2010 11:24 AM
08-16-2010 11:24 AM
Re: vgimport fail on hp-ux 11.31
You then need to use the vgimport command. In 11.31 it shoul dcreate the directroy and group file automatically, but MAY not give it the name you want.
So I would then do:
mkdir /dev/vgaafcexp
mknod /dev/vgaafcexp/group c 64 0x??0000
Where ?? is the number as per the primary node.
Unless you are looking to use LVM2, in which case it is:
mknod /dev/vgaafcexp/group c 128 0x???000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2010 12:35 PM
08-16-2010 12:35 PM
Re: vgimport fail on hp-ux 11.31
by doing vgimport vgname, it won't delete other volumes group on this node since this node has more then 10 packages up and running as well.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2010 11:26 PM
08-16-2010 11:26 PM
Re: vgimport fail on hp-ux 11.31
>the volume group is already exist on the adoptive node for fail over. I added more disks on the primary node so now i need to update the vg on the adoptive node with vgimport.
The only way to update the VG with the newly added disks on the adoptive node is to export and re-import the vg with the mapfile taken on the primary node. So you should do a vgexport first on the adoptive (failover) node, and then a vgimport.
> "by doing vgimport vgname, it won't delete other volumes group on this node since this node has more then 10 packages up and running as well."
Don't be afraid, this won't affect the other packages. ;)
Regards,
Viktor
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2010 05:54 AM
08-17-2010 05:54 AM
Re: vgimport fail on hp-ux 11.31
- first i vgexport -v -p -s -m mapfile vgname
- second, copy mapfile to fail over node
- third, vgimport -s -m mapfile vgname
error:
/etc/cmcluster/ xp-11082010.map vgaafcexp <
vgimport: Volume group "/dev/vgaafcexp" already exists in the "/etc/lvmtab" file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2010 06:10 AM
08-17-2010 06:10 AM
Re: vgimport fail on hp-ux 11.31
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2010 06:58 AM
08-17-2010 06:58 AM
Re: vgimport fail on hp-ux 11.31
Torsten means that you should adapt your procedure
[from]
primary node
- first i vgexport -v -p -s -m mapfile vgname
- second, copy mapfile to fail over node
failover node
- third, vgimport -s -m mapfile vgname
[to]
primary node
- first i vgexport -v -p -s -m mapfile vgname
- second, copy mapfile to fail over node
failover node
- secondandahalf, vgexport -v vgname
- third, vgimport -s -m mapfile vgname
You forgot to execute, the "real" vgexport, on the failover node.
Greetz,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2010 10:57 AM
08-17-2010 10:57 AM
Re: vgimport fail on hp-ux 11.31
Much appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2010 09:46 AM
08-19-2010 09:46 AM
Re: vgimport fail on hp-ux 11.31
it worked! i even had to do mknod to create again vg before importing it.