每周fsck,为什么?

hub*_*man 0 hard-drive

我已经安装了 Ubuntu 操作系统,但是这个消息每天都会出现

  (Initramfs): /dev/sda6 contains a file system with errors, check forced.
  Inodes that were a part of a corrupted orphan linked lost found.
  /dev/sda1 : UNEXPECTED INCONSISTENCY; RUN fsck manually.(I.e .,
  without -a or -p options). fsck exited with status code 4. The root
  filesystem on /dev/sda1 requires a manual fsck
Run Code Online (Sandbox Code Playgroud)

我必须做到这一点:

fsck /dev/sda6
Run Code Online (Sandbox Code Playgroud)

我的高清坏了?我该如何解决这个问题?

在此处输入图片说明

在此处输入图片说明

结果是: 在此处输入图片说明

在此处输入图片说明

现在 SMART 的结果是:在此处输入图片说明

hey*_*ema 5

你的命令应该是 fsck -f /dev/sda6

注意:OP 编辑​​了问题,因此上述答案不再完整


更新 #1:

从我所知道的一点点西班牙语来看,您的硬盘似乎出现了故障。我们可以尝试对磁盘进行坏块,看看是否可以在没有所有 fsck 的情况下使其更可靠地工作。

Note: do NOT abort a bad block scan!

Note: do NOT bad block a SSD

Note: backup your important files FIRST!

Note: this will take many hours
Run Code Online (Sandbox Code Playgroud)

启动到 Ubuntu Live USB/DVD。

terminal...

sudo e2fsck -fcky /dev/sdXX # 只读测试

或者

sudo e2fsck -fccky /dev/sdXX# 无损读/写测试(推荐)

-k 很重要,因为它保存了之前的坏块表,并将任何新的坏块添加到该表中。如果没有 -k,您将丢失所有先前的坏块信息。

-fccky 参数...

   -f     Force checking even if the file system seems clean.

   -c     This option causes e2fsck to use badblocks(8) program  to  do  a
          read-only  scan  of  the device in order to find any bad blocks.
          If any bad blocks are found, they are added  to  the  bad  block
          inode  to  prevent them from being allocated to a file or direc?
          tory.  If this option is specified twice,  then  the  bad  block
          scan will be done using a non-destructive read-write test.

   -k     When combined with the -c option, any existing bad blocks in the
          bad blocks list are preserved, and any new bad blocks  found  by
          running  badblocks(8)  will  be added to the existing bad blocks
          list.

   -y     Assume  an answer of `yes' to all questions; allows e2fsck to be
          used non-interactively.  This option may not be specified at the
          same time as the -n or -p options.
Run Code Online (Sandbox Code Playgroud)

更新#2:

在badblocks磁盘之后,我们可以看到磁盘发生了故障。

备份任何数据。

更换磁盘。

重新安装 Ubuntu 并恢复您的数据。