Re: SCSI disks vs. /dev/sd and /dev/sg devices

From: Chris Cox (ccox_nopenotthis_at_airmail.net)
Date: 04/23/04


Date: Fri, 23 Apr 2004 11:59:27 -0500

L wrote:
> Hi,
>
> If I understand right, when a SCSI/FC disk is found by Linux, it will be
> presented as a /dev/sd device **and** a /dev/sg device at the same time,
> right? Could some one tell me how I can check which /dev/sd and which
> /dev/sg are connected to the physical SCSI/FC disks?
>

You're wanting something like:

/dev/sg0 "is" /dev/sda
/dev/sg1 "is" /dev/sdb

Use:
sg_map

You can use scsiinfo to get more info on each device.



Relevant Pages

  • Re: [SLE] Athlon ... was Re: [SLE] What are the stats on hyperthreading? I may need a Mobo.
    ... Hamradio G3VBV and keen Flyer ... Linux Only Shop. ... If you are just wanting ...
    (SuSE)
  • Re: FC4 root access via user account
    ... advice to either use your home directory or a targetted shared directory. ... > Yes, but I have to use Linux now for projects, and learn it as I need to. ... Instead of asking 'how do I do shared development with these packages', ... Ditto on not wanting to offend, but I get the same sense that you are ...
    (comp.os.linux.security)
  • Multiple External IP addresses
    ... I have ISA with an external IP address of 138. ... Im wanting to allow incoming traffic from a specific IP ... Similarly this Linux box also ...
    (microsoft.public.isa)
  • Re: Internet (Once and for all)
    ... You will not BELIEVE how stupid I truly am. ... I've been wanting to access the internet on Linux for MONTHS now. ...
    (Debian-User)
  • Re: linux programming information, please
    ... > Linux as my main OS for a while, although a lot of the standard things ... > can compile, Im wanting to learn QT (kde develoment), does anyone here ... > window ) ...
    (alt.linux)