lsscsi command examples

lsscsi command examples

lsscsi – list SCSI devices (or hosts) and their attributes

Output WWN for disks (from /dev/disk/by-id/wwn*)

#lsscsi --wwn

show device node’s major + minor numbers

#lsscsi --device

show kernel name instead of device node name

#lsscsi  --kname

additional information output one attribute=value per line

#lsscsi  --list

show device node’s major + minor numbers

#lsscsi  --device

show scsi generic device name

#lsscsi  --generic

lists scsi hosts rather than scsi devices

#lsscsi  --hosts

Leave a Reply

Your email address will not be published. Required fields are marked *