eli*_*ter 2 partitioning mount ext4 hard-drive read-only
系统配置:
错误:
[ 2044.430919] EXT4-fs (sda1): previous I/O error to superblock detected
[ 2044.436018] sd 4:1:1:0: rejecting I/O to offline device
[ 2044.441364] EXT4-fs error (device sda1): __ext4_get_inode_loc:3683: inode #86663229: block 346555939: comm du: unable to read itable block
[ 2044.452399] sd 4:1:1:0: rejecting I/O to offline device
[ 2044.457844] sd 4:1:1:0: rejecting I/O to offline device
[ 2044.462877] sd 4:1:1:0: rejecting I/O to offline device
[ 2044.467606] sd 4:1:1:0: rejecting I/O to offline device
[ 2044.472357] sd 4:1:1:0: rejecting I/O to offline device
[ 2044.477110] sd 4:1:1:0: rejecting I/O to offline device
[ 2044.481844] sd 4:1:1:0: rejecting I/O to offline device
[ 2044.486613] sd 4:1:1:0: rejecting I/O to offline device
[ 2044.491372] sd 4:1:1:0: rejecting I/O to offline device
[ 2044.496131] sd 4:1:1:0: rejecting I/O to offline device
[ 2044.500872] EXT4-fs (sda1): previous I/O error to superblock detected
[ 2044.506010] sd 4:1:1:0: rejecting I/O to offline device
[ 2044.511376] EXT4-fs error (device sda1): __ext4_get_inode_loc:3683: inode #86671461: block 346556454: comm du: unable to read itable block
[ 2044.339461] block 346037795: comm du: unable to read itable block
[ 2044.339663] sd 4:1:1:0: rejecting I/O to offline device
[ 504.854978] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4507: Journal has aborted
[ 504.826169] EXT4-fs error (device sda1) in ext4_orphan_del:2111: Journal has aborted
Run Code Online (Sandbox Code Playgroud)
出现这些错误后,文件系统将变为只读状态,之后就无法正常工作。有时我什至无法重新启动它。我尝试重新挂载文件系统,但这不起作用。只有重新启动才能修复它(暂时)。
查看日志后,我发现这些可能有帮助:
[ 15.846694] sd 4:1:1:0: [sda] Write Protect is off
[ 15.846706] sd 4:1:1:0: [sda] Mode Sense: 03 00 00 08
[ 15.846918] sd 4:1:1:0: [sda] No Caching mode page found
[ 15.846929] sd 4:1:1:0: [sda] Assuming drive cache: write through
[ 15.847731] sd 4:1:1:0: [sda] No Caching mode page found
[ 15.847736] sd 4:1:1:0: [sda] Assuming drive cache: write through
[ 15.876479] sda: sda1 sda2 < sda5 >
[ 15.877403] sd 4:1:1:0: [sda] No Caching mode page found
[ 15.877409] sd 4:1:1:0: [sda] Assuming drive cache: write through
[ 15.877414] sd 4:1:1:0: [sda] Attached SCSI disk
[ 37.460186] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[ 37.460192] EXT4-fs (sda1): write access will be enabled during recovery
[ 38.929477] EXT4-fs (sda1): orphan cleanup on readonly fs
[ 38.929497] EXT4-fs (sda1): ext4_orphan_cleanup: deleting unreferenced inode 86523973
[ 38.930128] EXT4-fs (sda1): ext4_orphan_cleanup: deleting unreferenced inode 13572042
[ 38.945392] EXT4-fs (sda1): ext4_orphan_cleanup: deleting unreferenced inode 110888306
[ 38.964164] EXT4-fs (sda1): ext4_orphan_cleanup: deleting unreferenced inode 110890639
[ 38.964195] EXT4-fs (sda1): ext4_orphan_cleanup: deleting unreferenced inode 73400330
[ 38.964208] EXT4-fs (sda1): ext4_orphan_cleanup: deleting unreferenced inode 73400329
[ 38.964218] EXT4-fs (sda1): ext4_orphan_cleanup: deleting unreferenced inode 73400328
[ 38.964228] EXT4-fs (sda1): ext4_orphan_cleanup: deleting unreferenced inode 73400327
[ 38.964237] EXT4-fs (sda1): ext4_orphan_cleanup: deleting unreferenced inode 73400323
[ 38.964245] EXT4-fs (sda1): 9 orphan inodes deleted
[ 38.964250] EXT4-fs (sda1): recovery complete
[ 39.261874] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 54.271669] Adding 4190204k swap on /dev/sda5. Priority:-1 extents:1 across:4190204k
[ 54.345011] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[259523.631903] EXT4-fs (sda1): Unaligned AIO/DIO on inode 13372685 by AioMgr0-N; performance will be poor.
Run Code Online (Sandbox Code Playgroud)
我已经尝试过以下方法:
fsck -M -fy /dev/sdb1来自 14.10 的实时 USB 似乎没问题。任何想法/帮助将不胜感激。