- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Remove special file...
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
тАО08-28-2006 01:00 AM
тАО08-28-2006 01:00 AM
I would like remove Ultrium drive below which is in State "NO_HW".
I have removed all special files with rmsf command but I alway have the line:
tape 0 0/0/1/0.1.0 stape NO_HW DEVICE HP Ultrium 1-SCSI
This tape drive doesn't exist anymore.
Someone can help me ?
(root)#ioscan -fnCtape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 0/0/1/0.1.0 stape NO_HW DEVICE HP Ultrium 1-SCSI
/dev/rmt/0m /dev/rmt/0mn /dev/rmt/c0t1d0BEST /dev/rmt/c0t1d0BESTn
/dev/rmt/0mb /dev/rmt/0mnb /dev/rmt/c0t1d0BESTb /dev/rmt/c0t1d0BESTnb
tape 4 0/0/1/0.2.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/1m /dev/rmt/4m /dev/rmt/c0t2d0BEST /dev/rmt/c0t2d0DDS
/dev/rmt/1mb /dev/rmt/4mb /dev/rmt/c0t2d0BESTb /dev/rmt/c0t2d0DDSb
/dev/rmt/1mn /dev/rmt/4mn /dev/rmt/c0t2d0BESTn /dev/rmt/c0t2d0DDSn
/dev/rmt/1mnb /dev/rmt/4mnb /dev/rmt/c0t2d0BESTnb /dev/rmt/c0t2d0DDSnb
tape 3 0/0/1/0.4.0 stape CLAIMED DEVICE HP Ultrium 1-SCSI
/dev/rmt/3m /dev/rmt/3mn /dev/rmt/c0t4d0BEST /dev/rmt/c0t4d0BESTn
/dev/rmt/3mb /dev/rmt/3mnb /dev/rmt/c0t4d0BESTb /dev/rmt/c0t4d0BESTnb
(root)#
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2006 01:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2006 01:03 AM
тАО08-28-2006 01:03 AM
Re: Remove special file...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2006 01:05 AM
тАО08-28-2006 01:05 AM
Re: Remove special file...
reboot your server. it can help you to remove the NOHW state.
thanks
freddy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2006 01:12 AM
тАО08-28-2006 01:12 AM
Re: Remove special file...
Your 'rmsf' probably worked fine, but the system still has records of this device. Then when you run 'ioscan -fnCtape' it re-creates the "missing" device files.
If you run 'rmsf' as before (or using the -H flag as listed) it will get rid of the device files (that is all rmsf does). Then, during the next reboot everything should be cleared up.
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2006 01:13 AM
тАО08-28-2006 01:13 AM
Re: Remove special file...
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2006 01:27 AM
тАО08-28-2006 01:27 AM
Re: Remove special file...
I have several times attached and detached external streamers, and mostly it worked although on shouldn't do it (but I always powered the drive off ;-).
Also whenever some SAN disks are detached from an hpux host by our SAN admin this is what I run afterwards, and all NO_HW entries usually disappear
# /usr/sbin/ioscan -Fdsdisk|awk -F: '/NO_HW/{print$11}'|xargs -n1 rmsf -v -H
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2006 02:32 AM
тАО08-28-2006 02:32 AM
Re: Remove special file...
rmsf -H 0/0/1/0.1.0
works fine !