How to locate drive slot number against /dev/sdX devices

Solution Verified - Updated -

Issue

  • How to locate a disk slot number against the sd device such as /dev/sda
  • Need to remove or replace /dev/sda, how do I know which drive slot number this device belongs to
  • If /dev/sda has a H:B:T:L address as 0:0:0:0 does that mean that this is the drive from slot number 0 ?

Environment

  • RedHat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content