Usage: lsscsi [--brief] [--classic] [--controllers] [--device] [--generic] [--help] [--hosts] [--json[=JO]] [--js-file=JFN] [--kname] [--list] [--long] [--long-unit] [--lunhex] [--no-nvme] [--pdt] [--protection] [--prot-mode] [--scsi_id] [--size] [--sz-lbs] [--sysfsroot=PATH] [--sysroot=AR_PT] [--transport] [--unit] [--verbose] [--version] [--wwn] [] where: --brief|-b tuple and device name only --classic|-c alternate output similar to 'cat /proc/scsi/scsi' --controllers|-C synonym for --hosts since NVMe controllers treated like SCSI hosts --device|-d show device node's major + minor numbers --generic|-g show scsi generic device name --help|-h this usage information --hosts|-H lists scsi hosts rather than scsi devices --json[=JO]|-j[=JO] output in JSON instead of plain text. Use --json=? or '-j=?' for JSON help --js-file=JFN|-J JFN JFN is a filename to which JSON output is written (def: stdout); truncates then writes --kname|-k show kernel name instead of device node name --list|-L additional information output one attribute=value per line --long|-l additional information output --long-unit|-U print LU name in full, use twice to prefix with '.naa', 'eui.', 'uuid.' or 't10.' --lunhex|-x show LUN part of tuple as hex number in T10 format; use twice to get full 16 digit hexadecimal LUN --no-nvme|-N exclude NVMe devices from output --pdt|-D show the peripheral device type in hex --protection|-p show target and initiator protection information --protmode|-P show negotiated protection information mode --scsi_id|-i show udev derived /dev/disk/by-id/scsi* entry --size|-s show disk size, (once for decimal (e.g. 3 GB), twice for power of two (e.g. 2.7 GiB), thrice for number of blocks)) --sysfsroot=PATH|-y PATH set sysfs mount point to PATH (def: /sys) --sysroot=AR_PT|-Y AR_PT set alternate root path (def: / ). In practice it is the parent directory of PATH. If given lsscsi will access AR_PT/sys --sz-lbs|-S show size as a number of logical blocks; if used twice adds comma followed by logical block size in bytes --transport|-t transport information for target or, if '--hosts' given, for initiator --unit|-u logical unit (LU) name (aka WWN for ATA/SATA) --verbose|-v output path names where data is found --version|-V output version string and exit --wwn|-w output WWN for disks (from /dev/disk/by-id/*) filter output list (def: '*:*:*:*' (all)). Meaning: or for NVMe: <'N':ctl_num:cntlid:namespace_id> List SCSI devices or hosts, followed by NVMe namespaces or controllers. Many storage devices (e.g. SATA disks and USB attached storage) use SCSI command sets and hence are also listed by this utility. Hyphenated long option names can also take underscore (and vice versa).