ZFS提示errors: Permanent errors have been detected in the following files:

发布于 2022-09-11 17:35:14 字数 6918 浏览 16 评论 2

#  zpool status rpool
  pool: rpool
state: ONLINE
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://www.sun.com/msg/ZFS-8000-8A
scrub: resilver completed after 0h39m with 1 errors on Fri Dec 10 01:06:08 2010
config:

        NAME          STATE     READ WRITE CKSUM
        rpool         ONLINE       0     0     1
          mirror-0    ONLINE       0     0     2
            c1t0d0s0  ONLINE       0     0     2
            c1t1d0s0  ONLINE       0     0     2  37.5G resilvered
        spares
          c1t5d0s0    AVAIL   

errors: 1 data errors, use '-v' for a list
zpool status -v rpool
  pool: rpool
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://www.sun.com/msg/ZFS-8000-8A
scrub: resilver completed after 0h39m with 1 errors on Fri Dec 10 01:06:08 2010
config:

        NAME          STATE     READ WRITE CKSUM
        rpool         DEGRADED     0     0     7
          mirror-0    DEGRADED     0     0    14
            c1t0d0s0  DEGRADED     0     0    14  too many errors
            c1t1d0s0  DEGRADED     0     0    14  too many errors
        spares
          c1t5d0s0    AVAIL   

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

        /export/home/oracle/stage/Components/oracle.assistants.server/10.2.0.1.0/1/DataFiles/filegroup18.2.1.jar

# cp filegroup18.2.1.jar filegroup18.2.1.jar.bak
cp: filegroup18.2.1.jar.bak: I/O error

# zpool status rpool
  池:rpool
状态:ONLINE
状态:一个或多个设备发生了导致数据损坏的
        错误。应用程序可能会受到影响。
操作:如有可能,请恢复存在问题的文件。否则,请通过备份
        恢复整个池。
   请参见:http://www.sun.com/msg/ZFS-8000-8A
清理:0h39m 之后的 resilver completed,Fri Dec 10 01:06:08 2010
上出现 1 错误配置:

        NAME          STATE     READ WRITE CKSUM
        rpool         ONLINE       0     0     1
          mirror-0    ONLINE       0     0     2
            c1t0d0s0  ONLINE       0     0     2
            c1t1d0s0  ONLINE       0     0     2  37.5G resilvered
        备件
          c1t5d0s0    AVAIL   

错误:1 数据错误,使用 '-v' 显示列表
# zpool status -v rpool
  池:rpool
状态:ONLINE
状态:一个或多个设备发生了导致数据损坏的
        错误。应用程序可能会受到影响。
操作:如有可能,请恢复存在问题的文件。否则,请通过备份
        恢复整个池。
   请参见:http://www.sun.com/msg/ZFS-8000-8A
清理:0h39m 之后的 resilver completed,Fri Dec 10 01:06:08 2010
上出现 1 错误配置:

        NAME          STATE     READ WRITE CKSUM
        rpool         ONLINE       0     0     1
          mirror-0    ONLINE       0     0     2
            c1t0d0s0  ONLINE       0     0     2
            c1t1d0s0  ONLINE       0     0     2  37.5G resilvered
        备件
          c1t5d0s0    AVAIL   

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

        /export/home/oracle/stage/Components/oracle.assistants.server/10.2.0.1.0/1/DataFiles/filegroup18.2.1.jar

# cp filegroup18.2.1.jar filegroup18.2.1.jar.bak
cp: filegroup18.2.1.jar.bak: I/O错误

怎么修复该问题,谢谢。

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

神仙妹妹 2022-09-12 09:05:03

Applies to:
Solaris Operating System - Version: 8 and later   [Release: and later ]
All Platforms
Purpose
Provide additional information for message ID: ZFS-8000-8A
ZFS-8000-8A - Corrupted data
Predictive Self-Healing Article
ZFS-8000-8A - Corrupted data

Corrupted data
Type

Error
Severity

Critical
Description

A file or directory could not be read due to corrupt data.
Automated Response

No automated response will be taken.
Impact

The file or directory is unavailable.
Suggested Action for System Administrator

Run 'zpool status -x' to determine which pool is damaged:

# zpool status -x
  pool: test
state: ONLINE
status: One or more devices has experienced an error and no valid replicas
        are available.  Some filesystem data is corrupt, and applications
        may have been affected.
action: Destroy the pool and restore from backup.
   see: http://www.sun.com/msg/ZFS-8000-8A
scrub: none requested
config:

        NAME                  STATE     READ WRITE CKSUM
        test                  ONLINE       0     0     2
          c0t0d0              ONLINE       0     0     2
          c0t0d1              ONLINE       0     0     0

errors: 1 data errors, use '-v' for a list
Unfortunately, the data cannot be repaired, and the only choice to repair the data is to restore the pool from backup. Applications attempting to access the corrupted data will get an error (EIO), and data may be permanently lost.

On recent versions of Solaris, the list of affected files can be retrieved by using the '-v' option to 'zpool status':

# zpool status -xv
  pool: test
state: ONLINE
status: One or more devices has experienced an error and no valid replicas
        are available.  Some filesystem data is corrupt, and applications
        may have been affected.
action: Destroy the pool and restore from backup.
   see: http://www.sun.com/msg/ZFS-8000-8A
scrub: none requested
config:

        NAME                  STATE     READ WRITE CKSUM
        test                  ONLINE       0     0     2
          c0t0d0              ONLINE       0     0     2
          c0t0d1              ONLINE       0     0     0

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

        /export/example/foo
Damaged files may or may not be able to be removed depending on the type of corruption. If the corruption is within the plain data, the file should be removable. If the corruption is in the file metadata, then the file cannot be removed, though it can be moved to an alternate location. In either case, the data should be restored from a backup source. It is also possible for the corruption to be within pool-wide metadata, resulting in entire datasets being unavailable. If this is the case, the only option is to destroy the pool and re-create the datasets from backup.

Details

The Message ID: ZFS-8000-8A indicates corrupted data exists in the current pool

Product
Solaris Operating System

Attachments
This solution has no attachment

不一样的天空 2022-09-12 04:46:06

解决方法在
"请参见:http://www.sun.com/msg/ZFS-8000-8A"
里有啊.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文