Find the answer to your Linux question:
Results 1 to 2 of 2
does anybody know how SCSI devices on the channels map to the sda sdb etc devices? I can cat /proc/scsi/scsi to see the devices on the channels and their id ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie humbletech99's Avatar
    Join Date
    Nov 2005
    Posts
    225

    How do SCSI map to /dev/sd*?


    does anybody know how SCSI devices on the channels map to the sda sdb etc devices?

    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.

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,851
    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/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •