#1013907 smartmontools: Warning about disconnected USB Hard Drive when USB Flash Drive uses the same drive letter

Package:
smartmontools
Source:
smartmontools
Description:
control and monitor storage systems using S.M.A.R.T.
Submitter:
Konomi Kitten
Date:
2022-06-27 07:54:03 UTC
Severity:
normal
#1013907#5
Date:
2022-06-27 07:51:25 UTC
From:
To:
Dear Maintainer,

I get the following error for a drive I previous had connected to my computer:

```
This message was generated by the smartd daemon running on:

   host name:  debian
   DNS domain: workgroup

The following warning/error was logged by the smartd daemon:

Device: /dev/sdb [SAT], Read SMART Self-Test Log Failed

Device info:
TOSHIBA MQ04UBB400, S/N:000000000, WWN:0-000000-000000000, FW:JS000U, 4.00 TB

For details see host's SYSLOG.
```


You can also use the smartctl utility for further investigation.
The original message about this issue was sent at Sun Jun 26 15:29:02 2022 AEST
Another message will be sent in 24 hours if the problem persists.
```


Checking the journal shows that the current drive is not a TOSHIBA MQ04UBB400
but is actually a TOSHIBA USB DRV:
```
Jun 27 16:55:44 debian kernel: scsi 9:0:0:0: Direct-Access     TOSHIBA  TOSHIBA
USB DRV  PMAP PQ: 0 ANSI: 4
Jun 27 16:55:44 debian kernel: sd 9:0:0:0: Attached scsi generic sg1 type 0
Jun 27 16:55:45 debian kernel: sd 9:0:0:0: [sdb] 7570752 512-byte logical
blocks: (3.88 GB/3.61 GiB)
Jun 27 16:55:45 debian kernel: sd 9:0:0:0: [sdb] Write Protect is off
Jun 27 16:55:45 debian kernel: sd 9:0:0:0: [sdb] Mode Sense: 23 00 00 00
Jun 27 16:55:45 debian kernel: sd 9:0:0:0: [sdb] No Caching mode page found
Jun 27 16:55:45 debian kernel: sd 9:0:0:0: [sdb] Assuming drive cache: write
through
Jun 27 16:55:45 debian kernel:  sdb: sdb1 sdb2
Jun 27 16:55:45 debian kernel: sd 9:0:0:0: [sdb] Attached SCSI removable disk
```


Here is the smartd portion of the log:
```
Jun 27 16:59:03 debian smartd[1069]: Device: /dev/sdb [SAT], reconnected ATA
device
Jun 27 16:59:03 debian smartd[1069]: Device: /dev/sdb [SAT], failed to read
SMART Attribute Data
Jun 27 16:59:03 debian smartd[1069]: Sending warning via
/usr/share/smartmontools/smartd-runner to root ...
Jun 27 16:59:03 debian smartd[1069]: Warning via
/usr/share/smartmontools/smartd-runner to root: successful
Jun 27 16:59:03 debian smartd[1069]: Device: /dev/sdb [SAT], Read SMART Self
Test Log Failed
Jun 27 16:59:03 debian smartd[1069]: Sending warning via
/usr/share/smartmontools/smartd-runner to root ...
Jun 27 16:59:03 debian smartd[1069]: Warning via
/usr/share/smartmontools/smartd-runner to root: successful
Jun 27 16:59:03 debian smartd[1069]: Device: /dev/sdb [SAT], Read Summary SMART
Error Log failed
Jun 27 16:59:03 debian smartd[1069]: Sending warning via
/usr/share/smartmontools/smartd-runner to root ...
Jun 27 16:59:03 debian smartd[1069]: Warning via
/usr/share/smartmontools/smartd-runner to root: successful
```