root_device slice |
You can use root_device with both the initial installation and upgrade options.
root_device designates the system's root disk. "How the System's Root Disk Is Determined" contains additional information.
When you are upgrading a system, root_device designates the root (/) file system and the file systems that are mounted by its /etc/vfstab file to be upgraded. You must specify root_device if more than one root (/) file system can be upgraded on a system. You must specify slice in the form cwtxdysz.
Example:
root_device c0t0d0s2
When you use the root_device keyword, consider the following:
If you specify root_device on a system with only one disk, the root_device and the disk must match. Also, any filesys keywords that specify the root (/) file system must match root_device.
If you are upgrading a mirror, the value that is specified for root_device should be one side of the mirror. The other side of the mirror is automatically upgraded.
A system's root disk is the disk on the system that contains the root (/) file system. In a profile, you can use the rootdisk variable in place of a disk name, which the JumpStart program sets to the system's root disk. Table 28-6 describes how the JumpStart program determines the system's root disk for the installation.
The JumpStart program only determines a system's root disk size during an initial installation. You cannot change a system's root disk during an upgrade.
Stage |
Action |
---|---|
1 |
If the root_device keyword is specified in the profile, the JumpStart program sets rootdisk to the root device. |
2 |
If rootdisk is not set and the boot_device keyword is specified in the profile, the JumpStart program sets rootdisk to the boot device. |
3 |
If rootdisk is not set and a filesys cwtxdysz size / entry is specified in the profile, the JumpStart program sets rootdisk to the disk that is specified in the entry. |
4 |
If rootdisk is not set and a rootdisk.sn entry is specified in the profile, the JumpStart program searches the system's disks in kernel probe order for an existing root file system on the specified slice. If a disk is found, the JumpStart program sets rootdisk to the found disk. |
5 |
If rootdisk is not set and partitioning existing is specified in the profile, the JumpStart program searches the system's disks in kernel probe order for an existing root file system. If a root file system is not found or more than one is found, an error occurs. If a root file system is found, the JumpStart program sets rootdisk to the found disk. |
6 |
If rootdisk is not set, the JumpStart program sets rootdisk to the disk where the root (/) file system is installed. |