ZFS 故障检修指南(一)

 

ZFS Troubleshooting Guide

翻译自20103http://www.solarisinternals.com/wiki/index.php/ZFS_Troubleshooting_Guide

翻译者:上海锋群网络技术有限公司徐鹤军

 

 

 

解决硬件问题

诊断潜在问题

  • 诊断硬件问题的常用指令:

 zpool status
 zpool status -v
 fmdump
 fmdump -ev or fmdump -eV
 format or rmformat
  • 用“zpool status”指令识别硬件问题。如果一个pool处于“DEGRADED”状态,使用”zpool status”质量来识别是否有个硬盘不可用了。例如:

  # zpool status -x
  pool: zeepool
 state: DEGRADED
status: One or more devices could not be opened.  Sufficient replicas exist for
        the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
   see: http://www.sun.com/msg/ZFS-8000-D3
 scrub: resilver completed after 0h12m with 0 errors on Thu Aug 28 09:29:43 2008
config:

        NAME                 STATE     READ WRITE CKSUM
        zeepool              DEGRADED     0     0     0
          mirror             DEGRADED     0     0     0
            c1t2d0           ONLINE       0     0     0
            spare            DEGRADED     0     0     0
              c2t1d0         UNAVAIL      0     0     0  cannot open
              c2t3d0         ONLINE       0     0     0
        spares
          c1t3d0             AVAIL   
          c2t3d0             INUSE     currently in use

errors: No known data errors
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值