Re: match device files with LUN ID

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Tom Spec wrote:
Does anyone know how I can correlate which device files (sda, sdb, sdc, etc) match up with which LUNs in /proc/scsi/scsi? I'm sure there is a command I can use to give output like:
devicefile1, scsi, channel, id, lun
devicefile2, scsi, channel, id, lun
devicefile3, scsi, channel, id, lun

But I can't remember what it is.  Anyone?
Try lsscsi.

yum info lsscsi
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* livna:
* fedora:
* adobe-linux-i386:
* updates:
Available Packages
Name   : lsscsi
Arch   : i386
Version: 0.17
Release: 4
Size   : 27 k
Repo   : fedora
Summary: List SCSI devices (or hosts) and associated information
Uses information provided by the sysfs pseudo file system in Linux kernel
2.6 series to list SCSI devices or all SCSI hosts. Includes a "classic"
option to mimic the output of "cat /proc/scsi/scsi" that has been widely
used prior to the lk 2.6 series.


fedora-list mailing list
[email protected]
To unsubscribe:

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux