Results 1 to 2 of 2
Thread: How do SCSI map to /dev/sd*?
Enjoy an ad free experience by logging in. Not a member yet? Register.
How do SCSI map to /dev/sd*?
I can cat /proc/scsi/scsi to see the devices on the channels and their id and manufacturer but this doens't tell me which one is which block device under /dev.
I usually use 'fdisk -l /dev/[sh]d[abc..]' to find which disk is which - it's easier to find which disk is which by it's size, partitioning, etc. than by trying to follow hardware mapping.
Are you having problem identifying two identical new disks on your scsi bus? Unless you're planning to remove them for some other purpose, then it shouldn't matter which disk is which physically - just use them by their logical names. If you're really struggling, then perhaps you could power-off and remove one of them then partition and/or write an identifying file to the one that's left before you re-insert the other disk and reboot.Linux user #126863 - see http://linuxcounter.net/