很长一段时间以来,我都将 Seagate 硬盘连接到 Raspberry Pi。该硬盘有外部电源。硬盘上的 LED 时不时会开始闪烁,并且安装会从系统中消失。
当我拔下驱动器并重新插入时,它通常会恢复,但并非总是如此。最近,驱动器停止工作的情况越来越频繁。上次崩溃时,我从 dmesg 中获取了以下内容:
49.105683] scsi 0:0:0:0: Direct-Access Seagate Expansion Desk 0739 PQ: 0 ANSI: 6
[ 49.113781] sd 0:0:0:0: [sda] Spinning up disk...
[ 49.150658] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 54.610106] ......ready
[ 59.661098] sd 0:0:0:0: [sda] 732566645 4096-byte logical blocks: (3.00 TB/2.73 TiB)
[ 59.662073] sd 0:0:0:0: [sda] Write Protect is off
[ 59.662117] sd 0:0:0:0: [sda] Mode Sense: 2b 00 10 08
[ 59.663050] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 59.689282] sda: sda1
[ 59.700659] sd 0:0:0:0: [sda] Attached SCSI disk
[ 62.499883] EXT4-fs (sda1): recovery complete
[ 62.510210] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 1481.946661] smsc95xx 1-1.1:1.0 eth0: link down
[ 6149.568206] usb 1-1.4: USB disconnect, device number 4
[ 6149.575001] blk_update_request: I/O error, dev sda, sector 0
[ 6149.985052] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 6149.985394] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=0x01 driverbyte=0x00
[ 6150.181909] Buffer I/O error on dev sda1, logical block 365985792, lost sync page write
[ 6150.181955] JBD2: Error -5 detected when updating journal superblock for sda1-8.
[ 6150.181968] Aborting journal on device sda1-8.
[ 6150.181991] Buffer I/O error on dev sda1, logical block 365985792, lost sync page write
[ 6150.182008] JBD2: Error -5 detected when updating journal superblock for sda1-8.
您知道这可能是什么原因造成的吗?
答案1
它要么是 pi 上的接口,要么是外壳接口/控制器,要么是驱动器本身。
1 - 尝试连接到其他东西,看看是否遇到同样的问题。
2 – 移除驱动器并安装在 PC 中——我将首先查看 SMART 表并运行诊断。