Operating System - HP-UX
1833926 Members
3010 Online
110063 Solutions
New Discussion

Re: Server changing device paths...

 
SOLVED
Go to solution
Coolmar
Esteemed Contributor

Server changing device paths...

Hi,

I have a vpar setup on one of our npars. It boots off a SAN disk. We are reconfiguring a couple of the fibre channel cables tonight and that means that the disk paths will change. It will be easy enough to find where the root disk is to boot. Once I have booted I am expecting that I will just have to vgimport the mapfile once I have booted up in order to see the volume groups and files. Am I correct or is there something I might be missing?
6 REPLIES 6
Pete Randall
Outstanding Contributor
Solution

Re: Server changing device paths...

Sally,

It wasn't with VPars, but I did have a similar situation once and, as I recall, I was able to find everything using vgscan.


Pete

Pete
Chan 007
Honored Contributor

Re: Server changing device paths...

Sal,

I had an upgrade few months back. I took map file. Then when I rebooted the SAN box,

I needed those map files to save me..!!!

Also same problem once again when I had added more SAN switches to the network.

Keep map files in /root

Chan
Coolmar
Esteemed Contributor

Re: Server changing device paths...

Can I vgexport to a mapfile when the volume groups are active? Like, can I do the vgexport at any time? Do I have to create a new map file for each volume group...ie (vg00.map, vg01.map, etc)?

Then I assume when the system is rebooted, I will just have to import each map file. Hopefully the vgscan mentioned above will work first though.
Deoncia Grayson_1
Honored Contributor

Re: Server changing device paths...

yes you can use vgexport while the volume group is still active, just do it in preview mode otherwise it won't work:

Ex:

vgexport -m /tmp/vg????.map -s -p vgname

it will complain that the volume group is still active but otherwise it will create the map file.


If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon
Pete Randall
Outstanding Contributor

Re: Server changing device paths...

Sure, use vgexport with the -p (preview) option. It won't actually export but will create the maps.


Pete

Pete
Coolmar
Esteemed Contributor

Re: Server changing device paths...

Thanks!