Operating System - HP-UX
1834601 Members
3721 Online
110069 Solutions
New Discussion

XP disk device names changed

 
SOLVED
Go to solution
Rick Garland
Honored Contributor

XP disk device names changed

Hi all:

XP256 on rp8400 with 2 vpars.
The fiber was swapped around and the box was rebooted during this time.

Now, the disk device names have changed. How would I map the old names to the new names?

4 REPLIES 4
Rick Garland
Honored Contributor

Re: XP disk device names changed

ping

How do I map the new disk device names?

Pete Randall
Outstanding Contributor
Solution

Re: XP disk device names changed

Rick,

I assume these are LVM volumes. Would vgscan help?


Pete

Pete
David Child_1
Honored Contributor

Re: XP disk device names changed

Since the only thing that should have changed when you swapped cables around is the controller number I would start there. Of course it depends on how many LUNs you have if this would be effective or not.

So if you had;
c4t4d5, c4t4d6, c9t2d0, c9t2d1

it might now look like;
c7t4d5, c7t4d6, c8t2d0, and c9t2d1

Of course if you have a lot of LUNs you will have multiple cXt4t5's, etc. so that wouldn't work out too well.

You don't happen to have the output of xpinfo prior to the cable swaps do you? You could then use that to cross-reference.

As already mentioned, if these are being used in volume groups you should be able to use vgscan to possibly recover.

David
Rick Garland
Honored Contributor

Re: XP disk device names changed

Wish I had the previous configs. But I was given this system as is - no prior knowledge of its existence told to "fix it"

The vgscan did the trick. Many thanks for the reminder. A command that gets rarely used but it has saved countless systems!

Thanks all.