- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP-UX 11.31: how to rescan the new LUNs?
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
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
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
тАО04-21-2009 05:27 AM
тАО04-21-2009 05:27 AM
HP-UX 11.31: how to rescan the new LUNs?
I had to reboot my rx6660 (HP-UX 11.31) to see 4 new SAN LUNs. The "ioscan -fnC disk" did not work.
I always told proudly that "HP-UX reboot is not required to configure new SAN LUNs" but it seems that has changed.
Is this true? Why?
Perhaps the "rescan" must be done by "scsimgr" command?
Thanx in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2009 05:58 AM
тАО04-21-2009 05:58 AM
Re: HP-UX 11.31: how to rescan the new LUNs?
J.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2009 06:00 AM
тАО04-21-2009 06:00 AM
Re: HP-UX 11.31: how to rescan the new LUNs?
I would use insf -C disk
That will detect presented LUNS.
HP has a limited capacity to detect new LUNS without a reboot. It is very bad at detecting capacity increase. Better to present a new LUN and copy the data.
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
тАО04-21-2009 06:56 AM
тАО04-21-2009 06:56 AM
Re: HP-UX 11.31: how to rescan the new LUNs?
>> HP has a limited capacity to detect new LUNS without a reboot. It is very bad at detecting capacity increase. Better to present a new LUN and copy the data.
A pretty damning statement and I would have to disagree with you... in all my time working with HP-UX (10+ years) I can think of only one occasion when we needed to reboot to see new LUNs, and that eventually turned out to be down to the storage subsystem (EMC DMX) not being set with quite the correct parameters. As for not detecting capacity increases - well yes thats true on 11.11 and to some extent on 11.23, but as we are talking about 11.31 here, if the storage subsystem follows the correct behaviour described in the SCSI protocols about informing hosts when LUN sizes are changed, then HP-UX 11.31 will detect that change without a problem.
Oscar,
When I see these sorts of issues, my first consideration is doing a complete validation that I am on a fully supported storage stack - so check the FC HBA, the switch and the array controller, and look at the firmware and driver versions for all to confirm you are on a supported and tested configuration. If you are and you had to do a reboot, that's a bug and you should log a call with HP. There's no way you should be having to reboot to see new LUNs
Can you share some more of your environments configuration with us?
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2009 08:27 AM
тАО04-21-2009 08:27 AM
Re: HP-UX 11.31: how to rescan the new LUNs?
You may get wrong results if you use other parameters with ioscan, e.g. -k or -H.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2009 08:29 AM
тАО04-21-2009 08:29 AM
Re: HP-UX 11.31: how to rescan the new LUNs?
The new LUNs should show up in the ioscan -fnC disk command and you don't need to reboot the server for this.
# insf -e
# ioscan -fnC disk
If you still don't see the disks, check your fibre cable connection to the server .
rgds/ James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2009 08:34 AM
тАО04-21-2009 08:34 AM
Re: HP-UX 11.31: how to rescan the new LUNs?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2009 11:34 PM
тАО04-21-2009 11:34 PM
Re: HP-UX 11.31: how to rescan the new LUNs?
i don't see any reason to use insf -e.
With the -e option, insf reinstalls the special files for pseudo-drivers and existing devices. This is useful for restoring special
files when one or more have been removed.
( for example change the time stampe of all reinstalled devices )
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2009 11:44 PM
тАО04-21-2009 11:44 PM
Re: HP-UX 11.31: how to rescan the new LUNs?
Mostly you will get with the following as suggested by others
1. insf -c
2. ioscan -fnC disk
If you still dont see the luns let me know which Storage Array you have, have u activated the config in switch, Did this server already had luns presented and the 4 luns are added newly.
what was your fcmsutil output before reboot..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2009 05:30 AM
тАО04-22-2009 05:30 AM
Re: HP-UX 11.31: how to rescan the new LUNs?
Run the command in following order
#ioscan
#insf -e
#ioscan -funC disk (to check the new devices)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2009 07:06 AM
тАО04-22-2009 07:06 AM
Re: HP-UX 11.31: how to rescan the new LUNs?
commands should have done the job for you. If not there should be something wrong done from the storage side. At times we just get unlucky being one of such cases rare cases where we end up having to reboot the box.
Like it or worked !! Click kudos !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 11:41 PM
тАО04-23-2009 11:41 PM
Re: HP-UX 11.31: how to rescan the new LUNs?
files when one or more have been removed. <<
Thanks for pasting the manual excerpt here. If I needed it, I would have found it myself.
J.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2009 12:28 AM
тАО04-24-2009 12:28 AM
Re: HP-UX 11.31: how to rescan the new LUNs?
it was not personal.
Michal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2009 12:55 AM
тАО04-24-2009 12:55 AM
Re: HP-UX 11.31: how to rescan the new LUNs?
In this context insf -e does nothing. Not a thing.
if insf -C disk or ioscan does not work then there is a configuration problem.
Also, LUN expansion might not be detected even with a reboot. Much better to present a new LUN and migrate the data.
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
тАО11-19-2009 08:23 AM
тАО11-19-2009 08:23 AM
Re: HP-UX 11.31: how to rescan the new LUNs?
ncrdb51c # ioscan -funH 0/7/1/1
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
fc 7 0/7/1/1 fcd CLAIMED INTERFACE HP AB379-60101 4Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 2)
/dev/fcd7
fcp 1 0/7/1/1.11 fcd_fcp NO_HW INTERFACE FCP Domain
ext_bus 5 0/7/1/1.11.78.255.0 fcd_vbus NO_HW INTERFACE FCP Device Interface
ctl 3 0/7/1/1.11.78.255.0.0.0 sctl NO_HW DEVICE STK FLEXLINE 380
/dev/rscsi/c5t0d0
ext_bus 4 0/7/1/1.11.79.255.0 fcd_vbus NO_HW INTERFACE FCP Device Interface
ctl 2 0/7/1/1.11.79.255.0.0.0 sctl NO_HW DEVICE STK FLEXLINE 380
/dev/rscsi/c4t0d0
ncrdb51c # ioscan -funH 0/3/1/1
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
fc 3 0/3/1/1 fcd CLAIMED INTERFACE HP AB379-60101 4Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 2)
/dev/fcd3
fcp 0 0/3/1/1.11 fcd_fcp NO_HW INTERFACE FCP Domain
ext_bus 3 0/3/1/1.11.78.255.0 fcd_vbus NO_HW INTERFACE FCP Device Interface
ctl 1 0/3/1/1.11.78.255.0.0.0 sctl NO_HW DEVICE STK FLEXLINE 380
/dev/rscsi/c3t0d0
ext_bus 2 0/3/1/1.11.79.255.0 fcd_vbus NO_HW INTERFACE FCP Device Interface
ctl 0 0/3/1/1.11.79.255.0.0.0 sctl NO_HW DEVICE STK FLEXLINE 380
/dev/rscsi/c2t0d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2009 09:03 AM
тАО11-19-2009 09:03 AM
Re: HP-UX 11.31: how to rescan the new LUNs?
"Most of the time, our customers are forced to even shutdown the array and the server and power them on again in order to help the OS to recognize the external devises."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2009 06:10 PM
тАО11-19-2009 06:10 PM
Re: HP-UX 11.31: how to rescan the new LUNs?
<<
why are you posting , your problem in others man's thread, Doesn't it make you wired ????
if you have problem you should open new thread and post your problem,
Problems/issue may differ from person to person.
>>.had to reboot in order to see the disks<<
this absolutely wrong.
so far "As mentioned by <
configuration problem. could make this happen,
ioscan -fnC disk -> you will be able to see "Newly assigned LUNS"
Regards,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2009 04:18 AM
тАО11-20-2009 04:18 AM
Re: HP-UX 11.31: how to rescan the new LUNs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2009 04:20 AM
тАО11-20-2009 04:20 AM
Re: HP-UX 11.31: how to rescan the new LUNs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2009 07:48 AM
тАО11-20-2009 07:48 AM
Re: HP-UX 11.31: how to rescan the new LUNs?
I would take that statement and have the call escalated to L3 support - this is patently _not_ the case and if a L1/L2 support engineer has told you this, then he needs to be re-educated.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2010 03:33 AM
тАО11-30-2010 03:33 AM
Re: HP-UX 11.31: how to rescan the new LUNs?
Is there a way (please don't mention ioscan, insf) I can see the new luns (on a new Clariion array) without reboot the server?
We don't use powerpath but the Naviagent 6.29.0.6.1 is install on the server .
Thanks
Tuan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2010 05:17 AM
тАО11-30-2010 05:17 AM
Re: HP-UX 11.31: how to rescan the new LUNs?
I remembered i faced with the same problem. (Hp-ux 11.31 and vlarion array. When the storage guy first assign the disk, i couldn't see the disks, but see 4 devices(which are not the disks i think they are the controller(CX4-960WDUNB):
#ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 18 8/0/5/1/0.53.0.239.0.0.0 sdisk CLAIMED DEVICE DGC CX4-960WDUNB
/dev/dsk/c15t0d0 /dev/rdsk/c15t0d0
disk 19 8/0/5/1/0.53.1.239.0.0.0 sdisk CLAIMED DEVICE DGC CX4-960WDUNB
/dev/dsk/c16t0d0 /dev/rdsk/c16t0d0
disk 21 8/0/6/1/0.63.0.239.0.0.0 sdisk CLAIMED DEVICE DGC CX4-960WDUNB
/dev/dsk/c13t0d0 /dev/rdsk/c13t0d0
disk 22 8/0/6/1/0.63.1.239.0.0.0 sdisk CLAIMED DEVICE DGC CX4-960WDUNB
/dev/dsk/c14t0d0 /dev/rdsk/c14t0d0
After removing the device files attached to the card:
# rmsf -H 8/0/5/1/0
# rmsf -H 8/0/6/1/0
# ioscan -fnC disk
Then i could see the disks(CX4-960WDR5) without reboot.
#ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 18 8/0/5/1/0.53.0.239.0.0.0 sdisk CLAIMED DEVICE DGC CX4-960WDR5
/dev/dsk/c15t0d0 /dev/rdsk/c15t0d0
disk 19 8/0/5/1/0.53.1.239.0.0.0 sdisk CLAIMED DEVICE DGC CX4-960WDR5
/dev/dsk/c16t0d0 /dev/rdsk/c16t0d0
disk 21 8/0/6/1/0.63.0.239.0.0.0 sdisk CLAIMED DEVICE DGC CX4-960WDR5
/dev/dsk/c13t0d0 /dev/rdsk/c13t0d0
disk 22 8/0/6/1/0.63.1.239.0.0.0 sdisk CLAIMED DEVICE DGC CX4-960WDR5
/dev/dsk/c14t0d0 /dev/rdsk/c14t0d0
- Tags:
- rmsf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2010 05:34 AM
тАО11-30-2010 05:34 AM
Re: HP-UX 11.31: how to rescan the new LUNs?
There can be alot of reasons, and at that point if I knew I did what I should on the HPUX side, I'd be looking at the SAN side. I'd check that the right luns were properly mapped and masked to the right host!!!
If your disks are not present correctly, then all the ioscan and insf and reboots are not going to change a thing.
I can see the point about clearing out old paths, but even that shouldn't be necessary.
My guess is there was or is something else going on. I wonder how many UNIX folks above, raised a flag about not seeing disks, went about wasting time rebooting....when the SAN person went back and had a "Aha...oops....fix the problem and keep my mouth shut moment" Think back...did you go talk to the SAN person?
There is no need to reboot to see new disk and those folks that said you should at HP Support should be fired!! Plan and simple - they are idiots and a disgrace to HP.
Kindest regards,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2010 05:51 AM
тАО11-30-2010 05:51 AM
Re: HP-UX 11.31: how to rescan the new LUNs?
The thing is that the reboot did solve my problem. I agree, that should NOT have been the solution but it was. Therefore no issue on the SAN end, only the HP-UX end.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2010 05:57 AM
тАО11-30-2010 05:57 AM
Re: HP-UX 11.31: how to rescan the new LUNs?
I am still with Duncan on this. I work on all kinds of flavors of HPUX and the only time I reboot on new disk setups, is because I'm migrating from old arrays to new arrays. Not because of the box not seeing the new disk - but because after major operations you should always reboot to confirm/test server integrity.
Glad your working!
Rgrds,
Rita