我的 ext4 系统分区有问题。我正在运行 17.04(从 16.10 升级),但问题已经出现在 16.10 中。
偶尔(最常见的是在将系统从挂起状态唤醒后)系统会因一堆 ext4 文件系统错误而崩溃。
现在在检查文件系统时
sudo fsck -n /dev/nvme0n1p2
Run Code Online (Sandbox Code Playgroud)
fsck 声称文件系统是干净的
fsck from util-linux 2.29
e2fsck 1.43.4 (31-Jan-2017)
Warning! /dev/nvme0n1p2 is mounted.
Warning: skipping journal recovery because doing a read-only filesystem check.
/dev/nvme0n1p2: clean, 434755/15089664 files, 46490132/60347136 blocks
Run Code Online (Sandbox Code Playgroud)
但是,如果我强制检查,我会收到一大堆错误:
sudo fsck -nf /dev/nvme0n1p2
fsck from util-linux 2.29
e2fsck 1.43.4 (31-Jan-2017)
Warning! /dev/nvme0n1p2 is mounted.
Warning: skipping journal recovery because doing a read-only filesystem check.
Pass 1: Checking inodes, blocks, and sizes
Inodes that …Run Code Online (Sandbox Code Playgroud)