Re: SCSI disks vs. /dev/sd and /dev/sg devices
From: Chris Cox (ccox_nopenotthis_at_airmail.net)
Date: 04/23/04
- Next message: Chris Cox: "Re: luminance"
- Previous message: Ulrich Weigand: "Re: Interrupt Service Routine (ISR) for Linux?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Chris Cox: "Re: luminance"
- Previous message: Ulrich Weigand: "Re: Interrupt Service Routine (ISR) for Linux?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|