- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgexport and vgimport
Operating System - HP-UX
1753952
Members
7898
Online
108811
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
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
тАО06-12-2007 10:27 AM
тАО06-12-2007 10:27 AM
vgexport and vgimport
I want to clear a concept. When you give the command vgexport -s -p -m -v /tmp/vg01.map /dev/vg01 basically you are making a mapfile with vgid and lv info in that volume group. Then you ftp the /thp/vg01.map file containing that info and then on the recieving server issue vgimport -v -s -m /tmp/vg01.map /dev/vg01. When u issue -s it also gets the disk or pv info. Now, can we use this technique to restore a particular system lets say i have a rp7420 and after taking an ignite image and restoring vg00 i ftp the map file into the restoring system and then issue vgimport will this be good enough to make all the lv's on the other system. Another thing do i have to make vg01 on the restoring system or will vgimport make the volume group itself.
Thanks
Thanks
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2007 04:13 PM
тАО06-12-2007 04:13 PM
Re: vgexport and vgimport
We can restore/move the data to a diff server if that LUN/disk is allocated o the target. Then the vgimport/export process should help yo bring up the Vgs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2007 06:51 PM
тАО06-12-2007 06:51 PM
Re: vgexport and vgimport
That procedure with vgimport will certainly help, but there are some things to take care of : The disks should be accessed on the new system by identically the same /dev/dsk and /dev/rdsk device files.
If these device files are different, you need to edit the disk map of the volume group.
Before importing, you need to create directory /dev/vgwhatever manually (with mkdir), including the group file of the volume group (mknod /dev/vgwhatever/group c 64 0x0n0000), where "n" should be an unused volumegroup number (check the output of "ll /dev/vg*/group")
If these device files are different, you need to edit the disk map of the volume group.
Before importing, you need to create directory /dev/vgwhatever manually (with mkdir), including the group file of the volume group (mknod /dev/vgwhatever/group c 64 0x0n0000), where "n" should be an unused volumegroup number (check the output of "ll /dev/vg*/group")
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2007 01:39 PM
тАО06-16-2007 01:39 PM
Re: vgexport and vgimport
If you have a valid map file containing VGID ( used -s option at the time of vgexport) then it is not mandatory that device file name should remain the same, hence you can definitely vgimport to the new server without any issues.
Even If you don't have map file and you know all the detail about the VG ( like major, minor no.s and all the PV disks ) then you could import it by specifying the PV disks....
Even If you don't have map file and you know all the detail about the VG ( like major, minor no.s and all the PV disks ) then you could import it by specifying the PV disks....
Time has a wonderful way of weeding out the trivial
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