![连接外部驱动器时出现 snap 和 SMART 错误](https://linux22.com/image/1147865/%E8%BF%9E%E6%8E%A5%E5%A4%96%E9%83%A8%E9%A9%B1%E5%8A%A8%E5%99%A8%E6%97%B6%E5%87%BA%E7%8E%B0%20snap%20%E5%92%8C%20SMART%20%E9%94%99%E8%AF%AF.png)
当我将外部 USB 硬盘插入 Lubuntu 16.04 系统时,它会安装、卸载、安装、卸载,最后成功。
snap
插入驱动器后,我立即在系统日志中看到与 SMART 相关的错误:
Jun 1 09:45:05 /usr/bin/snap[29746]: cmd.go:114: DEBUG: not restarting into "/snap/core/current/usr/bin/snap" ([VERSION=2.24 2.24]): older than "/usr/bin/snap" (2.25)
Jun 1 09:45:05 udisksd[1880]: Error performing initial housekeeping for drive /org/freedesktop/UDisks2/drives/WDC_WD2500AAJS_75M0A0_WD_WMAV2Z383248: Error updating SMART data: sk_disk_smart_read_data: Operation not supported (udisks-error-quark, 0)
Jun 1 09:45:06 /usr/bin/snap[29764]: cmd.go:114: DEBUG: not restarting into "/snap/core/current/usr/bin/snap" ([VERSION=2.24 2.24]): older than "/usr/bin/snap" (2.25)
Jun 1 09:45:07 kernel: [1380062.722240] EXT4-fs (sdd1): recovery complete
我该如何修复这些错误?
答案1
如果lsusb
检测到智微科技bridge,您有答案了。其中一些与 SMART 不完全兼容,不幸的是这会导致错误。