Skip to main content

5.4.1 How to identify a disk slot


5.4.1 How to identify a disk slot
To maintain an internal disk drive, you need to know the physical device name or logical device name of a drive to be installed or removed. If a disk error occurs in the system, from the system console, you can normally check for messages regarding a disk that is likely to fail or that has already failed. This information is also recorded in the /var/adm/messages file.

In these error messages, a failed internal disk drive is normally indicated with a physical device name or logical device name. In addition, depending on the application, the slot number of the disk may be reported.

The procedure to confirm the mounting location information on the disk varies depending on the operating system.

- For Oracle Solaris 10
For details, see "Using the diskinfo command (Oracle Solaris 10)."
Using the format command (Oracle Solaris 11)
  1. Execute the format command to confirm the disk slot.
    (1) to (4) in the following example represent:

    (1): Logical path name of the disk

    (2): The disk is mounted in the HDD00 slot

    (3): The disk is mounted in the HDD01 slot

    (4): The disk is mounted in the HDD02 slot
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c2t50000393B81B3A36d0 <TOSHIBA-MBF2600RC-3706 cyl 46873 alt 2 hd 20 sec 625> <-- (1)
/pci@8000/pci@4/pci@0/pci@0/scsi@0/iport@f/disk@w50000393b81b3a36,0
/dev/chassis/SYS/HDD00/disk <-- (2)
1. c2t500000E01FB332A2d0 <FUJITSU-MBD2600RC-3701 cyl 46873 alt 2 hd 20 sec 625> <-- (1)
/pci@8000/pci@4/pci@0/pci@0/scsi@0/iport@f/disk@w500000e01fb332a2,0
/dev/chassis/SYS/HDD01/disk <-- (3)
2. c2t50000393B81B4D7Ad0 <TOSHIBA-MBF2600RC-3706 cyl 46873 alt 2 hd 20 sec 625> <-- (1)
/pci@8000/pci@4/pci@0/pci@0/scsi@0/iport@f/disk@w50000393b81b4d7a,0
/dev/chassis/SYS/HDD02/disk <-- (4)
Specify disk (enter its number):
Using the diskinfo command (Oracle Solaris 11)
  1. Execute the diskinfo command to confirm the disk slot.
    (1) to (3) in the following example represent:

    (1): The device path name and logical path name of the disk mounted in HDD 0

    (2): The device path name and logical path name of the disk mounted in HDD 1

    (3): The device path name and logical path name of the disk mounted in HDD 2
# diskinfo
D:devchassis-path c:occupant-compdev
------------------------------------------ ---------------------

:
/dev/chassis/SYS/HDD00/disk c0t50000393B81B3A36d0 <-- (1)
/dev/chassis/SYS/HDD01/disk c0t500000E01FB332A2d0 <-- (2)
/dev/chassis/SYS/HDD02/disk c0t50000393B81B4D7Ad0 <-- (3)
/dev/chassis/SYS/HDD03/disk
/dev/chassis/SYS/HDD04/disk
/dev/chassis/SYS/HDD05/disk
/dev/chassis/SYS/HDD06/disk
/dev/chassis/SYS/HDD07/disk
#
Using the diskinfo command (Oracle Solaris 10)
  1. Execute the diskinfo command to confirm the disk slot.
    (1) to (3) in the following example represent:

    (1): The device path name and logical path name of the disk mounted in HDD 0

    (2): The device path name and logical path name of the disk mounted in HDD 1

    (3): The device path name and logical path name of the disk mounted in HDD 2
# diskinfo -ap

Enclosure path: TZ01232002-physical-hba-0
Chassis Serial Number: TZ01232002-physical-hba-0
Chassis Model: ORCL,SPARC64-X

Enclosure path: /dev/es/ses0
Chassis Serial Number: 500000e0e04901bf
Chassis Model: FUJITSU-NBBEXP

Label Disk name Vendor Product Vers
---------- ---------------------- -------- ---------------- ----

HDD_0 c0t50000393B81B3A36d0 TOSHIBA MBF2600RC 3706 <-- (1)
Physical path
--------------------------------

0: /pci@8000/pci@4/pci@0/pci@0/scsi@0/iport@f/disk@w50000393b81b3a36,0
HDD_1 c0t500000E01FB332A2d0 TOSHIBA MBF2600RC 3706 <-- (2)
Physical path
--------------------------------

0: /pci@8000/pci@4/pci@0/pci@0/scsi@0/iport@f/disk@w500000e01fb332a2,0
HDD_2 c0t50000393B81B4D7Ad0 TOSHIBA MBF2600RC 3706 <-- (3)
Physical path
--------------------------------

0: /pci@8000/pci@4/pci@0/pci@0/scsi@0/iport@f/disk@w50000393b81b4d7a,0