- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgimport problem
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-31-2005 06:44 AM
08-31-2005 06:44 AM
vgimport problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2005 06:50 AM
08-31-2005 06:50 AM
Re: vgimport problem
On system A
vgexport -pv -m /tmp/vg02.map -f /tmp/vg02.conf vg02
transfer the file /tmp/vg02.map and /tmp/vg02.conf to system B
On system B
mkdir /dev/vgxx (choose vg name as you want)
mkdir /dev/vgxx/group c 64 0x0y0000
oy-uniq minor id for your vg. Make sure it is not used anywhere in you configuration.
vgimport -pv -m /tmp/vg02.map -f /tmp/vg01.conf vgxx
If everything is OK, then
vgimport -pv -m /tmp/vg02.map -f /tmp/vg01.conf vgxx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2005 07:38 AM
08-31-2005 07:38 AM
Re: vgimport problem
If so then you will have to get them out of system A's configs or system A will start complaining about the remove disk.
On system A.
dismount all lvols
vgchange -a n /dev/vg02
vgexport -m /tmp/vg02.map
copy /tmp/vg02.map to system B
On system B
mkdir /dev/vgabc
mkdnod /dev/vgabc/group c 64 0x##0000 ( ## some unique number lower than maxvgs setting in kernel, i.e. 0x050000)
vgimport -m /tmp/vg02.map /dev/vgabc /dev/dsk/cxtxdx /dev/dsk/cxtxdx
The example mentioned by RAC assumes that the device files are the same for the storage on system A and system B.
Also the -p switch on the vgimport will only execute in preview mode. Drop the -p in order to actually execute.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2005 07:39 AM
08-31-2005 07:39 AM
Re: vgimport problem
vgchange -a y /dev/vgabc
vgdisplay /dev/vgabc to check on everything.
then mount your filesystems as you wish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2005 07:41 AM
08-31-2005 07:41 AM
Re: vgimport problem
you can do this using the steps from above posting.
The argument "-p" is the preview option for both commands, in combination with vgexport it prevents the remove of that vg from this system. I guess you have to leave out this with vgimport.
Make sure that this vg is NOT activated by 2 hosts at the same time for write access.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2005 07:44 AM
08-31-2005 07:44 AM
Re: vgimport problem
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
