- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgexport/vgimport
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
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
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
тАО07-12-2010 08:11 AM
тАО07-12-2010 08:11 AM
I have an HP server connected to an HPEVA storage
there is one volume group crated on the storage with their file systems
I need to move these file systems to an other HPux server connected to the same EVA
can i present the same LUN to the new server , vgexport the volume group on the initial node by saving the map file then vgimporting it to the new node ? can i do it even if the volume groups does not have the same minor number ?
Thnak you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2010 08:23 AM
тАО07-12-2010 08:23 AM
Solutionvgchange -a n /dev/vgYY
2) Export
vgexport -s -m /tmp/vgYYmap /dev/vgYY
3) Copy the map to the new server and present the LUN to the new server
4) mkdir /dev/vgYY
5) mknod /dev/vgYY/group c64 0xYY0000
6) vgimport -s -m /tmp/vgYYmap /dev/vgYY
7) vgchange -a y /dev/vgYY
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2010 08:35 AM
тАО07-12-2010 08:35 AM
Re: vgexport/vgimport
but i need these two infos :
- it will work even the volume groups does not have the same minor number ?
- is it necessary to have the same volume group name ?
- is it necessary to use -s
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2010 08:49 AM
тАО07-12-2010 08:49 AM
Re: vgexport/vgimport
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2010 09:34 AM
тАО07-12-2010 09:34 AM
Re: vgexport/vgimport
Yes, it will work.
- is it necessary to have the same volume group name ?
No, It can be any as you desire.
- is it necessary to use -s
No, it is not essential.
Simple steps:
1.Make the volume group unavailable
# vgchange -a n /dev/vgxx
2.Export the the disk while creating a logical volume map file.
# vgexport -v -m data_map /dev/vgxx
3.Move the data_map file to the new system.
4.On the new system recreate the volume group directory
# mkdir /dev/vgyy
# mknod /dev/vgyy/group c 64 0xyy000
5.Import the disks to the new system
# vgimport -v -m data_map /dev/vgyy /dev/dsk/c2t1d0 /dev/dsk/c2t2d0
7.Enable the new volume group
#vgchange -a y /dev/vgyy
Rgds...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2010 05:13 PM
тАО07-12-2010 05:13 PM
Re: vgexport/vgimport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2010 09:03 PM
тАО07-12-2010 09:03 PM
Re: vgexport/vgimport
Please get me understood, what is -s going to do when device file is getting changed. Note that the volume group is removed from the exporting system and will be used by the importing system only.
Rgds...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2010 10:37 PM
тАО07-12-2010 10:37 PM
Re: vgexport/vgimport
You can also do it without -s option .. but in that case you have to identify the correct disk which you moved from the first node and need to give it with vgimport command (It is not necessary that the device file for the disk which you moved from first node to second node will have identical device file )
regards!
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2010 08:33 AM
тАО07-14-2010 08:33 AM
Re: vgexport/vgimport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2010 08:40 AM
тАО07-14-2010 08:40 AM
Re: vgexport/vgimport
> the HPUX version is 11iV1 so all the commands above are supported ?
Yes. I suggest you inspect the 11.11 manpages for more information:
http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01911800/c01911800.pdf
Regards!
...JRF...