How to - Ceph - Identify the server drive bay number of a faulty drive

To identify a faulty disk is in which drive bay:

Method 1 - Using iLO and iDRAC

  1. Login to the iLO or iDRAC interface

  2. Check for error messages in the iLO or iDRAC.

    If iLO (HP), from the main page, go to InformationSystem Information → Storage → Physical View

    if iDRAC (Dell),

Method 2 - Using CLI

  1. SSH to the server (storage node, compute node, controller, etc.)

  2. List the disks

  1. Get the drive serial number:

if storage is HP, run the command:

udevadm info --query=all --name=/dev/<drive_name> | grep ID_SCSI_SERIAL

if storage is DELL, run the command:

udevadm info --query=all --name=/dev/<drive_name> | grep ID_SERIAL_SHOR
  1. Using the SCSI serial number, find the drive bay number using the iLO or iDRAC