Operating System - HP-UX
1755752 Members
4987 Online
108838 Solutions
New Discussion юеВ

Re: ioscan - hardware not found

 
SOLVED
Go to solution
aruns_s
Frequent Advisor

ioscan - hardware not found

Hi all,
I have got an ems alert for disk failure on path 8/8.15.0. But I could not find out this disk when trying with ioscan.It is not showing on cstm also.Is there any possibility that disk will not appear in ioscan if it failed fully?Disk is listed in lvmtab.
Just to add I have already done insf -e and no luck.
Many thanks
8 REPLIES 8
Peter Godron
Honored Contributor
Solution

Re: ioscan - hardware not found

Hi,
if the disk has failed completely it will not repond to SCSI probes like ioscan.
As the disk has failed, why would you want to use it in the system, unless for a final backup attempt?
wip
Frequent Advisor

Re: ioscan - hardware not found

if the disk is failed,ioscan should show an entry with "NO_HW" for the failed disk.if not try ioscan alone and see whether it detects.If you know the device file try an diskinfo on it.

thanks
WIp
Sandman!
Honored Contributor

Re: ioscan - hardware not found

If the disk has "failed fully" or is failing then the "S/W State" column under ioscan should show "NO_HW". Are you sure that this isn't the case? Post the output of the following:

# ioscan -funC ext_bus
# ioscan -funC disk

thanks!
aruns_s
Frequent Advisor

Re: ioscan - hardware not found

# ioscan -funC ext_bus
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
ext_bus 0 8/4 c720 CLAIMED INTERFACE GSC add-on Fast/Wide SCSI Interface
ext_bus 3 8/8 c720 CLAIMED INTERFACE GSC add-on Fast/Wide SCSI Interface
ext_bus 2 8/16/0 CentIf CLAIMED INTERFACE Built-in Parallel Interface
/dev/c2t0d0_lp
ext_bus 1 8/16/5 c720 CLAIMED INTERFACE Built-in SCSI
# ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 0 8/4.5.0 sdisk CLAIMED DEVICE SEAGATE ST34573WC
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0
disk 1 8/4.8.0 sdisk CLAIMED DEVICE SEAGATE ST34573WC
/dev/dsk/c0t8d0 /dev/rdsk/c0t8d0
disk 2 8/4.9.0 sdisk CLAIMED DEVICE SEAGATE ST34572WC
/dev/dsk/c0t9d0 /dev/rdsk/c0t9d0
disk 3 8/4.10.0 sdisk CLAIMED DEVICE SEAGATE ST34573WC
/dev/dsk/c0t10d0 /dev/rdsk/c0t10d0
disk 5 8/8.12.0 sdisk CLAIMED DEVICE SEAGATE ST318436LC
/dev/dsk/c3t12d0 /dev/rdsk/c3t12d0
disk 6 8/8.13.0 sdisk CLAIMED DEVICE SEAGATE ST318436LC
/dev/dsk/c3t13d0 /dev/rdsk/c3t13d0
disk 7 8/8.14.0 sdisk CLAIMED DEVICE SEAGATE ST318275LC
/dev/dsk/c3t14d0 /dev/rdsk/c3t14d0
disk 4 8/16/5.2.0 sdisk CLAIMED DEVICE TOSHIBA CD-ROM XM-5701TA
/dev/cdrom /dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
=============================================
Sandman!
Honored Contributor

Re: ioscan - hardware not found

Could you provide information on the machine and OS type. Based on your posting the disk should have "/dev/[r]dsk/c3t15d0" as its raw and block device files. You can see it in /etc/lvmtab but not in ioscan? correct.

Please provide the output of the following:

# diskinfo -v /dev/rdsk/c3t15d0
# lssf /dev/dsk/c3t15d0
# strings /etc/lvmtab

thanks!
aruns_s
Frequent Advisor

Re: ioscan - hardware not found

Hi,
I could see stale extends in one VG and this disk belongs to that VG.I think the box might have gone for a reboot after the failure and it is not showing in ioscan at all.

What do u think?

Many thanks
Torsten.
Acclaimed Contributor

Re: ioscan - hardware not found

If the disks is failed while the OS is running, it will be showed in ioscan as NO_HW. After a reboot it will disappear from ioscan because it is dead and needs to be replaced.

ioscan cannot display a dead drive after reboot, because there is no answer from the drive.

It looks like the drive is installed in a HASS module, so locate the drive and replace it.

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!   
Sandman!
Honored Contributor

Re: ioscan - hardware not found

Looks like the disk is bad and needs to be replaced. Is the data on this disk mirrored? Here are the steps to fix this if you know that it is:

1. replace the faulty disk
2. boot into multi-user mode
3. restore LVM configuration on the new disk
# vgcfgrestore -n vgname /dev/rdsk/cXtYdZ
4. activate the VG
# vgchange -a y vgname
5. synchronize the mirrors of the lvol
# vgsync vgname
6. verify with pv/vg[display]
# pvdisplay -v /dev/dsk/cXtYdZ
# vgdisplay -v vgname

hope it helps!