This section describes concepts that are useful to understand disk management in Oracle Solaris.
Labeling a disk means writing slice information onto the disk. You usually label a disk after you change its slices or partitions. The OS uses the label to obtain information about the slices. If you fail to label a disk after you create slices, the slices will be unavailable.
Oracle Solaris supports the following disk labels:
SMI – Traditional VTOC label for disks that are smaller than 2 TB.
EFI – Label for disks that are larger than 2 TB. However, the Extensible Firmware Interface GUID Partition Table (EFI GPT) disk label is also available for disks smaller than 2 TB.
In Oracle Solaris, an EFI (GPT) labeled disk is installed by default on the following systems:
SPARC systems with GPT enabled firmware
On SPARC T4 servers, the Sun System Firmware must be at least version 8.4.0. On SPARC T5 and SPARC M5 servers, the firmware must be at least version 9.1.0. On Fujitsu M10 servers, the firmware must be at least version XCP 2230 or later.
The Oracle Solaris ZFS file system supports file systems that are larger than 1 TB.
Provides usable slices 0-6, where partition 2 is just another slice.
Prohibits overlap of partitions or slices with a primary or backup label, or with other partitions. The size of the EFI label is usually 34 sectors, so partitions usually start at sector 34. No partition can start at sector zero (0). The entire disk is represented by cxtydz.
Does not use the notion of geometry. Partitions in EFI (GPT) labeled disks are defined based on logical blocks. Therefore, the EFI disk label provides information about disk or partition sizes in sectors and blocks but not in cylinders and heads.
Stores information in the last two cylinders of a disk or partition instead of in an alternate cylinder area.
Supports reassigning partition tags after partition sizes are changed. However, note that the unassigned partition tag is assigned only to partitions with sizes equal to zero.
Files on a disk are contained in file systems. Each file system on a disk is assigned to a slice composed of a group of sectors. Certain interfaces, such as the format utility, refer to slices as partitions.
Each disk slice appears as a separate disk drive.
When setting up slices, note these rules:
Each disk slice holds only one file system.
No file system can span multiple slices.
For information about file systems, see Managing File Systems in Oracle Solaris 11.4.
This temporary slice donates, or "frees", space when you expand a slice, and receives, or "hogs", the discarded space when you shrink a slice. For this reason, the donor slice is sometimes called the free hog slice.
The free hog slice exists only during installation or when you run the format utility. There is no permanent free hog slice during day-to-day operations.
For information about using the free hog slice, see How to Replace a ZFS Root Pool Disk.