On 08/08/2020 07.49, David Haller wrote:
Hello,
On Sat, 08 Aug 2020, Carlos E. R. wrote:
It worked :-)
Problem is back:
<3.2> 2020-08-07T04:55:34.474986+02:00 Isengard smartd 18959 - - Device: /dev/disk/by-id/usb-WD_My_Book_25EE_32544B5354325344-0:0 [SAT], failed to read SMART Attribute Data
[..]
The configuration line is:
/dev/disk/by-id/usb-WD_My_Book_25EE_32544B5354325344-0:0 -d removable -d sat -a -s (S/../.././02|L/../../6/03) -m root@telcontar.valinor
Obviously I'm removing the mail part again.
Hm. Try: '-d sat,auto -T permissive' (see 'man 5 smartd.conf')... Otherwise, I'd say that USB-SATA bridge is just b0rked.
Can't be borked, the disk works fine. I have two units, both do the same thing. Western Digital MyDisk.
After I removed the mail thing yesterday, I got only three warnings.
Now adding your idea, we'll see tomorrow :-)
Huh, no, doesn't like it:
<3.6> 2020-08-08T14:25:00.839082+02:00 Isengard smartd 32172 - - Device: /dev/disk/by-id/usb-WD_My_Book_25EE_32544B5354325344-0:0, type changed from 'sat,auto' to 'scsi' <3.6> 2020-08-08T14:25:00.840066+02:00 Isengard smartd 32172 - - Device: /dev/disk/by-id/usb-WD_My_Book_25EE_32544B5354325344-0:0 [SCSI], opened <3.6> 2020-08-08T14:25:00.840961+02:00 Isengard smartd 32172 - - Device: /dev/disk/by-id/usb-WD_My_Book_25EE_32544B5354325344-0:0 [SCSI], [WD My Book 25EE 4004], lu id: 0x500..., S/N: ..., 8.00 TB <3.6> 2020-08-08T14:25:00.841711+02:00 Isengard smartd 32172 - - Device: /dev/disk/by-id/usb-WD_My_Book_25EE_32544B5354325344-0:0 [SCSI], IE (SMART) not enabled, skip device <3.6> 2020-08-08T14:25:00.842439+02:00 Isengard smartd 32172 - - Try 'smartctl -s on /dev/disk/by-id/usb-WD_My_Book_25EE_32544B5354325344-0:0 [SCSI]' to turn on SMART features <3.2> 2020-08-08T14:25:00.843166+02:00 Isengard smartd 32172 - - Unable to register SCSI device /dev/disk/by-id/usb-WD_My_Book_25EE_32544B5354325344-0:0 [SCSI] at line 129 of file /etc/smartd.conf <3.6> 2020-08-08T14:25:00.844022+02:00 Isengard smartd 32172 - - Device: /dev/disk/by-id/usb-WD_My_Book_25EE_32544B5354325344-0:0 [SCSI], not available
It thinks it is SCSI and fails.
I remove the "auto" and it starts.
<3.6> 2020-08-08T14:38:18.444291+02:00 Isengard smartd 32653 - - Device: /dev/disk/by-id/usb-WD_My_Book_25EE_32544B5354325344-0:0 [SAT], opened <3.6> 2020-08-08T14:38:18.444948+02:00 Isengard smartd 32653 - - Device: /dev/disk/by-id/usb-WD_My_Book_25EE_32544B5354325344-0:0 [SAT], WDC WD 80EZAZ-11TDBA0, S/N:..., WWN:5-000..., FW:83.H0A83, 8.00 TB <3.6> 2020-08-08T14:38:18.457927+02:00 Isengard smartd 32653 - - Device: /dev/disk/by-id/usb-WD_My_Book_25EE_32544B5354325344-0:0 [SAT], found in smartd database: WDC HGST Ultrastar He10 <3.6> 2020-08-08T14:38:18.467331+02:00 Isengard smartd 32653 - - Device: /dev/disk/by-id/usb-WD_My_Book_25EE_32544B5354325344-0:0 [SAT], is SMART capable. Adding to "monitor" list. <3.6> 2020-08-08T14:38:18.468569+02:00 Isengard smartd 32653 - - Device: /dev/disk/by-id/usb-WD_My_Book_25EE_32544B5354325344-0:0 [SAT], state read from /var/lib/smartmontools/smartd.WDC_WD80EZAZ_11TDBA0-2TKST2SD.ata.state
The disk works fine with smartctl, it is smartd which has problems.