- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to refresh ioscan entry
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
05-23-2007 12:02 PM
05-23-2007 12:02 PM
I am using a Hitachi 9200 array and HP-US 11i both connected through a fabric. Every time i create a lun or delete a lun, "ioscan -funC disk" entriies wont get removed. For example, i had some 4 luns before and entry was,
# ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 1 0/0/1/1.15.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c1t15d0 /dev/rdsk/c1t15d0
disk 5 0/2/0/0.2.0.255.0.0.0 sdisk CLAIMED DEVICE HITACHI DF500
/dev/dsk/c6t0d0 /dev/rdsk/c6t0d0
disk 12 0/2/0/0.2.0.255.0.0.1 sdisk CLAIMED DEVICE HITACHI DF500
/dev/dsk/c6t0d1 /dev/rdsk/c6t0d1
disk 13 0/2/0/0.2.0.255.0.0.2 sdisk CLAIMED DEVICE HITACHI DF500
/dev/dsk/c6t0d2 /dev/rdsk/c6t0d2
disk 14 0/2/0/0.2.0.255.0.0.3 sdisk CLAIMED DEVICE HITACHI DF500
Now, i remove two luns, and the entries are,
# ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 1 0/0/1/1.15.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c1t15d0 /dev/rdsk/c1t15d0
disk 5 0/2/0/0.2.0.255.0.0.0 sdisk CLAIMED DEVICE HITACHI DF500
/dev/dsk/c6t0d0 /dev/rdsk/c6t0d0
disk 12 0/2/0/0.2.0.255.0.0.1 sdisk CLAIMED DEVICE HITACHI DF500
/dev/dsk/c6t0d1 /dev/rdsk/c6t0d1
disk 13 0/2/0/0.2.0.255.0.0.2 sdisk NO_HW DEVICE HITACHI DF500
/dev/dsk/c6t0d2 /dev/rdsk/c6t0d2
disk 14 0/2/0/0.2.0.255.0.0.3 sdisk NO_HW DEVICE HITACHI DF500
/dev/dsk/c6t0d3 /dev/rdsk/c6t0d3
These still shows the old LUN but ofcourse the status is "NO_HW". Is there any way that these entries also get deleted with out rebooting the machine? smilarly when add a new LUN would it appear by itself without rebooting ? Thanks for your help.
- NKD
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2007 01:21 PM
05-23-2007 01:21 PM
SolutionWhen you remove a lun you can use rmsf to remove the device files. 'rmsf -H
# rmsf -H 0/2/0/0.2.0.255.0.0.2
# rmsf -H 0/2/0/0.2.0.255.0.0.3
If you then run 'ioscan -fnC disk' again, those entries should be gone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2007 05:15 PM
05-23-2007 05:15 PM
Re: how to refresh ioscan entry
You have to remove the device special file from the system using rmsf
rmsf -v -a
Have a look at tis man page
http://docs.hp.com/en/B2355-0127/rmsf.1M.html
thanks..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2007 05:28 PM
05-23-2007 05:28 PM
Re: how to refresh ioscan entry
To delete specific devices and entry in the kernel use the command rmsf. You can use the command with option -H
For more information see the man:
http://docs.hp.com/en/B2355-90692/rmsf.1M.html
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2007 01:52 PM
06-03-2007 01:52 PM
Re: how to refresh ioscan entry
Thanks for all the posts/replies. What i have found out from the above posts is that,
If i have two FC cards in my host, I have two entries for each lun through each controller. Manually deleting them all for each path is tedious job. Is there any alternative through which we can delete them in just one time for each Lun?
Thanks,
NKD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2007 03:38 PM
06-03-2007 03:38 PM
Re: how to refresh ioscan entry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2007 04:42 PM
06-03-2007 04:42 PM
Re: how to refresh ioscan entry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2007 06:27 PM
06-03-2007 06:27 PM
Re: how to refresh ioscan entry
>controller. Manually deleting them all for each path is tedious job. Is there any
>alternative through which we can delete them in just one time for each Lun?
You could write a small shell script to automate the process so you don't have to manually identify and delete the NO_HW LUNs from the ioscan listing which can be a tedious job if there are a lot of device special files involved.