我有一个由 8 个镜像驱动器和一个热备用驱动器组成的池。镜像集中的其中一个驱动器发生故障,但我不知道热备用驱动器是否自动添加。备用驱动器的状态为“正在使用”,扫描显示它已重新镀银 1.7T。但是,镜像 0 仍然显示为“降级”。镜像 0 是否已 100% 启动,我只需使用“zpool clear primary_vol”清除状态?或者我需要发出“zpool replace c0t12d1 c0t21d1”
zpool status
pool: primary_vol
state: DEGRADED
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://www.sun.com/msg/ZFS-8000-9P
scan: resilvered 1.70T in 11h17m with 0 errors on Sun Feb 12 10:17:39 2017
config:
NAME STATE READ WRITE CKSUM
primary_vol DEGRADED 0 0 0
mirror-0 DEGRADED 0 0 0
spare-0 DEGRADED 0 0 184
c0t12d1 DEGRADED 0 0 199 too many errors
c0t21d1 ONLINE 0 0 207
c0t13d1 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
c0t15d1 ONLINE 0 0 0
c0t18d1 ONLINE 0 0 0
mirror-2 ONLINE 0 0 0
c0t19d1 ONLINE 0 0 0
c0t20d1 ONLINE 0 0 0
mirror-3 ONLINE 0 0 0
c0t22d1 ONLINE 0 0 0
c0t24d1 ONLINE 0 0 0
logs
c0t16d1 ONLINE 0 0 0
spares
c0t21d1 INUSE currently in use
errors: No known data errors
pool: syspool
state: ONLINE
scan: scrub repaired 0 in 0h2m with 0 errors on Sun Feb 12 03:05:10 2017
config:
NAME STATE READ WRITE CKSUM
syspool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
c0t14d1s0 ONLINE 0 0 0
c0t17d1s0 ONLINE 0 0 0
errors: No known data errors
答案1
答案2
- 驅動器出故障。
- 备用电源接管了。
- 您可以替换故障磁盘,重建可能取决于您的池
autoreplace
设置。
所涉及的操作系统、发行版和硬件等一些细节可能有助于给出更具体的答案。
一旦重建完成,备用发动机将恢复备用职责。