Go to main content

Managing Devices in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

Identifying Disks on a System

To identify disks, launch the Format utility by issuing the format command. The command displays the disks in the system, as shown in the following example.

# format
AVAILABLE DISK SELECTIONS:
0. c2t0d0 <SUN36G cyl 14087 alt 2 hd 24 sec 424>
/pci@1c,600000/scsi@2/sd@0,0
/dev/chassis/J4200@RACK10:U24-25/SCSI_Device__0/disk
1. c2t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1c,600000/scsi@2/sd@1,0
/dev/chassis/J4200@RACK10:U24-25/SCSI_Device__1/disk
Specify disk (enter its number): 

The command displays a list of recognized disks. In the example's first entry, disk 0 or target 0 is connected to the second SCSI host adapter (scsi@2). In turn, the host adapter is connected to the second PCI interface (/pci@1c,600000/...). The output also associates both the physical and logical device name to the disk's marketing name, SUN36G, which is always listed in angle brackets <>.

The association enables you to identify which logical device names represent the disks that are connected to your system. For a description of logical and physical device names, see Device Naming Conventions.

For disks that do not have marketing names, use the utility to label the disk and, if necessary, identify its type. See Creating Disk Labels.

You can use a wildcard to display disk information. For example, to display the disks that are connected to controller 0 in the sample output:

# format /dev/rdsk/c2t*

If the Format utility does not recognize a disk, connect the disk to the system by consulting your disk hardware documentation. The following resources also provide information about how to identify disks: