To display physical locations of disks, use the croinfo command which provides information about the chassis, receptacle, and occupant relative to the specific disk.
$ croinfo D:devchassis-path t:occupant-type c:occupant-compdev ----------------------------------------------------- ------------------ /dev/chassis/SYS/HDD0/disk disk c2t0d0 /dev/chassis/SYS/HDD1/disk disk c2t1d0 /dev/chassis/SYS/HDD2/disk disk c2t2d0
You can use different options with the croinfo command to display information only about a specific disk.
croinfo –c disk displays information only about a specific disk. disk refers to the component listed under the c:occupant-compdev column.
croinfo –c disk –o cp displays the path which the specific disk occupies when it was installed on the system.
For other options, see the croinfo(1M) man page.
Other commands display locations of devices as well. The following examples show how these commands are used to identify and locate devices.
Example 6-8 Using the diskinfo CommandThis example assumes that you assigned the alias J4200@RACK10:U24-25 to the disk SUN-Storage-J4200.0905QAJ00E. For more information about disk aliases, see Obtaining Disk Information.
$ diskinfo D:devchassis-path c:occupant-compdev ----------------------------------------------------- ------------------ /dev/chassis/J4200@RACK10:U24-25/SCSI_Device__0/disk c2t0d0 /dev/chassis/J4200@RACK10:U24-25/SCSI_Device__1/disk c2t1d0 /dev/chassis/J4200@RACK10:U24-25/SCSI_Device__2/disk c2t2d0Example 6-9 Using the prtconf Command
$ prtconf -l | more System Configuration: Oracle Corporation sun4v Memory size: 523776 Megabytes System Peripherals (Software Nodes): ORCL,SPARC-T3-4 location: /dev/chassis//SYS/MB/HDD0/disk scsi_vhci, instance #0 location: /dev/chassis//SYS/MB/HDD0/disk disk, instance #4 location: /dev/chassis//SYS/MB/HDD4/disk disk, instance #5 location: /dev/chassis//SYS/MB/HDD5/disk disk, instance #6 location: /dev/chassis//SYS/MB/HDD6/diskExample 6-10 Using the zpool Command
% zpool status -l export pool: export state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM export ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 /dev/chassis//SYS/MB/HDD0/disk ONLINE 0 0 0 /dev/chassis//SYS/MB/HDD1/disk ONLINE 0 0 0 mirror-1 ONLINE 0 0 0 /dev/chassis//SYS/MB/HDD2/disk ONLINE 0 0 0 /dev/chassis//SYS/MB/HDD3/disk ONLINE 0 0 0 mirror-2 ONLINE 0 0 0 /dev/chassis//SYS/MB/HDD4/disk ONLINE 0 0 0 /dev/chassis//SYS/MB/HDD5/disk ONLINE 0 0 0 errors: No known data errors