- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX 11.31: How to remove failed lun paths from m...
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
08-11-2008 06:51 AM
08-11-2008 06:51 AM
After zoning changes certain device paths moved to other box ports. The new path was recognized without problems but the old path switched to state FAILED.
LUN PATH INFORMATION FOR LUN : /dev/rdisk/disk40
Total number of LUN paths = 8
World Wide Identifier(WWID) = 0x60a98000486e534b4834486d33333042
LUN path : lunpath115
Class = lunpath
Instance = 115
Hardware path = 1/0/12/1/0.0x500a098786681418.0x4001000000000000
SCSI transport protocol = fibre_channel
State = ACTIVE
Last Open or Close state = ACTIVE
LUN path : lunpath129
Class = lunpath
Instance = 129
Hardware path = 1/0/12/1/0.0x500a098596681418.0x4001000000000000
SCSI transport protocol = fibre_channel
State = FAILED
Last Open or Close state = ACTIVE
This is OK in normal operation if the path returns later. But how to manually remove the instance from the configuration if I know it's never coming back? It's gone after rebooting.. but this has to work without a reboot too.
Any suggestions?
Armin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2008 06:56 AM
08-11-2008 06:56 AM
Re: HP-UX 11.31: How to remove failed lun paths from multi pathing?
Never tried so far, but maybe the "erase" option has to be used.
See
http://docs.hp.com/en/B2355-60130/scsimgr.1M.html
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
08-11-2008 08:57 AM
08-11-2008 08:57 AM
Re: HP-UX 11.31: How to remove failed lun paths from multi pathing?
It would also help to rmsf the devices and re-run insf -C disk
After making sure the path is not connected any more.
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
08-11-2008 11:43 PM
08-11-2008 11:43 PM
Re: HP-UX 11.31: How to remove failed lun paths from multi pathing?
scsimgr erase is for magneto-optical devices.
The only "delete" option is ddr_del, but the man page is very fuzzy here.
rmsf and ioscan was done before all that. If it was that easy, I would no ask such a question :-)
Any more suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2008 08:21 AM
11-26-2008 08:21 AM
Solutionscsimgr -p lun_map -D /dev/rdisk/disk40
from this command find which paths are failed or degraded.
Disable them with
scsimgr disable
and then do
rmsf -H 1/0/12/1/0.0x500a098786681418.0x4001000000000000(this taken from your above output)
This would remove this bad path.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2008 02:41 AM
11-28-2008 02:41 AM
Re: HP-UX 11.31: How to remove failed lun paths from multi pathing?
Thanks!
It seems that there are 2 independent namespaces if you use agile devices.
Normaly I do a
# ioscan -fnkCdisk|awk '/NO_HW/ {print $3}'|xargs -n 1 rmsf -H
to cleanup NO_HW disks.
But somehow this does not affect the paths of agile devices.
I wrote a script to cleanup all FAILED devices (incl. the lun if no path is left).
Maybe it's of any use to the public... find it in the attachement!
Regards,
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2008 02:43 AM
11-28-2008 02:43 AM