ZFS:如果所有磁碟都在線上但發生重新同步,這代表什麼?

ZFS:如果所有磁碟都在線上但發生重新同步,這代表什麼?

我在 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   

如果我看到重新同步已開始,但沒有磁碟標記為“離線”或“不可用”,這意味著什麼?從陣列中刪除其中一個磁碟是否安全?我應該用備用設備更換重新同步設備嗎?

答案1

有幾種解釋。其中之一是系統與磁碟失去聯繫一段時間,現在正在更新該磁碟的最新變更。

您不應在重新同步時刪除磁碟,因為 RAIDz1 僅具有單一磁碟容錯能力。

相關內容