在 Oracle Solaris 11 中建立 ZFS 儲存集區類似於在 Oracle Solaris 10 中建立集區。下列段落提供準備 ZFS 根集區與非根集區磁碟的摘要資訊。
請審閱下列一般集區裝置配置建議:
使用整個磁碟建立非根集區會比使用磁碟片段更容易管理。例如,您可以使用下列方式輕鬆建立具有四個裝置的鏡像儲存集區:
# zpool create tank mirror c0t1d0 c0t2d0 mirror c1t1d0 c1t2d0
使用整個磁碟建立 ZFS 儲存集區時,磁碟會以 EFI 標籤而非 SMI 標籤來標示。您可以在格式化公用程式中顯示磁碟標籤,然後根據磁碟標籤中缺少的磁柱資訊來識別 EFI 標籤,如下列範例所示:
partition> print Current partition table (original): Total disk sectors available: 286478269 + 16384 (reserved sectors) Part Tag Flag First Sector Size Last Sector 0 usr wm 256 136.60GB 286478302 1 unassigned wm 0 0 0 2 unassigned wm 0 0 0 3 unassigned wm 0 0 0 4 unassigned wm 0 0 0 5 unassigned wm 0 0 0 6 unassigned wm 0 0 0 8 reserved wm 286478303 8.00MB 286494686
可能時,請以整個磁碟建立非根集區。
Oracle Solaris 發行版本除了支援傳統 512n 磁碟之外,也支援進階格式磁碟。請參閱Managing Devices in Oracle Solaris 11.2 中的Using Advanced Format Disks。