ZFS Troubleshooting Guide
翻译自2010年3月http://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