Disk Arrays
cancel
Showing results for 
Search instead for 
Did you mean: 

Locating certain physical disks

yssong
Occasional Advisor

Locating certain physical disks


Hi, is there a command to turn on an LED to locate a certain disk? I have many disks attached on this server and some failed. Looking at the front side LEDs on disks, I couldn't which ones are bad since the ones with green LED on match neither the number of good nor bad disks.

Below is my ioscan -kfnC disk output.
5 bad drives that I need to identify are: c0t8d0, c1t9d0, c2t0d0, c2t2d0, and c2t3d0, which don't appear in this output, though.

Any help would be greatly appreciated. Thanks.

- Young



root@elm# ioscan -kfnC disk
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
disk 43 8/0.9.0 sdisk CLAIMED DEVICE SEAGATE ST39173WC
/dev/dsk/c0t9d0 /dev/rdsk/c0t9d0
disk 45 8/0.11.0 sdisk CLAIMED DEVICE SEAGATE ST19171W
/dev/dsk/c0t11d0 /dev/rdsk/c0t11d0
disk 47 8/0.13.0 sdisk CLAIMED DEVICE SEAGATE ST19171W
/dev/dsk/c0t13d0 /dev/rdsk/c0t13d0
disk 49 8/0.15.0 sdisk CLAIMED DEVICE SEAGATE ST19171W
/dev/dsk/c0t15d0 /dev/rdsk/c0t15d0
disk 78 8/4.8.0 sdisk CLAIMED DEVICE SEAGATE ST39175LC
/dev/dsk/c1t8d0 /dev/rdsk/c1t8d0
disk 81 8/4.11.0 sdisk CLAIMED DEVICE SEAGATE ST19171W
/dev/dsk/c1t11d0 /dev/rdsk/c1t11d0
disk 83 8/4.13.0 sdisk CLAIMED DEVICE SEAGATE ST19171W
/dev/dsk/c1t13d0 /dev/rdsk/c1t13d0
disk 85 8/4.15.0 sdisk CLAIMED DEVICE SEAGATE ST19171W
/dev/dsk/c1t15d0 /dev/rdsk/c1t15d0
disk 92 8/8.0.0 sdisk CLAIMED DEVICE SEAGATE ST318275LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 53 8/8.1.0 sdisk CLAIMED DEVICE SEAGATE ST318275LC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
disk 54 8/8.2.0 sdisk CLAIMED DEVICE SEAGATE ST318275LC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
disk 56 8/8.4.0 sdisk CLAIMED DEVICE SEAGATE ST39175LC
/dev/dsk/c2t4d0 /dev/rdsk/c2t4d0
disk 57 8/8.5.0 sdisk CLAIMED DEVICE SEAGATE ST39175LC
/dev/dsk/c2t5d0 /dev/rdsk/c2t5d0
disk 58 8/8.6.0 sdisk CLAIMED DEVICE SEAGATE ST39175LC
/dev/dsk/c2t6d0 /dev/rdsk/c2t6d0
disk 101 8/12.0.0 sdisk CLAIMED DEVICE SEAGATE ST318275LC
/dev/dsk/c3t0d0 /dev/rdsk/c3t0d0
disk 59 8/12.1.0 sdisk CLAIMED DEVICE SEAGATE ST318275LC
/dev/dsk/c3t1d0 /dev/rdsk/c3t1d0
disk 60 8/12.2.0 sdisk CLAIMED DEVICE SEAGATE ST39175LC
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 61 8/12.3.0 sdisk CLAIMED DEVICE SEAGATE ST39173WC
/dev/dsk/c3t3d0 /dev/rdsk/c3t3d0
disk 62 8/12.4.0 sdisk CLAIMED DEVICE SEAGATE ST39175LC
/dev/dsk/c3t4d0 /dev/rdsk/c3t4d0
disk 63 8/12.5.0 sdisk CLAIMED DEVICE SEAGATE ST39173WC
/dev/dsk/c3t5d0 /dev/rdsk/c3t5d0
disk 64 8/12.6.0 sdisk CLAIMED DEVICE SEAGATE ST39175LC
/dev/dsk/c3t6d0 /dev/rdsk/c3t6d0
disk 0 10/0.3.0 sdisk CLAIMED DEVICE SEAGATE ST34371W
/dev/dsk/c4t3d0 /dev/rdsk/c4t3d0
disk 1 10/0.4.0 sdisk CLAIMED DEVICE SEAGATE ST34371W
/dev/dsk/c4t4d0 /dev/rdsk/c4t4d0
disk 2 10/0.5.0 sdisk CLAIMED DEVICE SEAGATE ST34371W
/dev/dsk/c4t5d0 /dev/rdsk/c4t5d0
disk 3 10/0.6.0 sdisk CLAIMED DEVICE SEAGATE ST34371W
/dev/dsk/c4t6d0 /dev/rdsk/c4t6d0
disk 8 10/4/4.9.0 disc3 CLAIMED DEVICE SEAGATE ST118273WC
/dev/dsk/c5t9d0 /dev/floppy/c5t9d0 /dev/rdsk/c5t9d0 /dev/rfloppy/c5t9d0
disk 9 10/4/4.11.0 disc3 CLAIMED DEVICE SEAGATE ST118273WC
/dev/dsk/c5t11d0 /dev/floppy/c5t11d0 /dev/rdsk/c5t11d0 /dev/rfloppy/c5t11d0
disk 10 10/4/4.13.0 disc3 CLAIMED DEVICE SEAGATE ST19171W
/dev/dsk/c5t13d0 /dev/floppy/c5t13d0 /dev/rdsk/c5t13d0 /dev/rfloppy/c5t13d0
disk 11 10/4/4.15.0 disc3 CLAIMED DEVICE SEAGATE ST19171W
/dev/dsk/c5t15d0 /dev/floppy/c5t15d0 /dev/rdsk/c5t15d0 /dev/rfloppy/c5t15d0
disk 18 10/12/5.2.0 sdisk CLAIMED DEVICE TOSHIBA CD-ROM XM-5401TA
/dev/dsk/c11t2d0 /dev/rdsk/c11t2d0
disk 30 10/16/12.9.0 disc3 CLAIMED DEVICE SEAGATE ST118273WC
/dev/dsk/c15t9d0 /dev/floppy/c15t9d0 /dev/rdsk/c15t9d0 /dev/rfloppy/c15t9d0
disk 21 10/16/12.11.0 disc3 CLAIMED DEVICE SEAGATE ST118273WC
/dev/dsk/c15t11d0 /dev/floppy/c15t11d0 /dev/rdsk/c15t11d0 /dev/rfloppy/c15t11d0
disk 22 10/16/12.13.0 disc3 CLAIMED DEVICE SEAGATE ST19171W
/dev/dsk/c15t13d0 /dev/floppy/c15t13d0 /dev/rdsk/c15t13d0 /dev/rfloppy/c15t13d0
disk 23 10/16/12.15.0 disc3 CLAIMED DEVICE SEAGATE ST19171W
/dev/dsk/c15t15d0 /dev/floppy/c15t15d0 /dev/rdsk/c15t15d0 /dev/rfloppy/c15t15d0
2 REPLIES
tkc
Esteemed Contributor

Re: Locating certain physical disks

hi yssong,

you can run read-only test with a dd command to check the location of the disk. the activity will turn on the led on the disk. e.g.

#dd if=/dev/rdsk/c0t8d0 of=/dev/null bs=1024k

remember to use of=/dev/null and no typo error in the command.
Torsten.
Acclaimed Contributor

Re: Locating certain physical disks

The commands and ability to turn a locator on depends on the used hardware.
Some disk chassis support this.
Commands may be available in SAM.

What disk chassis do you have?

For most chassis the SCSI IDs are fixed, so if you know the ID, you will know the slot too.

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!