- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NO_HW devices
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
Discussions
Discussions
Forums
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
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
тАО01-25-2005 04:41 AM
тАО01-25-2005 04:41 AM
I wanna remove all of these, so as to make ioscan o/p look better...
How do I plan...
insf -e
and rmsf -a
would this be correct to do..suggestions..?
Thanks and regards
Prashant
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2005 04:48 AM
тАО01-25-2005 04:48 AM
Re: NO_HW devices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2005 04:51 AM
тАО01-25-2005 04:51 AM
SolutionBill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2005 04:54 AM
тАО01-25-2005 04:54 AM
Re: NO_HW devices
I've run into situations that actually forced me to renumber my instance numbers, which clears the numbers and device files and lets me start over.
HP has some very appropriate warnings concerning backups and this procedure. Proceed with caution IF you need to use it.
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&admit=-1335382922+1098717421883+28353475&docId=200000067424466
Usually a script that reads the ioscan output for NO_HW and issues rmsf commands will do the trick.
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
тАО01-25-2005 04:54 AM
тАО01-25-2005 04:54 AM
Re: NO_HW devices
Usually these are created by moving FC HBAs, switch ports or array FAs around.
Generally that means the controller # is all that's changing so you might be able to just issue
rmsf /dev/dsk/cX* /dev/rdsk/cX
(where X=appropriate controller number)
commands and remove bunches at a time.
Although I would agree that a script is better suited to this task.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2005 07:05 AM
тАО01-25-2005 07:05 AM
Re: NO_HW devices
CLASS = tgt and HW_TYPE=NO_HW... removing these shall take care of stuff I want to..
Thanks and regards
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2005 07:42 AM
тАО01-25-2005 07:42 AM
Re: NO_HW devices
reboot or ioscan -fnC disk
as the running kernel still will think that it used to have a disk at that path...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2005 07:59 AM
тАО01-25-2005 07:59 AM
Re: NO_HW devices
ioscan -fnkC disk | awk '/NO_HW/{print $3}' | xargs -i rmsf -H {}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2005 12:39 PM
тАО01-25-2005 12:39 PM
Re: NO_HW devices
for devn in `ls /dev/*dsk/*`; do if `lssf $devn | grep "at address ??" 2>/dev/null 1>/dev
/null`; then rmsf $devn ; fi done
lssf asks the kernel without rescanning, so unless some of Your devices suddenly returned, this will be faster.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2005 03:55 AM
тАО01-26-2005 03:55 AM
Re: NO_HW devices
I am just referring to last response...I have that step...Kernel didnt flush the list yet..
Thanks and regards
Prashant