Chinaunix

标题: zpool clear 后依然提示pool错误。 [打印本页]

作者: j_l    时间: 2012-11-29 11:01
标题: zpool clear 后依然提示pool错误。
本帖最后由 j_l 于 2012-11-29 11:01 编辑

如下记录:使用zpool clear rpool 和 tank后,依然显示错误存在。请教一下如何修复并让zpool不再显示错误?
# zpool status -v
  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
scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        rpool       ONLINE       0     0     0
          c0d0s0    ONLINE       0     0     0

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

        /export/oracle_software/solaris.x64_11gR2_database_1of2.zip
        rpool/export:<0xb26>
        rpool/export:<0xb27>
        rpool/export:<0xa5d>
        rpool/export:<0xbe2>

  pool: tank
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
scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        tank        ONLINE       0     0     0
          c0d1      ONLINE       0     0     0

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

        /tank/software/database/doc/dcommon/gifs/bookicon.gif
        /tank/software/database/stage/Components/oracle.sysman.console.db/11.2.0.1.0/1/DataFiles/filegroup5.jar
        /tank/software/database/stage/Components/oracle.sdo.locator/11.2.0.1.0/1/DataFiles


作者: j_l    时间: 2012-11-29 11:13
将tank中的那几个报错文件删掉后,报如下错误:我都已经不要那些文件了,咋zpool还这么钻牛角尖呢?
# zpool status -v tank
  pool: tank
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
scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        tank        ONLINE       0     0     0
          c0d1      ONLINE       0     0     0

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

        tank:<0x18>
        tank:<0x922>
        tank:<0x9f3>

作者: doging    时间: 2012-11-29 17:48
zpool scrub tank一下
作者: j_l    时间: 2012-12-02 08:41
回复 3# doging

all right!是这个命令,Thx!

   




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2