- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Need the commands used to vgexport and vgimport wh...
Operating System - HP-UX
1759614
Members
3618
Online
108886
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО11-10-2005 10:32 AM
тАО11-10-2005 10:32 AM
We are moving to a new EMC switch which will change the c#t#d#
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2005 10:43 AM
тАО11-10-2005 10:43 AM
Solution
The easist way is to use the "-s" option to record the VGID in the mapfile. The vgimport then scans disks matching this VGID stored in the VGRA disk area.
vgchange -a n /dev/vg10
vgexport -s -m /tmp/vg10.map /dev/vg10
Do your equipment swap
ioscan -f # dtect the new hardware
insf # create the new device nodes
# you may want to run rmsf to remove the old device nodes
vgimport -s -m /tmp/vg10.map -v /dev/vg10
vgchange -a y /dev/vg10
After the import, you can use pvchange to better optimize your primary and alternate paths.
vgchange -a n /dev/vg10
vgexport -s -m /tmp/vg10.map /dev/vg10
Do your equipment swap
ioscan -f # dtect the new hardware
insf # create the new device nodes
# you may want to run rmsf to remove the old device nodes
vgimport -s -m /tmp/vg10.map -v /dev/vg10
vgchange -a y /dev/vg10
After the import, you can use pvchange to better optimize your primary and alternate paths.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2005 02:05 PM
тАО11-10-2005 02:05 PM
Re: Need the commands used to vgexport and vgimport when new controller numbers are assigned to a server
Hi John,
As Clay so aptly enumerated, I would just like to point out that the *whole* key is using -s in both the export & import.
It causes the system to *search" all paths/disk/luns for that *specific* VGID.
Note however on slow systems with lots of disks/LUNs it may take a while.
Rgds,
Jeff
As Clay so aptly enumerated, I would just like to point out that the *whole* key is using -s in both the export & import.
It causes the system to *search" all paths/disk/luns for that *specific* VGID.
Note however on slow systems with lots of disks/LUNs it may take a while.
Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2005 02:18 PM
тАО11-10-2005 02:18 PM
Re: Need the commands used to vgexport and vgimport when new controller numbers are assigned to a server
Hi John,
I would suggest to save the map file in default path of /etc/lvmconf with the vgnames.map or semewhere out of /tmp.
This is required as sometime the contents of /tmp might get cleared during reboots or through cron jobs, if configured.
HTH,
Devender
I would suggest to save the map file in default path of /etc/lvmconf with the vgnames.map or semewhere out of /tmp.
This is required as sometime the contents of /tmp might get cleared during reboots or through cron jobs, if configured.
HTH,
Devender
Impossible itself mentions "I m possible"
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP