我有一台装有 Ubuntu Server 的 HP Thin Client T610。我将我的外置硬盘驱动器 WD 1.5TB 连接到此终端。我将其安装上去,关闭 USB 自动挂起等。一切正常,但重启后只能维持一段时间。
过了一段时间(有时 10 分钟,有时 1 小时),HDD 从我的终端上消失了。我通过以下方式检查日志tail /var/log/syslog
:
Jun 17 11:27:39 terminal kernel: [ 575.403505] sd 3:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 08 6b 32 80 00 01 00 00
Jun 17 11:27:39 terminal kernel: [ 575.403518] blk_update_request: I/O error, dev sdc, sector 141243008 op 0x0:(READ) flags 0x80700 phys_seg 2 prio class 0
Jun 17 11:27:40 terminal kernel: [ 576.074623] usb 4-2: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd
Jun 17 11:27:40 terminal kernel: [ 576.098837] sd 3:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jun 17 11:27:40 terminal kernel: [ 576.098848] sd 3:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 08 6b b7 80 00 01 00 00
Jun 17 11:27:40 terminal kernel: [ 576.098855] blk_update_request: I/O error, dev sdc, sector 141277056 op 0x0:(READ) flags 0x80700 phys_seg 2 prio class 0
Jun 17 11:27:41 terminal kernel: [ 576.794742] usb 4-2: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd
Jun 17 11:27:41 terminal kernel: [ 576.819106] sd 3:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jun 17 11:27:41 terminal kernel: [ 576.819117] sd 3:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 08 6b e4 80 00 01 00 00
Jun 17 11:27:41 terminal kernel: [ 576.819124] blk_update_request: I/O error, dev sdc, sector 141288576 op 0x0:(READ) flags 0x80700 phys_seg 2 prio class 0
(sdc 是我的外部驱动器)
我以为我需要一个活动的 USB 集线器,因为硬盘驱动器关闭了(这在 Mac mini 上发生过)。我将硬盘驱动器连接到活动集线器,将集线器连接到终端中的 USB 3.0 端口,并将 5V 2A 电源连接到我的活动集线器。但现在,系统看不到硬盘驱动器,甚至看不到 USB 3.0 端口。
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 2412:2800 2.4G Composite Devic
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
find /dev/bus
/dev/bus
/dev/bus/usb
/dev/bus/usb/002
/dev/bus/usb/002/002
/dev/bus/usb/002/001
/dev/bus/usb/001
/dev/bus/usb/001/001
lsblk -a
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 29.8M 1 loop /snap/snapd/8140
loop1 7:1 0 30.3M 1 loop /snap/snapd/7777
loop2 7:2 0 71.2M 1 loop /snap/lxd/15564
loop3 7:3 0 55M 1 loop /snap/core18/1705
loop4 7:4 0 55M 1 loop /snap/core18/1754
loop5 7:5 0 69.3M 1 loop /snap/lxd/15457
loop6 7:6 0 0 loop
loop7 7:7 0 0 loop
sda 8:0 0 14.9G 0 disk
├─sda1 8:1 0 512M 0 part /boot/efi
└─sda2 8:2 0 14.4G 0 part /
sdb 8:16 0 465.8G 0 disk
└─sdb1 8:17 0 465.8G 0 part /mnt/sdb
有人能帮帮我吗?我已经为此奋斗了一个星期了……