In my kernel log, I can see entries like:
[ 0.765510] sd 3:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
and when something fails, it's usually something like:
[ 6007.433977] ata8.00: revalidation failed (errno=-5)
How can I translate the sd:X:X:X:X to ataX:00 so I could figure out which drive is failing?