- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Drive Path renumbering
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-16-2008 07:42 AM
04-16-2008 07:42 AM
by recover, i mean, reconfiguring the lvmconf's to use the new Physical paths and alternate paths.
-CRS
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 08:04 AM
04-16-2008 08:04 AM
SolutionSince this is after-the-fact, you could recreate the '/etc/lvmtab' from scratch with:
# mv /etc/lvmtab /etc/lvmtab.old
# vgscan -av
# vgchange -a y
# lvlnboot -R
Then, re-adjust your primary and alternate links. You can ther demote ('vgreduce') primary links to secondary ones; and promote ('vgextend') demoted primary links back in as secondary ones.
Another way which is faster with ar large number of devices in a volume group is to 'vgexport' and 'vgimport' the volume group using a file containing the path information:
# vgexport -m vgNN.map -v -f vgNN.paths vgNN
...then [reorder the device files in the 'vgnn.paths' file to distribute your primary and alternate links the way you want and use that editted file to do:
# vgimport -m vgNN.map -v -f vgNN.paths vgNN
Of course, the first method does not require denying access to the volume group, whereas the second method, using 'vgexport' and 'vgimport' does, since a 'vgchange' must be performed to deactivate and then re-activate the volume group.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 09:42 AM
04-16-2008 09:42 AM
Re: Drive Path renumbering
That is exactly what I was looking for. I had done it in the past a long time ago and that how I had done it... using vgscan and all that.
Thanks,
CRS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 09:53 AM
04-16-2008 09:53 AM
Re: Drive Path renumbering
I found a procedure for 10.20 that is supposed to change the controller numbers back to what they originally were... would this still be effective with 11.23?
> 1. ioscan -kf | grep -e INTERFACE -e DEVICE | grep -v target | awk
> '{printf"%s %s %s\n",$3,$1,$2}' > /tmp/infile
>
> 2. vi the /tmp/infile and change the "ext_bus 4" (as an
> example, number
> 4 in this case to 7 if you now want c7t0d0 instead of c4t0d0)
Continue
> to do this for other "ext_bus X" to arrange the controller numbers as
> you see fit.
>
> 3. mv /tmp/infile to /stand/infile
>
> 4. mv /stand/ioconfig to /stand/ioconfig.sav
>
> 5. mv /etc/ioconfig to /etc/ioconfig.sav
>
> 6. shutdown -ry 0
>
> 7. hpux -is (single user mode)
>
> 8. cd /stand
>
> 9. /sbin/ioinit -c
>
> 10. exit and continue booting by pressing Ctrl-D
>
> 11. init s
>
> 12. /sbin/ioinit -f /stand/infile -r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 11:43 AM
04-16-2008 11:43 AM
Re: Drive Path renumbering
Keep it simple ...
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
04-16-2008 11:48 AM
04-16-2008 11:48 AM
Re: Drive Path renumbering
I've used the procedure you cited to change tape instance numbers, but as Torsten notes, "why?" go to this length.
At the least, changing instance numbers requires reboots.
The procedure I first cited can be done while to volume group is active or, at most, requires a short period of deactivation. It's also very "safe".
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 12:27 PM
04-16-2008 12:27 PM
Re: Drive Path renumbering
"SAN maintenance" means you changed something (e.g. connect the storage to another port) and get new hardware pathes?
I think so.
With the vgexport/import procedure you will adjust the systems setup to the current hardware/wire layout, but with the other procedure you will force a match between the existing layout and the old config (in other words, you will "fake" the current layout to look just like the previous). Some background is needed to understand all this (especially all the cons), but I would not work on the wrong end of this line.
BTW, all this is history with 11.31 ...
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!
