HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
Showing results for 
Search instead for 
Did you mean: 

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
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...
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.
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.


" Let Villagers Be Happy!! "
Esteemed Contributor

Re: diskinfo and ioscan not reporting

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,