Carlos E.R. wrote:
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.
It _could_ still be broken - using SMART ATA commands is not the same as just doing IO.
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'
So your change to sata was ignored, presumably because the USB driver presents the drive as SCSI.
<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
Did you try that?
The disk works fine with smartctl, it is smartd which has problems.
I wonder if the issue might be your "-d sat" in the config - seen from the kernel, the disk is not a SATA drive, but a SCSI drive.