match device files with LUN ID
Steve Searle
steve at stevesearle.com
Thu Jun 12 15:05:37 UTC 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080612/f26be039/attachment-0001.sig>
More information about the fedora-list
mailing list