Operating System - HP-UX
1752508 Members
5432 Online
108788 Solutions
New Discussion юеВ

Re: diskinfo and ioscan not reporting

 
Michael Murphy_2
Frequent Advisor

diskinfo and ioscan not reporting

Hello - we have a disk that is confusing - it does show claimed in ioscan - but does not show pvdisplay or diskinfo (see below) and dd does not work - any idea of why this could be happening?

# ioscan -fnH 10/4/4.5.0
Class I H/W Path Driver S/W State H/W Type Description
================================================================
disk 4 10/4/4.5.0 disc3 CLAIMED DEVICE SEAGATE ST34573WC
/dev/dsk/c1t5d0 /dev/rdsk/c1t5d0
/dev/floppy/c1t5d0 /dev/rfloppy/c1t5d0
# dd if=/dev/rdsk/c1t5d0 of=/dev/null
/dev/rdsk/c1t5d0: No such device or address
dd: cannot open /dev/rdsk/c1t5d0
# pvdisplay /dev/dsk/c1t5d0
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t5d0":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query all of the physical volumes.
pvdisplay: Couldn't retrieve the names of the physical volumes
belonging to volume group "/dev/vg00".
pvdisplay: Cannot display physical volume "/dev/dsk/c1t5d0".
# diskinfo /dev/rdsk/c1t5d0
diskinfo: can't open /dev/rdsk/c1t5d0: No such device or address
6 REPLIES 6
Tingli
Esteemed Contributor

Re: diskinfo and ioscan not reporting

Is it a floppy disk?
Michael Murphy_2
Frequent Advisor

Re: diskinfo and ioscan not reporting

4gig hard disk in jamaca enclosure - hot swap
Mel Burslan
Honored Contributor

Re: diskinfo and ioscan not reporting

There is a possibility that they might have gone bad. ioscan command scans the bus and sees some device on the bus and reports it claimed whereas pvdisplay and diskinfo needs to read the LIF area, which may not be available if the drive(s) is/are shot.

________________________________
UNIX because I majored in cryptology...
TTr
Honored Contributor

Re: diskinfo and ioscan not reporting

It is very common for hard disks to fail in such a way where their SCSI interface is still alive but their spindle side is dead. So ioscan sees the devices and claims them but as soon as you use any command that tries to write to them, that command fails. In particular diskinfo either reports zero size or the result you get. You should definitely replace the disk.
Nido
Trusted Contributor

Re: diskinfo and ioscan not reporting

Hello Michael,

Don't use ioscan with -H option, this sometimes give vague results.
I know openning a case with HP for an issue where ioscan -fnH shows the device in Claimed state and then switches to NO_HW.

It was learnt to use ioscan -fnC disk which produced more accurate results.

Check if you can find any disk error message in /var/adm/syslog/syslog.log and in EMS logs.

diskinfo will again report disk size 0byte, if there are issues with the Disk.

Thanks,


" Let Villagers Be Happy!! "
avizen9
Esteemed Contributor

Re: diskinfo and ioscan not reporting

hello
i had similar issue in past, but it was not hot swap disk,

i tried reboot system but it doent make any diff.

at the end i had replace the hdd,

you can try to reboot, however hot swap hdd doenst require to reboot.

try to plug this hdd in diff slot in server,

is there any LED on hdd, have you notice on hdd the LED showing red? or green?

some time ioscan doenst show correct status,