Jump to content

Mapping Raid drives?

Hi,

 

So I decided to build a home media/home CI server and I have 6  4TB hard drives, and 1 240GB SSD.  I plan to keep the SSD for the OS etc, and use the 6 HDD for storage.  For this reason I also brought a RAID Card which has 2 SAS ports, and then 2 SAS to SATA cables.  

 

I never messed around with RAID before and its been 10 years since I last built a computer, so I'm a little behind the times...  I do plan to install Ubuntu Server on my machine, so I'm wondering how can I identify each of the HDD, so that if one fails, I know which physical drive it is?

Link to comment
Share on other sites

Link to post
Share on other sites

Most of the time you can do this one of two ways, most RAID card manufacturers make a software utility that you can install that will monitor your drives and notify you if any of them have failed and which port the failed drive is plugged into so you can identify it. I'm not sure how good they are about making utilities that support linux though. 

 

A second way is that you'll likely notice a performance degradation if you lose a hard drive at which point you could reboot your server and take a look at the array health in the RAID configuration utility and identify the problem drive from there. 

Link to comment
Share on other sites

Link to post
Share on other sites

I thought Ubuntu server did it's mapping pretty much 1:1 meaning if you have 2 SATA ports and then a bunch of SAS to drives the two SATA drives would be SDA and SDB followed by the SAS drives which would be SDC with the SDC drive mapping to the first SAS port and cable 1, and so on like that.

Current Network Layout:

Current Build Log/PC:

Prior Build Log/PC:

Link to comment
Share on other sites

Link to post
Share on other sites

Typically the RAID cards have alarms, so it will make an annoying sound when a drive falls over. 

You can query the RAID card to see which drive has died. It will show you the drive and which port its connected too. 

 

So theres 2 ways to physically identify which drive it is: 

- When you setup the RAID, mark which port each drive is on.For example you might use sticky dots and stick one to the end of each drive, with P0, P1, P2, P3, etc...

- The other way, is that if you query the drive on the RAID card, you can see the serial number. You can match this with the drive. If they're WD's you will see a sticker at the end of the drive with about 4-5 characters - that is the last 4-5 characters of the serial number. 

 

Additionally - If you have a more advanced enclosure with hotswap and activity lights, your cages may support signaling So the light on the cage for the failed drive will flash/change color. 

 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO | 12 x 8TB HGST Ultrastar He10 (WD Whitelabel) | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×