几乎每次重启后文件系统都会变成只读,每次都必须运行 fsck /dev/sdb

几乎每次重启后文件系统都会变成只读,每次都必须运行 fsck /dev/sdb

这种情况是上周开始发生的。我有一块 HDD 和一块 SSD。Ubuntu 20.04 在 HDD 上,Windows 10 在 SSD 上,已经使用了 2 年多,没有任何问题。上周,终端突然不工作了,说文件是只读的。在谷歌搜索之后,我找到了一种解决方法,重新启动到实时 USB,运行fsck /dev/sdb6fsck /dev/sdb7命令,解决了这个问题。但在那之后,几乎每次我重新启动机器时,磁盘都会出现错误。有时它只是卡在 dell 徽标屏幕上,有时进入 initfram 终端,必须使用实时 usb 进行 fsck。有时我不得不多次这样做。这变得越来越烦人。还有一件事要提一下,如果我尝试使用 GParted 查看分区,它会显示读取 sdb 上的分区时出错。sda 是 ssd。sdb 是 hdd。hdd 中有 4 个分区; 2 个是 ntfs 并由 Windows 10 使用,另外两个包含根目录 (/) 和 /home。我一直在搜索此错误,发现硬盘即将损坏的提示。我在 Windows 上使用硬盘分区没有问题。所以我不确定这里发生了什么,或者我该如何诊断。

编辑: 我已经在 Windows 上运行了CHKDSK和,它们返回:wmic diskdrive get model,status

Model               Status
TOSHIBA MQ01ABD100  OK
HP SSD S600 240GB   OK

The type of the file system is NTFS.

WARNING!  /F parameter not specified.
Running CHKDSK in read-only mode.

Stage 1: Examining basic file system structure ...
  1893888 file records processed.
File verification completed.
 Phase duration (File record verification): 1.44 minutes.
  14843 large file records processed.
 Phase duration (Orphan file record recovery): 0.00 milliseconds.
  0 bad file records processed.
 Phase duration (Bad file record checking): 0.78 milliseconds.

Stage 2: Examining file name linkage ...
  18637 reparse records processed.
  2471016 index entries processed.
Index verification completed.
 Phase duration (Index verification): 4.01 minutes.
  0 unindexed files scanned.
 Phase duration (Orphan reconnection): 38.53 seconds.
  0 unindexed files recovered to lost and found.
 Phase duration (Orphan recovery to lost and found): 0.42 milliseconds.
  18637 reparse records processed.
 Phase duration (Reparse point and Object ID verification): 80.19 milliseconds.

Stage 3: Examining security descriptors ...
Security descriptor verification completed.
 Phase duration (Security descriptor verification): 133.20 milliseconds.
  288565 data files processed.
 Phase duration (Data attribute verification): 0.71 milliseconds.
CHKDSK is verifying Usn Journal...
  36967352 USN bytes processed.
Usn Journal verification completed.
 Phase duration (USN journal verification): 680.75 milliseconds.

Windows has scanned the file system and found no problems.
No further action is required.

 233864555 KB total disk space.
 169107708 KB in 1525127 files.
    765556 KB in 288566 indexes.
         0 KB in bad sectors.
   2007563 KB in use by the system.
     65536 KB occupied by the log file.
  61983728 KB available on disk.

      4096 bytes in each allocation unit.
  58466138 total allocation units on disk.
  15495932 allocation units available on disk.
Total duration: 6.11 minutes (366875 ms).

我也用 CrystalDiskInfo 检查了硬盘,结果如下。现在我很困惑,因为有些检查显示错误,有些则不显示。 CrystalDiskInfo 状态

相关内容