- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Removing Stale H/W paths (without device files...
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
03-31-2005 10:03 PM
03-31-2005 10:03 PM
Removing Stale H/W paths (without device files) without Rebooting
We believe it is because there are stale hardware paths still on the server - these paths are wrong, but we cannot remove them either. As this is a production box, a reboot is really not feasible, so we need a way of removing these paths manually.
We have tried the 'rmsf' command, but with no luck - please see attached.
Please help as we are not getting any backups to tape at present.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 10:21 PM
03-31-2005 10:21 PM
Re: Removing Stale H/W paths (without device files) without Rebooting
Find all devices in /dev that point to nothing by doing:
find /dev -type c -exec lssf {} \; | grep '???'
find /dev -type b -exec lssf {} \; | grep '???'
Any of these you find should be removed - try rmsf first - if that doesn't get rid of it just use rm.
After you've gotten rid of them all re-run your ioscan - have the devices now gone?
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 10:56 PM
03-31-2005 10:56 PM
Re: Removing Stale H/W paths (without device files) without Rebooting
It's quite possible that the reverse is the problem -- that you've moved the devices and DONT have device files for them all.
I would suggest you do:
insf -e
And then check your ioscan.
Best regards,
Oz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 11:15 PM
03-31-2005 11:15 PM
Re: Removing Stale H/W paths (without device files) without Rebooting
# rmsf -k -H 1/0/8/1/0/200.0.255.0.0.0
If the Hardware is already there with the status NO_HW, the device driver for that hardware does not support the unbind option. All you can do then is to reboot.
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 11:33 PM
03-31-2005 11:33 PM
Re: Removing Stale H/W paths (without device files) without Rebooting
As my UNIX guru is not available this afternoon, I will not be able to give you an immediate update, but thankyou for all the input so far.
I did try the insf -e command (see attachments) on a test machine that we have replicated the problem on. But I am not really qualified to delete (and scared!)
However, I do get the feeling that the only way we can do this is with a reboot!
Watch this space!!
Cheers
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2005 02:57 AM
04-01-2005 02:57 AM
Re: Removing Stale H/W paths (without device files) without Rebooting
Rather risk your uptime, company, career etc - why not call HP and ask for someone in their consulting group to "come on down" and fix your system. That service is available for a fee that you should be willing to justify.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2005 03:14 AM
04-01-2005 03:14 AM
Re: Removing Stale H/W paths (without device files) without Rebooting
Rather risk your uptime, company, career etc - why not call HP and ask for someone in their consulting group to "come on down" and fix your system. That service is available for a fee that you should be willing to justify. I really hate hearing that you're uncomfortable doing this, and I don't want to see you get into a mess that you can't handle at this time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2005 04:19 AM
04-01-2005 04:19 AM
Re: Removing Stale H/W paths (without device files) without Rebooting
You said you 'recabled' and 'moved things around'. hmmm
Your SAN attached so, it is going through a switch. So I might ask a couple questions:
What was moved? from where - to where? (and I'm referring to ports here)
What effect would this have on your SAN zoning ? If changes were going to be necessary, .. were they done ? were they done right ?
Just a thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2005 04:49 AM
04-01-2005 04:49 AM
Re: Removing Stale H/W paths (without device files) without Rebooting
I'm not a unix guy, hence why I will wait till Monday for the right guy to look through all the suggestions here before anything is done.
Regarding the SAN and the MSL5000 - we have 2 NSR's in the MSL50262 so that we can even out the many single SAN attached servers we have across the 2 fabrics. What was changed - a long story but the here's the short version - I like things a certain way, NSR1 was plugged into SAN Switch 2, and NSR2 into SAN Switch 1. We also have had some issues with NSR2/Drive2 (as I said long story). Now we have NSR1 in switch 1 and so on (my tidy mind).
Yes the cabling and zoning has been done right. The library and drives has been successfully presented to a test server and all is as you would expected.
The problem we have on the production system is that the Stale H/W paths are when the MSL was down path NSR1 in switch 2. Now the MSL is actually down path NSR1 in switch 1.
We think that the server cannot pickup the MSL because of the old "stale" path still held in memory and hence the request on how to remove without a reboot!
Also, this is only our theory as we can think of no other reason why the server does not recognise the MSL and Drives. So we need to prove or disprove!
Thanks for all you input today gents! Much appreciated.
Regards
JP