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: mirrors.tummy.com
* fedora: mirror.cogentco.com
* adobe-linux-i386: linuxdownload.adobe.com
* updates: mirror.cogentco.com
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
Description:
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.


Alan

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux