扫二维码与项目经理沟通
我们在微信上24小时期待你的声音
解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流
这篇文章主要介绍“如何修复zpool data errors错误”,在日常操作中,相信很多人在如何修复zpool data errors错误问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”如何修复zpool data errors错误”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!
创新互联公司长期为成百上千家客户提供的网站建设服务,团队从业经验10年,关注不同地域、不同群体,并针对不同对象提供差异化的产品和服务;打造开放共赢平台,与合作伙伴共同营造健康的互联网生态环境。为惠州企业提供专业的网站建设、网站设计,惠州网站改版等技术服务。拥有10多年丰富建站经验和众多成功案例,为您定制开发。
故障信息:
root@host1:/tank/new/ddd# 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://illumos.org/msg/ZFS-8000-8A
scan: scrub repaired 0 in 0h0m with 1161 errors on Thu Apr 17 10:02:52 2014
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 6.83K
mirror-0 ONLINE 0 0 13.7K
c3t5000C5000B74F2DBd0 ONLINE 0 0 13.7K
c3t5000C50043FFA61Fd0 ONLINE 0 0 13.7K
errors: Permanent errors have been detected in the following files:
/tank/new/ddd/Oracle Solaris 11 11_11 .cn. E26926_01.zip
root@host1:/tank/new/ddd# zpool status 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://illumos.org/msg/ZFS-8000-8A
scan: scrub repaired 0 in 0h0m with 1161 errors on Thu Apr 17 10:02:52 2014
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 6.83K
mirror-0 ONLINE 0 0 13.7K
c3t5000C5000B74F2DBd0 ONLINE 0 0 13.7K
c3t5000C50043FFA61Fd0 ONLINE 0 0 13.7K
errors: 1161 data errors, use '-v' for a list
修复方法:
root@host1:/tank/new/ddd# rm /tank/new/ddd/Oracle\ Solaris\ 11\ 11_11\ .cn.\ E26926_01.zip
root@host1:/tank/new/ddd# 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://illumos.org/msg/ZFS-8000-8A
scan: scrub repaired 0 in 0h0m with 1161 errors on Thu Apr 17 10:02:52 2014
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 6.83K
mirror-0 ONLINE 0 0 13.7K
c3t5000C5000B74F2DBd0 ONLINE 0 0 13.7K
c3t5000C50043FFA61Fd0 ONLINE 0 0 13.7K
errors: Permanent errors have been detected in the following files:
tank/new:<0x51b9>
检测:
root@host1:/tank/new/ddd# zpool status 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://illumos.org/msg/ZFS-8000-8A
scan: scrub repaired 0 in 0h0m with 1161 errors on Thu Apr 17 10:02:52 2014
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 6.83K
mirror-0 ONLINE 0 0 13.7K
c3t5000C5000B74F2DBd0 ONLINE 0 0 13.7K
c3t5000C50043FFA61Fd0 ONLINE 0 0 13.7K
errors: 1161 data errors, use '-v' for a list
结果:
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://illumos.org/msg/ZFS-8000-8A
scan: scrub in progress since Thu Apr 17 10:05:46 2014
2.20G scanned out of 2.44G at 70.5M/s, 0h0m to go
0 repaired, 90.38% done
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 6.83K
mirror-0 ONLINE 0 0 13.7K
c3t5000C5000B74F2DBd0 ONLINE 0 0 13.7K
c3t5000C50043FFA61Fd0 ONLINE 0 0 13.7K
errors: 1161 data errors, use '-v' for a list
pool: tank
state: ONLINE
status: One or more devices has experienced an unrecoverable error. An
attempt was made to correct the error. Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
using 'zpool clear' or replace the device with 'zpool replace'.
see: http://illumos.org/msg/ZFS-8000-9P
scan: scrub repaired 0 in 0h0m with 0 errors on Thu Apr 17 10:06:22 2014
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 6.83K
mirror-0 ONLINE 0 0 13.7K
c3t5000C5000B74F2DBd0 ONLINE 0 0 13.7K
c3t5000C50043FFA61Fd0 ONLINE 0 0 13.7K
errors: No known data errors
到此,关于“如何修复zpool data errors错误”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注创新互联网站,小编会继续努力为大家带来更多实用的文章!
我们在微信上24小时期待你的声音
解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流