Did you know  45Drives offers free  public and private  webinars ? Click here to learn more  & register! Build & Price

KB450269 – Physical Locations to Slot from UUID in Linux

You are here:

Scope/Description

This article will show how to identify what slot on each controller translates to a physical port on LSI 9305 16i Controllers.

Prerequisites

  • System running a Linux OS
  • Having LSI 9305-16i Controller cards installed

Steps

  • Below is a chart on how each physical port translates to a slot number in the drive bay area:
Physical Slot 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Phys # 2 3 1 0 6 7 5 4 18 19 17 16 22 23 21
  • The following command will list out the physical ports on each LSI controller card installed in the system with a drive attached to it
ls -l /dev/disk/by-path

For the above example the drive we are looking at is sdj, The number highlighted corresponds to the controller card meaning row 2 of the unit. Now using the table above we can see in red phy1 corresponds to slot 3 in the system. Now we know that /dev/sdj is located in slot 2-3.

Verification

When it comes to identify hard drive locations, always rely on the serial number for confirmation.

Identify the serial number either via “smartctl -x /dev/__” and verify it with the drive that is in the slot you presume the drive you are looking for is located.

Majority of drives today have the serial labeled across the top which allows for confirmation without physically removing the drive from the slot.

 

Was this article helpful?
Dislike 1
Views: 2163
Unboxing Racking Storage Drives Cable Setup Power UPS Sizing Remote Access