Re: match device files with LUN ID

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

 



Around 03:30pm on Thursday, June 12, 2008 (UK time), Tom Spec scrawled:

> 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?

Its not as slick as what you want, but you could do:

        cdrecord -devices

followed by

        cdrecord -scanbus

Steve

-- 

A:  Because it messes up the order in which people normally read text.
Q:  Why is top-posting a bad thing?

 16:03:57 up 20 days, 20:35,  1 user,  load average: 0.01, 0.08, 0.04

Attachment: pgpHbqqf1IuBh.pgp
Description: PGP signature

-- 
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