- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgexport and 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
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
08-21-2004 02:07 AM
08-21-2004 02:07 AM
What is the correct procedure for exporting volume groups and then importing them back in after a cold install of 11.i? I am replacing the 2 internal disks (vg00) on our 11.0 server, cold installing 11.i, and would like to be able to vgimport the vg01-02-03 existing volume groups.
I did a vgexport -p -v -m vg01.map -f vg01.out vg01. This generated the map and outfile which I saved on tape.
I did this for the existing three vg that I want to import after 11.i and vg00 is installed.
I was reading some of the posts and the problems people had trying to vgimport. Thought I'd double check with the experts.
Thanks for the help,
Rocky
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2004 02:23 AM
08-21-2004 02:23 AM
Re: vgexport and vgimport
yours procedure is OK.
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgimport ....
vgcfgbackup vg01
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2004 03:26 AM
08-21-2004 03:26 AM
SolutionStill to summarise:
1. Note the minor number of all the VG's
# ll /dev/vg01/group
# ll /dev/vg02/group
# ll /dev/vg03/group
2. Now create the map (VG should be active)
# vgexport -p -v -m /tmp/vg01.map vg01
# vgexport -p -v -m /tmp/vg02.map vg02
# vgexport -p -v -m /tmp/vg03.map vg03
3. Backup all the Map files.
4. Now restoring Back.
# mkdir /dev/vg01
# mkdir /dev/vg02
# mkdir /dev/vg03
# mknod /dev/vg01/group c 64
# mknod /dev/vg02/group c 64
# mknod /dev/vg03/group c 64
5. Get back your Map files into /tmp
# vgimport -m /tmp/vg01.map vg01
# vgimport -m /tmp/vg02.map vg02
# vgimport -m /tmp/vg03.map vg03
That's it.
All the best.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2004 03:39 AM
08-21-2004 03:39 AM
Re: vgexport and vgimport
Rocky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2004 06:33 PM
08-22-2004 06:33 PM
Re: vgexport and vgimport
follow the above procedure.
but if you havn't gone through the work and your system is series800 use vgexport with -s option
#vgexport -s -p -v -m vg01.map /dev/vg01
#vgexport -s -p -v -m vg02.map /dev/vg02
.....
.....
this will include the VGID in the map file.
at the time of importing also use -s option.
#vgimport -v -s -m vg01.map /dev/vg01
#vgimport -v -s -m vg02.map /dev/vg02
......
......
otherwise you should give the specific physical paths to each vg while importing.
see the vgexport and vgimport man pages for more details.
regds,