4

How do you know which HDD is in slot X of your server? For example if one fails and you don't want to unplug the wrong one.

Sadly my 24 Bay one doesn't come with Smart Caddys or something fancy, only Power and Activity LED. Where on one occasion i guessed wrong -_- .

I'm tempted to start a spreadsheet but i hope their is something better than this or disk descriptions.

top 11 comments
sorted by: hot top controversial new old
[-] CryptoVictim@alien.top 1 points 1 year ago

If all you have is the serial number of the disk that is failing ... you'd better know what slot it's in before you go pulling disks for replacement.

[-] feminalpanda 1 points 1 year ago

The only thing I can think of is to put stickers.

[-] pencloud@alien.top 1 points 1 year ago

Not in a position to try this right now, but if your server is a Dell and you have the (enterprise, possibly) iDRAC, I think you can make a light on the drive caddy blink so you can identify it.

[-] blentdragoons@alien.top 1 points 1 year ago

i label my drives with the serial number. i can then easily remove the failed drive.

[-] CanuckFire@alien.top 1 points 1 year ago

I tape a piece of paper with important info to the top of the server... Top outside, not the inside because I don't want it to block any airflow.

Paper is cheap and doesn't need batteries, and I don't need to look for the info when I need it.

[-] BIT-NETRaptor@alien.top 1 points 1 year ago

If you use a generic case then you're going to have to gather the info outside.

Some suggestions:

Onenote or similar - use the rectangle tool to sketch up some rectangles of your drive bays and then type/write out the serial numbers and other info. I record manufacture date, when I installed it, where I bought it from, the part number, the serial number and sometimes a comment like "ironwolf pro orange logo sticker."

If you use a SAS HBA with breakout cables you may be able to identify them by port. Ie HP P822 tells you I:1:0 for internal port 1, breakout cable 0/1, E:2:1 for external port 2, breakout cable 2/1.

[-] Cygnusaurus@alien.top 1 points 1 year ago

All my drives came with a sticker from WD with the serial number on the back of each drive. I am able to open my hot swap bays just enough to the number without disconnecting the drives.

Once my server was up and running I took a snapshot of all of the drives, shut off the server, and rearranged them from top to bottom following the order on the list. So disk 1 is in slot 1 and so on.

[-] SirLagz@alien.top 1 points 1 year ago

Last time I did this, i mapped out which plug corresponded to which device that linux saw then wrote a script that told me which hard drive was plugged into where and put it into a csv file.

This was for my disk testing tower, so when it told me "sdb" had finished badblocks, i would know which hdd sdb was.

[-] gargravarr2112@alien.top 1 points 1 year ago

Can you tell if the backplane supports SGPIO? If it and your RAID card do, and things are wired up correctly, you can tell your RAID card to Identify the drive and it'll blink the LEDs. I just configured a Supermicro chassis to do this with an Adaptec controller.

[-] alestrix@alien.top 1 points 1 year ago

I add part of the serial number into the gpt label. Plus printed labels of that part of the serial on the drive bays.

[-] cjchico@alien.top 1 points 1 year ago

I've started to utilize Netbox for all of that. Haven't gotten to the drives yet, but all my networking connections, power, IP's, etc. are documented in it.

this post was submitted on 16 Nov 2023
4 points (100.0% liked)

Homelab

371 readers
2 users here now

Rules

founded 1 year ago
MODERATORS