FreeNAS 磁盘上有太多错误

FreeNAS 磁盘上有太多错误

我的 FreeNAS 的一个磁盘出现故障,zpool 只包含一个虚拟机。

当我打电话时zpool status -v,我得到:

root@freenas:/ # zpool status -v
  pool: freenas-boot
 state: ONLINE
  scan: scrub repaired 0 in 0 days 00:02:08 with 0 errors on Fri Dec 28 03:47:08 2018
config:

    NAME        STATE     READ WRITE CKSUM
    freenas-boot  ONLINE       0     0     0
      da0p2     ONLINE       0     0     0

errors: No known data errors

  pool: vol1
 state: DEGRADED
status: One or more devices has experienced an error resulting in data
    corruption.  Applications may be affected.
action: Restore the file in question if possible.  Otherwise restore the
    entire pool from backup.
   see: http://illumos.org/msg/ZFS-8000-8A
  scan: scrub repaired 0 in 0 days 00:00:02 with 15 errors on Fri Dec 28 08:54:54 2018
config:

    NAME                                            STATE     READ WRITE CKSUM
    vol1                                            DEGRADED     0     0   231
      mirror-0                                      DEGRADED     0     0   471
        gptid/ab2edc42-7b17-11e8-b061-7c8bca013f2c  ONLINE       0     0   491
        gptid/aba87353-7b17-11e8-b061-7c8bca013f2c  DEGRADED     0     0   471  too many errors

errors: Permanent errors have been detected in the following files:

        vol1/discoubuntu:<0x1>

如果我更换了故障的驱动器,该文件还能再次被读取吗?

有没有办法恢复该文件?

答案1

此消息表示文件已损坏且无法恢复。更换磁盘无法神奇地修复它。请从备份中恢复。

相关内容