Package: lsscsi
Version: 0.27-3
Severity: normal

# lsscsi 
[0:0:0:0]    disk    ATA      HITACHI HTS72323 B70B  /dev/sda                   
# cat ./sda/device/vpd_pg83
      E3834563JNUVKNDATA     HITACHI HTS723232A7A364                       
E3834563JNUVKP̦
#

The above shows the way the "HITACHI HTS723232A7A364" disk in my laptop is
truncated to "HITACHI HTS72323" by lsscsi.  It even does this when the terminal
window is significantly wider than 80 columns (so there's no line wrap issue).

The problem with this is that if you buy a bunch of disks from the same
manufacturer at the same time then lsscsi will truncate their names to all
be the same.  This makes lsscsi unusable for identifying the failing disk
from a RAID array that needs to be replaced and also causes problems when ZFS
uses full SCSI device names to identify disks instead of names like sda3
(this is possibly a bug in ZFS and a configuration issue - but lsscsi should
help the sysadmin work around bugs in other parts of the storage stack).

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages lsscsi depends on:
ii  libc6  2.19-18

lsscsi recommends no packages.

lsscsi suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to