Use the format utility to discover the types of disks that are connected to a system. You can also use the format utility to verify that a disk is known to the system. See Chapter 25, The format Utility (Reference) for information on using the format utility.
Become superuser.
Identify the disks that are recognized on the system with the format utility.
# format |
The format utility displays a list of disks that it recognizes under AVAILABLE DISK SELECTIONS.
The following format output is from a system with two disks.
# format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t1d0 <SUN0535 cyl 1866 alt 2 hd 7 sec 80> /sbus@1,f8000000/esp@0,800000/sd@1,0 1. c0t2d0 <SUN1.05 cyl 2036 alt 2 hd 14 sec 72> /sbus@1,f8000000/esp@0,800000/sd@2,0 Specify disk (enter its number): |
The format output associates a disk's physical and local device name to the disk's marketing name which appears in brackets <>. This is an easy way to identify which local device names represent the disks connected to your system. See Chapter 20, Accessing Devices (Overview), for a description of local and physical device names.
The following example uses a wildcard to display the disks connected to a second controller.
# format /dev/rdsk/c2* AVAILABLE DISK SELECTIONS: 0. /dev/rdsk/c2t0d0s0 <SUN2.1G cyl 2733 alt 2 hd 19 sec 80> /io-unit@f,e0200000/sbi@0,0/QLGC,isp@2,10000/sd@0,0 1. /dev/rdsk/c2t1d0s0 <SUN2.1G cyl 2733 alt 2 hd 19 sec 80> /io-unit@f,e0200000/sbi@0,0/QLGC,isp@2,10000/sd@1,0 2. /dev/rdsk/c2t2d0s0 <SUN2.1G cyl 2733 alt 2 hd 19 sec 80> /io-unit@f,e0200000/sbi@0,0/QLGC,isp@2,10000/sd@2,0 3. /dev/rdsk/c2t3d0s0 <SUN2.1G cyl 2733 alt 2 hd 19 sec 80> /io-unit@f,e0200000/sbi@0,0/QLGC,isp@2,10000/sd@3,0 4. /dev/rdsk/c2t5d0s0 <SUN2.1G cyl 2733 alt 2 hd 19 sec 80> /io-unit@f,e0200000/sbi@0,0/QLGC,isp@2,10000/sd@5,0 Specify disk (enter its number): |
The following example identifies the disks on a SPARC based system.
# format AVAILABLE DISK SELECTIONS: 0. c0t3d0 <SUN2.1G cyl 2733 alt 2 hd 19 sec 80> /iommu@0,10000000/sbus@0,10001000/espdma@5, 8400000/esp@5,8800000/sd@3,0 Specify disk (enter its number): |
The format output identifies that disk 0 (target 1) is connected to the first SCSI host adapter (esp@0...), which is connected to the first SBus device (sbus@1...). The output also associates both the physical and logical device name to the disk's marketing name, SUN0535.
The following example identifies the disks on an x86 based system.
# format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t0d0 <DEFAULT cyl 507 alt 2 hd 64 sec 32> /eisa/dpt@5c88,0/cmdk@0,0 1. c0t3d0 <DEFAULT cyl 1852 alt 2 hd 15 sec 74> /eisa/dpt@5c88,0/cmdk@3,0 Specify disk (enter its number): |
The format output identifies that disk 0, target 0 (cmdk@0,0) is connected to the first DPT host adapter (dpt@5...), which is connected to the EISA device (eisa). The format output on an x86 based system does not identify disks by their marketing names.
Check the following table if the format utility did not recognize the disk.
If the Disk ... |
Then ... |
---|---|
Is newly added and you didn't perform a reconfiguration boot |
Go to Chapter 23, SPARC: Adding a Disk (Tasks) or Chapter 24, x86: Adding a Disk (Tasks). |
Is a third-party disk | |
Label was corrupted by a system problem, such as a power failure |
Go to "How to Label a Disk". |
Is not properly connected to the system |
Connect the disk to the system using your disk hardware documentation. |