Operating System - HP-UX
1748061 Members
5361 Online
108758 Solutions
New Discussion юеВ

Re: HPUX 11.31 ioscan not showing disks

 
SOLVED
Go to solution
Roy Augustine
Advisor

Re: HPUX 11.31 ioscan not showing disks

Thanks for the suggestion Torsten,

I got the below output..

--------------------------------------
bhpux1131_old# type ioscan
ioscan is /usr/sbin/ioscan
bhpux1131_old# file /usr/sbin/ioscan
/usr/sbin/ioscan: PA-RISC1.1 shared executable -not stripped
bhpux1131_old#
--------------------------------------
on the same machine whe I executed "setboot" I got the below results..
---------------------------------
bhpux1131_old# setboot
Primary bootpath : 0/1/1/1.0x2.0x0 (/dev/rdisk/disk7)
Alternate bootpath : 0/0/2/0.0.0x0.0x0 (/dev/rdisk/disk4)

Autoboot is ON (enabled)
Autosearch is ON (enabled)

bhpux1131_old#
----------------------------------

then I did scan on that H/W path and I got,
----------------------------------
bhpux1131_old# ioscan -H 0/1/1/1
H/W Path Class Description
=======================================
0/1/1/1 ext_bus SCSI C1010 Ultra160 Wide LVD
bhpux1131_old#

bhpux1131_old# ioscan -H 0/1/1/1.0x2.0x0
bhpux1131_old#


Thanks,
Roy
Solution

Re: HPUX 11.31 ioscan not showing disks

Roy,

What happens if you select just the new agile view from ioscan

ioscan -fnNC disk

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Roy Augustine
Advisor

Re: HPUX 11.31 ioscan not showing disks

Thank you Duncan!!

running 'ioscan -fnNC disk' gives the below output on the machine, which shows the disks..

bhpux1131_old# ioscan -fnNC disk
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
disk 4 64000/0xfa00/0x0 esdisk CLAIMED DEVICE TEAC DV-28E-C
/dev/disk/disk4 /dev/rdisk/disk4
disk 6 64000/0xfa00/0x2 esdisk CLAIMED DEVICE HP 146 GMAT3147NC
/dev/disk/disk6 /dev/rdisk/disk6
disk 7 64000/0xfa00/0x3 esdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/disk/disk7 /dev/rdisk/disk7
bhpux1131_old#

Still curious to know why normal "ioscan -f" is not displaying the disks... Is it an expected behavior is 11.31 ?

nyways, thanks for pointing me to the correct command...
Torsten.
Acclaimed Contributor

Re: HPUX 11.31 ioscan not showing disks

strange ...


Something is really wrong with this system.

This is not expected behaviour!

From a similar system (same OS):

#ioscan -f
Class I H/W Path Driver S/W State H/W Type Description
==============================================================================
...
ext_bus 2 0/1/1/0 c8xx CLAIMED INTERFACE SCSI C1010 Ultra160 Wide LVD
target 1 0/1/1/0.0 tgt CLAIMED DEVICE
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
target 0 0/1/1/0.1 tgt CLAIMED DEVICE
disk 0 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 36.4GMAS3367NC
...


#ioscan -t
Thu Apr 17 12:05:38 2008

#ioscan -m dsf
Persistent DSF Legacy DSF(s)
========================================
/dev/rdisk/disk5 /dev/rdsk/c2t0d0
/dev/rdisk/disk6 /dev/rdsk/c3t2d0
/dev/rdisk/disk7 /dev/rdsk/c0t0d0
/dev/rdisk/disk32 /dev/rdsk/c2t1d0


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!   
Roy Augustine
Advisor

Re: HPUX 11.31 ioscan not showing disks

Hi Torsten,

Me too think the same - there is something wrong with this machine... I checked all other 11.31 machines we have.. all these machines are showing disks in the "ioscan -f" output. But none of those machines are rp3410 (the model on which I'm facing this issue).

Anybody out there who has rp3410 running 11.31, please check if normal ioscan shows disks...

one more thing I noticed is the difference in the H/W path. in all other machines it shows something like 01/2/3/4.0.0 but only in this machine (rp3410) the H/W path for disks are shown as 64000/0xfa00/0x0

Roy

Torsten.
Acclaimed Contributor

Re: HPUX 11.31 ioscan not showing disks

I run the commands on a rp3440 (very similar system) - of course it should show the disks like on every other system.

The different format is the new layout vs. the legacy. Different options for ioscan (e.g. -N) will produce different output.

I would consider to "repair" the system by doing new install - who knows what else is wrong now...

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!   
Pete Randall
Outstanding Contributor

Re: HPUX 11.31 ioscan not showing disks

Roy,

The hardware path differences you noted are due to the agile view showing the persistent device file rather than the legacy device file. See the man page for intro(7):

"A persistent device special file is associated with a LUN hardware path, and thus transparently supports agile addressing and multipathing.
.
.
.
A legacy device special file is locked to a particular physical hardware path, and does not support agile addressing. Such a device special file contains hardware path information such as SCSI bus, target, and LUN in the device file name and minor number. Specifically, the class and instance portions of the device special file name indicate hardware path information and are in the format c#t#d#"


Pete

Pete

Re: HPUX 11.31 ioscan not showing disks

Roy,

Chechk that the sdisk device driver is in the kernel (I can't believe it won't be though):

kcmodule -v sdisk

Is tjere actually anything in the /dev/[r]dsk/ directories?

ls /dev/*dsk/*
lssf /dev/*dsk/*

HTH

Duncan

I am an HPE Employee
Accept or Kudo

Re: HPUX 11.31 ioscan not showing disks

Roy,

Think I have it figured out now - see p12 of this whitepaper:

http://docs.hp.com/en/dsfmigration/persistent_dsf_migration.pdf

The section entitled "Disable Legacy DSFs"

I'm guessing that someone has run:

rmsf -L

You can check whether this is the case by running:

insf -L -v

If it states that Legacy mode is disabled, then I'm right.

Seems you can re-enable legacy DSFs using:

insf -L

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Torsten.
Acclaimed Contributor

Re: HPUX 11.31 ioscan not showing disks

Duncan, I think you hit it...

# ioscan -fnCdisk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 3 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-C
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 0 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 36.4GMAS3367NC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
disk 2 0/1/1/1.2.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
# rmsf -L
WARNING: This command may be disruptive to the system.
Before running this command, make sure you have first run
iofind(1M) and migrated all applications using legacy device
special files. Please refer to the man page of rmsf(1M) to
verify the possible side effects of the option '-L'.
Do you want to continue ?
(You must respond with 'y' or 'n'.): y
rmsf: Legacy mode has been successfully disabled
# ioscan -fnCdisk
#
# insf -L -v
insf: Legacy mode is disabled
# insf -L
This command will re-install all legacy I/O nodes and legacy DSFs.
Do you want to continue ?
(You must respond with 'y' or 'n'.): y
insf: Legacy mode has been successfully enabled
# ioscan -fnCdisk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 3 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-C
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 0 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 36.4GMAS3367NC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
disk 2 0/1/1/1.2.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
#



... no need to re-install ...

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!