ZFS提示errors: Permanent errors have been detected in the following files:
# 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
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
解决方法在
"请参见:http://www.sun.com/msg/ZFS-8000-8A"
里有啊.