- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- can i vgimport a vg back on a same system but usi...
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
01-23-2004 04:32 AM
01-23-2004 04:32 AM
*** want to accomplish this on the same system
vgexport -p -s -m data_map vgdata ( the current logcial volume for this map file is on different storage (HSG)
vgimport -v -m data_map /dev/dsk/emcdisk
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2004 04:36 AM
01-23-2004 04:36 AM
Re: can i vgimport a vg back on a same system but using different devices
I just did that last week, vgexported vg01 and imported it as vg02.
If you have trouble with the commands, sam disk will do it for you.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2004 04:40 AM
01-23-2004 04:40 AM
Re: can i vgimport a vg back on a same system but using different devices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2004 04:42 AM
01-23-2004 04:42 AM
Re: can i vgimport a vg back on a same system but using different devices
In your case, since you are using a different set of disks (may be new) the VGIDs will not match and the vgimport will fail.
But if you wanted to vgexport a set of disks first and then import the same disks with a different name, that's possible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2004 05:49 AM
01-23-2004 05:49 AM
Re: can i vgimport a vg back on a same system but using different devices
However, if the emcdisk device is not already seen by your system, you'll need an ioscan -f and an insf -e "disk" inbetween the import and export. If this is a Clariion SAN, you'll also have to do a powermt check and powermt config for powerpath to see the new device. Finally (actually, this should be done prior to doing anything else), make sure the Fibre zoning is correct and complete.
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2004 06:15 AM
01-23-2004 06:15 AM
Re: can i vgimport a vg back on a same system but using different devices
have assigned points to 242 of 379 responses
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2004 06:28 AM
01-23-2004 06:28 AM
Re: can i vgimport a vg back on a same system but using different devices
1. He has a VG on disks on an HSG80.
2. He vgexports the disk from his server.
3. What is on the EMC SAN? Nothing? Is he going to vgimport "Nothing" back onto his server? No VGDA/VGRA, Logical volumes? What?
4. If he already had something on his EMC he could vgimport it. But it's not clear to me that he does.
(Does any of this sound like a Seinfeld episode?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2004 07:05 AM
01-23-2004 07:05 AM
SolutionIf so, what I would do is:
1) Make a couple safe tape backups of data
2) Reduce out the alt paths
3) Hook the released HBA to the EMC
4) vgextend the existing VG to the new EMC LUNs.
5) Mirror the existing LVs to the EMC LUNs
6) Reduce out the HSG80 LVs
7) Reduce out the HSG80 VG
8) Hook the newly released HBA to the EMC as alt paths
9) vgextend the new paths to the VG now on the EMC
DONE. The only gotcha I see here is PV size. IF the HSG80 PVs are smaller than the EMC LUNs there will be wasted space on the EMC LUNs & in that case to get it back would take a fbackup & recreation of the VG/LV/FS structure to utilize all the space & then a frecover.
Well....I guess other gotchas could be A) No Mirror-UX B)Possible max pe/pv issues
My $0.02,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2004 07:38 AM
01-23-2004 07:38 AM
Re: can i vgimport a vg back on a same system but using different devices
Looks like this question is a follow-up question thread
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=386866
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2004 08:07 AM
01-23-2004 08:07 AM
Re: can i vgimport a vg back on a same system but using different devices
Couple of other steps that really should be in there:
A) Between steps 3 & 4
1) Storage admin zones the LUNs to the WWN of the HBA
2) ioscan -fnC disk
3) insf
B) Same steps as above between steps 8 & 9 for the other HBA
Rgds,
Jeff