Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to find sata port of a hdd?

Featured Replies

Hello,

 

I'm having some trouble with a faulty sata cable. I want to change the cable but my server is a mess of cables and I can't see the drive serials without taking out most of the dusty disks. So I know the which hdd has the faulty cable and I need to find the sata port that connected to the cable. In summary, I want to learn which hdd is connected to which sata port on the motherboard.

 

Unraid version 4.7

 

Thanks in advance

You could write down the serial/model/size of the HD and then re-boot the server and look in your bios to match up that info to what the post report says it is connected to. Problem with most is they run their server headless so you would have to connect a keyboard and monitor.

 

If you have a connection via putty you can look here for the commands to find it via the console:

 

http://lime-technology.com/wiki/index.php/Console

 

 

  • Author

One would think it would be trivial to find such information, especially on linux

One would think it would be trivial to find such information, especially on linux

 

It is trivial to find which 'logical' sata port is connected to what hard drive.

 

Problem is you want to identify the physical cable connected to the physical port where the cables are not neat.

 

Only the human hand and eye can trace the path of a cable.

 

What you can do is create activity on each drive, and see which drive does not report the activity.

Then follow that questionable drive's cable back to the motherboard.

 

Another 'trivial' thing to do using dd to read the drive into /dev/null

 

 

You can 'try' to see if my identify drive script could help you locate each drive.

It presents a list of drives, you pick a drive, it creates flashing activity with a beep for the drive in question.

I can't make any promises though.

I have not updated it in a while and I do not have a system to verify it's functionality.

 

http://code.google.com/p/unraid-weebotech/downloads/detail?name=identify_drive.sh

 

 

you can also review the syslog and see what drives show up activity or connected to what controllers and follow the logic from there.

 

I would start with the syslog first.

Then use the identify script after that to find which slot is in which location.

 

 

Also look in the devices tab.  it reports the drive, serial and the /dev/sd? id.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.