我在 Raspberry Pi 4 上使用 Ubuntu 20.04。我将 4 个 USB 磁盘连接到 Pi:两个 USB 2.0 磁盘连接到 USB 2.0 端口,两个 USB 3.0 磁盘连接到连接到两个 USB 3.0 端口之一的 USB 3.0 集线器。所有磁盘都只有 ext4 分区,并且它们通过 安装/etc/fstab
,其中一些通过 共享Samba
。通常一切都会正常工作数小时,但如果我运行 qBittorent(还有 aMule......)几分钟后,我无法访问这些磁盘上的某些分区,如果我ls -l
在安装了分区的目录中这样做,我会得到ls: reading directory '.': Input/output error
。这发生在三个磁盘上的四个分区上,第四个磁盘上的另一个分区没有问题...... Asudo dmesg | tail -n 100
显示:
[64119.839763] sd 3:0:0:0: rejecting I/O to offline device
[64119.846414] EXT4-fs error (device sdd1): __ext4_find_entry:1531: inode #28835841: comm php-fpm7.4: reading directory
lblock 0
[64119.848772] sd 3:0:0:0: rejecting I/O to offline device
[64119.860948] sd 3:0:0:0: rejecting I/O to offline device
[64119.867406] EXT4-fs error (device sdd1): __ext4_find_entry:1531: inode #28835841: comm php-fpm7.4: reading directory
lblock 0
[64119.873906] Buffer I/O error on dev sdd1, logical block 0, lost sync page write
[64119.897286] EXT4-fs (sdd1): I/O error while writing superblock
[64119.897288] EXT4-fs (sdd1): previous I/O error to superblock detected
[64119.897329] sd 3:0:0:0: rejecting I/O to offline device
[64119.919401] Buffer I/O error on dev sdd1, logical block 0, lost sync page write
[64119.928595] EXT4-fs (sdd1): I/O error while writing superblock
[64119.936127] sd 3:0:0:0: rejecting I/O to offline device
[64119.942724] EXT4-fs error (device sdd1): __ext4_find_entry:1531: inode #28835841: comm php-fpm7.4: reading directory
lblock 0
[64119.956978] sd 3:0:0:0: rejecting I/O to offline device
[64119.963560] Buffer I/O error on dev sdd1, logical block 0, lost sync page write
[64119.972751] EXT4-fs (sdd1): I/O error while writing superblock
[64119.980240] sd 3:0:0:0: rejecting I/O to offline device
[64119.986824] print_req_error: 13 callbacks suppressed
[64119.986828] blk_update_request: I/O error, dev sdd, sector 922814720 op 0x0:(READ) flags 0x3000 phys_seg 1 prio class
0
[64120.000437] EXT4-fs error (device sdd1): __ext4_find_entry:1531: inode #28835841: comm php-fpm7.4: reading directory
lblock 0
[64120.014729] sd 3:0:0:0: rejecting I/O to offline device
[64120.021313] blk_update_request: I/O error, dev sdd, sector 2048 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[64120.034341] blk_update_request: I/O error, dev sdd, sector 2048 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[64120.047350] Buffer I/O error on dev sdd1, logical block 0, lost sync page write
[64120.056545] EXT4-fs (sdd1): I/O error while writing superblock
[64120.081463] sd 3:0:0:0: rejecting I/O to offline device
[64120.088063] blk_update_request: I/O error, dev sdd, sector 923011280 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[64120.101377] sd 3:0:0:0: rejecting I/O to offline device
[64120.107971] blk_update_request: I/O error, dev sdd, sector 923011280 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[64120.545599] hub 1-1:1.0: hub_ext_port_status failed (err = -110)
[64125.665708] hub 1-1:1.0: hub_ext_port_status failed (err = -110)
[64126.112217] sd 3:0:0:0: rejecting I/O to offline device
[64126.118827] blk_update_request: I/O error, dev sdd, sector 922814720 op 0x0:(READ) flags 0x3000 phys_seg 1 prio class
0
[64126.132425] EXT4-fs error (device sdd1): __ext4_find_entry:1531: inode #28835841: comm php-fpm7.4: reading directory
lblock 0
[64126.146698] sd 3:0:0:0: rejecting I/O to offline device
[64126.153301] blk_update_request: I/O error, dev sdd, sector 2048 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[64126.166327] blk_update_request: I/O error, dev sdd, sector 2048 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[64126.179334] Buffer I/O error on dev sdd1, logical block 0, lost sync page write
[64126.188533] EXT4-fs (sdd1): I/O error while writing superblock
[64126.196095] sd 3:0:0:0: rejecting I/O to offline device
[64126.202688] blk_update_request: I/O error, dev sdd, sector 922814720 op 0x0:(READ) flags 0x3000 phys_seg 1 prio class
0
[64126.216286] EXT4-fs error (device sdd1): __ext4_find_entry:1531: inode #28835841: comm php-fpm7.4: reading directory
lblock 0
[64126.230554] sd 3:0:0:0: rejecting I/O to offline device
[64126.237138] blk_update_request: I/O error, dev sdd, sector 2048 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[64126.250158] blk_update_request: I/O error, dev sdd, sector 2048 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[64126.263163] Buffer I/O error on dev sdd1, logical block 0, lost sync page write
[64126.272355] EXT4-fs (sdd1): I/O error while writing superblock
[64126.304611] sd 3:0:0:0: rejecting I/O to offline device
[64126.311209] blk_update_request: I/O error, dev sdd, sector 923011280 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[64130.785819] hub 1-1:1.0: hub_ext_port_status failed (err = -110)
[64131.243892] [UFW BLOCK] IN=eth0 OUT= MAC=dc:a6:32:04:31:6b:74:36:6d:7f:b9:c3:08:00 SRC=192.168.11.1 DST=192.168.11.17
LEN=339 TOS=0x00 PREC=0x00 TTL=64 ID=35160 PROTO=UDP SPT=1900 DPT=51579 LEN=319
[64135.905950] hub 1-1:1.0: hub_ext_port_status failed (err = -110)
[64141.026019] hub 1-1:1.0: hub_ext_port_status failed (err = -110)
[64146.146167] hub 1-1:1.0: hub_ext_port_status failed (err = -110)
[64146.953876] sd 3:0:0:0: rejecting I/O to offline device
[64146.960490] blk_update_request: I/O error, dev sdd, sector 922814720 op 0x0:(READ) flags 0x3000 phys_seg 1 prio class
0
[64146.974117] EXT4-fs error (device sdd1): __ext4_find_entry:1531: inode #28835841: comm php-fpm7.4: reading directory
lblock 0
[64146.988424] sd 3:0:0:0: rejecting I/O to offline device
[64146.995026] blk_update_request: I/O error, dev sdd, sector 2048 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[64147.008047] blk_update_request: I/O error, dev sdd, sector 2048 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[64147.021053] Buffer I/O error on dev sdd1, logical block 0, lost sync page write
[64147.030295] EXT4-fs (sdd1): I/O error while writing superblock
[64147.037814] sd 3:0:0:0: rejecting I/O to offline device
[64147.044408] blk_update_request: I/O error, dev sdd, sector 922814720 op 0x0:(READ) flags 0x3000 phys_seg 1 prio class
0
[64147.057990] EXT4-fs error (device sdd1): __ext4_find_entry:1531: inode #28835841: comm php-fpm7.4: reading directory
lblock 0
[64147.072342] sd 3:0:0:0: rejecting I/O to offline device
[64147.078942] blk_update_request: I/O error, dev sdd, sector 2048 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[64147.091972] blk_update_request: I/O error, dev sdd, sector 2048 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[64147.104976] Buffer I/O error on dev sdd1, logical block 0, lost sync page write
[64147.114168] EXT4-fs (sdd1): I/O error while writing superblock
[64147.161233] sd 3:0:0:0: rejecting I/O to offline device
[64147.167837] blk_update_request: I/O error, dev sdd, sector 923011280 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[64151.244209] [UFW BLOCK] IN=eth0 OUT= MAC=dc:a6:32:04:31:6b:74:36:6d:7f:b9:c3:08:00 SRC=192.168.11.1 DST=192.168.11.17
LEN=339 TOS=0x00 PREC=0x00 TTL=64 ID=45099 PROTO=UDP SPT=1900 DPT=51579 LEN=319
[64151.266249] hub 1-1:1.0: hub_ext_port_status failed (err = -110)
[64156.386384] hub 1-1:1.0: hub_ext_port_status failed (err = -110)
[64161.506448] hub 1-1:1.0: hub_ext_port_status failed (err = -110)
[64166.626570] hub 1-1:1.0: hub_ext_port_status failed (err = -110)
[64171.245894] [UFW BLOCK] IN=eth0 OUT= MAC=dc:a6:32:04:31:6b:74:36:6d:7f:b9:c3:08:00 SRC=192.168.11.1 DST=192.168.11.17
LEN=339 TOS=0x00 PREC=0x00 TTL=64 ID=57119 PROTO=UDP SPT=1900 DPT=51579 LEN=319
[64171.746730] hub 1-1:1.0: hub_ext_port_status failed (err = -110)
[64176.866879] hub 1-1:1.0: hub_ext_port_status failed (err = -110)
[64178.946908] sd 3:0:0:0: rejecting I/O to offline device
[64178.953505] blk_update_request: I/O error, dev sdd, sector 922814720 op 0x0:(READ) flags 0x3000 phys_seg 1 prio class
0
[64178.967100] EXT4-fs error (device sdd1): __ext4_find_entry:1531: inode #28835841: comm php-fpm7.4: reading directory
lblock 0
[64178.981427] sd 3:0:0:0: rejecting I/O to offline device
[64178.988018] blk_update_request: I/O error, dev sdd, sector 2048 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[64179.001052] blk_update_request: I/O error, dev sdd, sector 2048 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[64179.014057] Buffer I/O error on dev sdd1, logical block 0, lost sync page write
[64179.023253] EXT4-fs (sdd1): I/O error while writing superblock
[64179.030738] sd 3:0:0:0: rejecting I/O to offline device
[64179.037327] blk_update_request: I/O error, dev sdd, sector 922814720 op 0x0:(READ) flags 0x3000 phys_seg 1 prio class
0
[64179.050901] EXT4-fs error (device sdd1): __ext4_find_entry:1531: inode #28835841: comm php-fpm7.4: reading directory
lblock 0
[64179.065167] sd 3:0:0:0: rejecting I/O to offline device
[64179.071753] blk_update_request: I/O error, dev sdd, sector 2048 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[64179.084782] blk_update_request: I/O error, dev sdd, sector 2048 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[64179.097787] Buffer I/O error on dev sdd1, logical block 0, lost sync page write
[64179.106981] EXT4-fs (sdd1): I/O error while writing superblock
[64179.154842] sd 3:0:0:0: rejecting I/O to offline device
[64179.161444] blk_update_request: I/O error, dev sdd, sector 923011280 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[64181.986840] hub 1-1:1.0: hub_ext_port_status failed (err = -110)
[64187.107001] hub 1-1:1.0: hub_ext_port_status failed (err = -110)
有人能帮助我理解吗?