Question: I have an ubuntu box with 8 SATA drives, 6 on the mobo and 2 on an add-in card. ?How do i determine which physical drive maps to which of the /dev/sd% entries? ?it doesnt appear to be port 0 is sda, 1 is sdb, etc. ?is there a file somewhere that shows this mapping?

Answer: Look in /sys/block, or run sudo lshw and look under your SATA controller.

💠

🔵 Best-selling data storage everyone's buying.

Fast, reliable, and on sale now. Thousands pick these weekly — don't miss Amazon's lowest storage prices.

Top 10 Bestsellers
🏆 4.7★+ Reviews
📦 Prime Shipping
👉 See today's best-selling hard drives, USB flash drives & SSDs on Amazon.com HDD · USB Flash Drives · SSD · External Drives
🛒
✅ Updated hourly — Amazon real-time ranking 🔥 Limited stock deals 🔗 Affiliate
⭐ Click to see complete best-selling list ⭐