Which hard disk drive is which?
- by djeikyb
I want to know which hard disk drive corresponds to which device path. It's trivial to match the hard disk stats (brand, size) with the dev path, but I want more. I want to know which drive is which inside my case. What's a good way to go about getting this info?
Rules:
I am a lazy bum. I don't want to tear apart my server to remove all the drives, then add back one by one.
A reboot is acceptable.
The drives are inconveniently scrunched together in the case. All label information is hidden.
The case can be opened. Most disks are SATA, so theoretically hot swappable. Unplugging cables is fair game.
Bonus:
For a cli only solution. I'll award answer to the best/easiest gui or cli answer, and give a bounty to the next-best answer of the other kind. Or maybe the other way around, because the bounty is worth more points.