e2fsck est tout à fait approprié
e2fsck /dev/sdb1
Pb SMART sur disque branché en USB avec noyaux récents
Cannot perform SMART data and Self-Test on external hard drive
Disable uas without rebooting
First, unplug all USB devices that might be using it. Then, remove the uas and usb-storage modules:
sudo modprobe -r uas
sudo modprobe -r usb-storage
Then, load usb-storage module with a parameter that tells it to not use uas for a given device:
sudo modprobe usb-storage quirks=VendorId:ProductId:u
VendorId and ProductId must be replaced by your device vendor and product id,
which can be obtained with lsusb command (they are the characters after ID).
For example, I have the following device:
Bus 002 Device 011: ID 0bc2:3320 Seagate RSS LLC SRD00F2 [Expansion Desktop Drive]
So my vendor id is 0bc2, and my product id is 3320. My command is:
sudo modprobe usb-storage quirks=0bc2:3320:u
The last u tells usb-storage to ignore uas for the device (see source).
At this point, you can insert the USB device, and it will know not to use uas, making S.M.A.R.T work properly.
You will see lines like these in dmesg when inserting the USB device:
usb 2-2: UAS is blacklisted for this device, using usb-storage instead
usb-storage 2-2:1.0: USB Mass Storage device detected
usb-storage 2-2:1.0: Quirks match for vid 0bc2 pid 3320: 800000
scsi host12: usb-storage 2-2:1.0