![ZFS:如果所有磁盘都处于在线状态但进行了重新镀银,这意味着什么?](https://linux22.com/image/660636/ZFS%EF%BC%9A%E5%A6%82%E6%9E%9C%E6%89%80%E6%9C%89%E7%A3%81%E7%9B%98%E9%83%BD%E5%A4%84%E4%BA%8E%E5%9C%A8%E7%BA%BF%E7%8A%B6%E6%80%81%E4%BD%86%E8%BF%9B%E8%A1%8C%E4%BA%86%E9%87%8D%E6%96%B0%E9%95%80%E9%93%B6%EF%BC%8C%E8%BF%99%E6%84%8F%E5%91%B3%E7%9D%80%E4%BB%80%E4%B9%88%EF%BC%9F.png)
我在 Solaris 10 上有一个由四个 raidz1 组成的池,其中三个如下所示:
state: ONLINE
status: One or more devices is currently being resilvered. The pool will
continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
scan: resilver in progress since Wed Jun 17 16:46:31 2015
536G scanned out of 43.9T at 389M/s, 32h26m to go
536G scanned out of 43.9T at 389M/s, 32h26m to go
27.3G resilvered, 1.19% done
config:
NAME STATE READ WRITE CKSUM
volume ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
c0t600C0FF00012FBB109A2154F01000000d0 ONLINE 0 0 0
c0t600C0FF00012FBB115A2154F01000000d0 ONLINE 0 0 0
c0t600C0FF00012FBB139A2154F01000000d0 ONLINE 0 0 0
c0t600C0FF00012FC7DFCA1154F01000000d0 ONLINE 0 0 0
c0t600C0FF00012FBB151A2154F01000000d0 ONLINE 0 0 0
c0t600C0FF00012FBB1E630025201000000d0 ONLINE 0 0 0 (resilvering)
c0t600C0FF00012FBB169A2154F01000000d0 ONLINE 0 0 0
...
spares
c0t600C0FF00012FBB11555EC5401000000d0 AVAIL
如果我看到重新同步已启动,尽管没有磁盘被标记为 OFFLINE 或 UNAVAIL,这意味着什么?从阵列中移除其中一个磁盘是否安全?我是否应该用备用设备替换重新同步设备?
答案1
有几种解释。其中一种是系统暂时与磁盘失去联系,现在正在更新该磁盘的最新更改。
您不应在重新镀银时移除磁盘,因为 RAIDz1 仅具有单个磁盘容错功能。