- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- VGs retrieve 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
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-25-2007 03:37 PM
01-25-2007 03:37 PM
i have created some shared VGs, using LUNs from a va7400, which connect to the system through a SAN switch.After that, some people mis-connect the fibre cable on that switch, so the device paths are not as the same as before. provided that i have make some exported map file of those VGs, could i just using vgimport to recreate those VGs. like vgimport /dev/vg** /dev/dsk/c*t*d* (c*t*d* is the new device path which match the old LUN)? or any helpful idea to present?
thanks a lot.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 04:24 PM
01-25-2007 04:24 PM
Re: VGs retrieve problem
make note of the group files minor# (0x??0000) before you start. The volumes should be deactivated too.
vgexport -v -s -m /tmp/vgname.map /dev/vgname
mkdir /dev/vgname
mknod /dev/vgname/group c 64 0x??0000
(where 0x?? is from original group file)
vgimport -v -s -m /tmp/vgname.map /dev/vgname
You could also remove the "-s" option from the vgimport syntax and append the disk device if you know which ones they are.
So you had the right idea, just need to export them before importing.
Hope this helps,
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 05:47 PM
01-25-2007 05:47 PM
Re: VGs retrieve problem
i think that your idea is an usual approach, but, in my case, the VGs is not activated after the PV paths changed, i think, i could not make that map file using vgexport. but i could still figure out which VG the actual LUN belongs to. so, could i just vgexport the VGs(to remove the VGs), and then, after mkdir and mknod, vgimport those VGs, not using map file, just using the present PV paths? and is there anything i need to pay attention to?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 06:00 PM
01-25-2007 06:00 PM
Re: VGs retrieve problem
Oh, one other thing. I hope you glared at the people that did this to you and said something along the lines of "Don't do that again..."
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 10:20 PM
01-25-2007 10:20 PM
Solutionvgcfgrestore -n
This you have to do for everydisk and then activate the volume group, check lvmtab .. Everuthing will be fine..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2007 12:56 AM
01-26-2007 12:56 AM
Re: VGs retrieve problem
When importing with the "-s" the system will probe all disks and the ones which match the VGID from your map file will be included with the import. So if you aren't sure how the old device matches up to the new device, vgexport/vgimport with -s is a safe bet.
It's quick and easy enough to do in a situation like this. Problem is it might take some time if there are a large number of luns that would be probed. You may also want to check out the primary and alternate links if you're concerned about their order.
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2007 01:57 AM
01-26-2007 01:57 AM
Re: VGs retrieve problem
This saves you a lot of time and work.
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
01-26-2007 02:35 AM
01-26-2007 02:35 AM
Re: VGs retrieve problem
There is a recent topic in the Storage Forum elaborating this some, and providing a attachment with a good pdf document with details.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1094222
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2007 06:53 PM
01-28-2007 06:53 PM
Re: VGs retrieve problem
hiã i could not catch up with your meaning. what would it do to help me to figure out WWN? could you please explain it in detailed mode?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2007 11:43 PM
01-28-2007 11:43 PM
Re: VGs retrieve problem
I just assumed hpux woudl have a tool to display the WWID of the actual devices and just with that a very explicit unique way to identify which is which. Incredibly (to me) that functionality seems to be missing in hpux. Tru64, OpenVMS, RedHat, the EFI shell have it.
Sorry.
Maybe there is something onder secure path?
References:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=916709
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=966559
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2007 04:50 PM
01-29-2007 04:50 PM
Re: VGs retrieve problem
0.0.0 - LUN0
0.0.1 - LUN1
0.1.0 - LUN8
etc.
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!