- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Remove NO_HW devices from ioscan output
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
07-21-2003 06:11 AM
07-21-2003 06:11 AM
Remove NO_HW devices from ioscan output
Thoses devices are really not there any more(phisicaly removed) but I want the kernel and ioscan also reflect it. Obviously a reboot could solve this but I want to avoid if possible.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 06:13 AM
07-21-2003 06:13 AM
Re: Remove NO_HW devices from ioscan output
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 06:16 AM
07-21-2003 06:16 AM
Re: Remove NO_HW devices from ioscan output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 06:17 AM
07-21-2003 06:17 AM
Re: Remove NO_HW devices from ioscan output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 06:21 AM
07-21-2003 06:21 AM
Re: Remove NO_HW devices from ioscan output
If its still there and plugged in its going to show up on ioscan even after a boot.
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
07-21-2003 06:25 AM
07-21-2003 06:25 AM
Re: Remove NO_HW devices from ioscan output
rmsf -k -H hw_path
This will remove a disk and it's entry from ioscan, however you will still see the target class listed as "NO_HW" until you bounce the box.
Hope this helps,
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2004 07:59 AM
09-30-2004 07:59 AM
Re: Remove NO_HW devices from ioscan output
ioscan -nfC disk|grep NO_HW|awk '{print $3}'|xargs -i -t rmsf -H {}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2004 08:56 AM
09-30-2004 08:56 AM
Re: Remove NO_HW devices from ioscan output
rmsf -H
If you have lots of NO_HW entries, make a for loop script that will automate for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2004 10:17 AM
09-30-2004 10:17 AM
Re: Remove NO_HW devices from ioscan output
Unfortunately that's impossible : the io devices tree is built at boot time and NO_HW entries cannot be dynamically removed without rebooting the system.
Hope this helps,
Bye.
Francis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2004 03:44 PM
09-30-2004 03:44 PM
Re: Remove NO_HW devices from ioscan output
#rmsf -H
to remove it.Try out this most of teh time this worked.
regards
SK