我有一个外部 SSD,Transport endpoint is not connected
在我进行了几个小时的长时间 rsync 后,它给了我错误。所以我将“高级电源选项”设置为永不关闭电源:
jeremy@jeremy-Blade:~$jeremy@jeremy-Blade:~$ sudo hdparm -B 0 /dev/sg0
[sudo] password for jeremy:
/dev/sg0:
setting Advanced Power Management level to 0x00 (0)
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
APM_level = not supported
据我所知,这解决了这个问题(至少 rsync 随后完成,尽管有“APM_level = 不支持”警告)。
然而,当我运行一些检查以查看 rsync 是否基本成功时,我点击了“软件导致连接中止”,然后传输端点再次出错,磁盘不再安装:
jeremy@jeremy-Blade:~$ find /media/jeremy/JR_SSD/tms/ -type f |wc -l
find: ‘/media/jeremy/JR_SSD/tms/20140221/images’: Software caused connection abort
find: ‘/media/jeremy/JR_SSD/tms/20140222’: Transport endpoint is not connected
....
所以我的问题是出了什么问题,和/或如何避免这种“软件导致连接中止”业务。关于此错误的其他 SO 线程似乎都不相关。如果有什么区别的话,查找应该找到大约 3000 万个文件,占用 350Gb。
编辑
df -T
将 SSD 列为类型:fuseblk,内部硬盘为类型:ext4