Skip to contentSkip to conversation

lsscsi-0.25 released

ANNOUNCE Douglas Gilbert 1 participant 1 message May 10, 2011 SCSI

lore
Share & tools
lore
#0 lore raw

lsscsi is a utility that uses sysfs in linux 2.6 series kernels to list information about SCSI devices and SCSI hosts. Both a compact format which is one line per device and a "classic" format (like the output of 'cat /proc/scsi/scsi') are supported.

Version 0.25 is available at:
http://sg.danny.cz/scsi/lsscsi.html
More information can be found on that page including examples and a Download section for tarballs, rpm and deb packages.

There have only been superficial changes to the beta release of 0.25 made in March 2011. The only adverse report was a problem when a kernel was configured with both CONFIG_SYSFS_DEPRECATED and CONFIG_SYSFS_DEPRECATED_V2.

The most commonly useful addition is the '--size' option:

$ lsscsi -s
[0:0:0:0]  disk  ATA    INTEL SSDSA2M080 2CV1  /dev/sda  80.0GB
[6:0:0:0]  disk  Linux  scsi_debug       0004  /dev/sdb  4.29PB

ChangeLog:
Version 0.25 2011/05/09 [svn: r92]
- add sas_port and fc_remote_ports transport information
- print enclosure_device entry
- add '--size' option to show size of disks
- add '--protmode' option to show protection information mode

Version 0.24 2010/06/12 [svn: r83]
...

Doug Gilbert