Consultor Eletrônico



Kbase P107920: How to scan system hardware in UNIX?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

GOAL:

How to scan system hardware in UNIX?

GOAL:

How to determine hardware path for a disk device in UNIX?

GOAL:

How to determine hardware type for a disk device in UNIX?

FIX:

The UNIX ioscan utility reports the hardware path for the hardware module, the class of hardware module and brief description. Ioscan needs to be run as super user.

Syntax:

ioscan -fnC disk

The above will generate a full listing, displaying the module's class, instance number, hardware path, driver, software state, hardware type, and a brief description, restricting the listing to disk devices as follows:

Class I H/W Path Driver S/W State H/W Type Description
====================================================

disk 0 8/4.5.0 sdisk CLAIMED DEVICE SEGATE ST34572WC
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0
disk 1 8/4.8.0 sdisk CLAIMED DEVICE SEGATE ST32171W
/dev/dsk/c0t8d0 /dev/rdks/c0t8d0
disk 3 8/16/5.2.0 sdisk CLAIMED DEVICE TOSHIBA CD-ROM XM-5701TA
/dev/dsk/c1t2d0 /dev/rdsk/ct20d0