轉換 Oracle® Solaris 10 至 Oracle Solaris 11.2

結束列印檢視

更新日期: 2014 年 12 月
 
 

Solaris Volume Manager 配置與 ZFS 配置比較

在 Oracle Solaris 10 中,可以使用 Solaris Volume Manager,替 UFS 檔案系統建立備援磁碟區。Solaris Volume Manager 是一個含有磁碟區管理層和檔案系統管理層的傳統磁碟區管理產品。

Oracle Solaris 10 以及 Oracle Solaris 11 發行版本中提供的 ZFS,已將磁碟區管理排除。ZFS 會將裝置聚總至儲存集區中,而不會建立虛擬的磁碟區。儲存集區說明儲存的實體特性 (裝置配置、資料備援等等),並作為可建立檔案系統的任意資料存放區。檔案系統不再受限於個別裝置,讓它們能夠與集區中的所有檔案系統共用磁碟空間。

在 Oracle Solaris 11 中,只要使用一個指令即可建立備援 ZFS 儲存集區。ZFS 提供兩種類型的備援配置:鏡像集區和 RAID-Z 集區。RAID-Z 配置與 RAID-5 配置類似。

    ZFS 可透過磁條化方式動態分攤所有非備援、鏡像以及 RAID-Z 配置的資料。請注意以下的額外資訊:

  • ZFS RAID-Z 配置中沒有提供 Solaris Volume Manager RAID-0 (磁條與串連)。

  • Solaris Volume Manager RAID-1 (鏡像) 則是以 ZFS 鏡像配置的形式提供。例如:

    # zpool create tank mirror c1t0d0 c2t0d0 mirror c1t1d0 c2t1d0
  • Solaris Volume Manager RAID-5 (分散式同位檢查) 以 ZFS RAID-Z (raidz1) 配置的方式提供,如以下範例所示:

    # zpool create rzpool raidz1 c1t0d0 c2t0d0 c1t1d0 c2t1d0
  • Solaris Volume Manager 未提供 RAID-6,但 ZFS 提供了 RAIDZ-2 與 RAIDZ-3 同位檢查配置,這表示 RAIDZ-2 配置能承受 2 個磁碟失敗,RAIDZ-3 配置能承受 3 個磁碟失敗。例如:

    # zpool create rzpool raidz2 c0t1d0 c1t1d0 c4t1d0 c5t1d0 c6t1d0 c7t1d0
    raidz2 c0t2d0 c1t2d0 c4t2d0 c5t2d0 c6t2d0 c7t2d0