- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
04-06-2001 10:19 AM
04-06-2001 10:19 AM
I have found document KBAN00000066 which describes how to move a volume group from one HP-UX system to another.
How does vgimport reconcile the fact that the new pv_names are different from the old?
The old pvnames are
/dev/dsk/c0t10d0
/dev/dsk/c0t11d0
/dev/dsk/c0t12d0
/dev/dsk/c0t13d0
/dev/dsk/c0t14d0
/dev/dsk/c0t15d0
I don't know yet what the new names will be, I plan to set the scsi address to correspond to the old, so I think they will be something like
/dev/dsk/c6t10d0
/dev/dsk/c6t11d0
/dev/dsk/c6t12d0
/dev/dsk/c6t13d0
/dev/dsk/c6t14d0
/dev/dsk/c6t15d0
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 10:36 AM
04-06-2001 10:36 AM
Re: vgimport
that's the idea of vgimport ;)
you can move to other disk addresses and even to another VG-name.
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 10:37 AM
04-06-2001 10:37 AM
Re: vgimport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 11:03 AM
04-06-2001 11:03 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 11:19 AM
04-06-2001 11:19 AM
Re: vgimport
On your old system do this:
vgexport -m mapfile.name -s -p /dev/vg??
Note: The -p option is for preview. If you want to generate the map file but not wipe out the VG on the old machine, use that. The '-s' option is the magic one here. It will write a VGID (a string of letters and numbers) to the map file. This string allows you to vgimport using the map file, and vgimport will look for ALL drives on the system that have that VGID string.
On your new system do:
mkdir /dev/vg??
mknod c 64 0x0?0000 /dev/vg??/group
vgimport -s -m mapfile.name /dev/vg??
You now have your volume group on your new machine. Mount you lvols and you are ready to go.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 01:20 PM
04-06-2001 01:20 PM
Re: vgimport
Thanks for elaborating on that. I always use the map files. I was just looking at the lvol information. I had overlooked the VGID info.
I think the reason I do that is one time I vgexported a UX10.20 vg. Then I imported it on a 11.0 system. I had trouble with the mapfile so I deleted the VGID line, explicitely named all the pv's and it worked fine. It's just the habit I got into. Both ways work. Using the VGID does make it simpler.
Thanks.