- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with vgextend command
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
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
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
06-08-2009 10:38 AM
06-08-2009 10:38 AM
Problem with vgextend command
I made the extension of the VG with the new LUNs on the primary HP-UX server but I can’t extend the same VG on the second HP-UX server.
When I run the vgextend command the system return the following message:
vgextend /dev/vgdbofprod /dev/dsk/c10t3d4
Current path "/dev/dsk/c10t0d2" is an alternate link, skip.
Current path "/dev/dsk/c8t1d0" is an alternate link, skip.
vgextend: Couldn't install the physical volume "/dev/dsk/c10t3d4".
Device busy
Please, could somebody help me?
Thanks
Toscanini
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2009 10:44 AM
06-08-2009 10:44 AM
Re: Problem with vgextend command
you need to shutdown the cluster export the eg from node 1 and them import it to the node 2.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2009 10:47 AM
06-08-2009 10:47 AM
Re: Problem with vgextend command
Toscanini.-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2009 10:49 AM
06-08-2009 10:49 AM
Re: Problem with vgextend command
If the disk is on another vg, it have a vgid of the another vg. So it's normal that it's busy. So deactivate the vg on the first node and distribute the volume group with vgexport/vgimport.
Hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2009 11:19 AM
06-08-2009 11:19 AM
Re: Problem with vgextend command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2009 08:58 PM
06-08-2009 08:58 PM
Re: Problem with vgextend command
You can find the manual here.
http://docs.hp.com/en/ha.html#Serviceguard
or this page onwards
http://docs.hp.com/en/B3936-90079/ch05s04.html
Regards
WCI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2009 01:32 AM
06-09-2009 01:32 AM
Re: Problem with vgextend command
You do not need to perform extension on the second server. Infact you should not attempt to.
When you extended it on the primary server, it already modified the LVM headers on the disks with the new information. Now the disks being shared and viewable by both servers in the cluster (as it should be), you only need to update the lvmtab and create relevant device files for the new luns, on the secondary server.
Follow below:
perform ioscan and ensure disks are claimed
#insf -e #Creates device files
On Primary server:
For each vg that that you added luns to, that is shared and active on primary server, do
#vgexport -p -v -s -m
Copy this map file to the secondary server
On Secondary server:
Note down the minor numbers of the group file
#ll /dev/vg*/group > tmpfile
For each vg that you added luns to, shared, and that is active now on primary server, do
#vgexport vgname # Exports and removes configuration
#mkdir /dev/vgname
#mknod /dev/vgname/group c 64
#vgimport -s -v -m
Remember that a different map file needs to be used for each vg.
And all this can be performed WITHOUT down time when the cluster and packages are up and running :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2009 04:44 AM
06-09-2009 04:44 AM
Re: Problem with vgextend command
You should follow the correct approach described by "Anoop P".
This is the correct order to do what you are attended to do ..
If you have any problem please reply.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2009 09:24 AM
06-09-2009 09:24 AM
Re: Problem with vgextend command
- Kevin