Solaris 9 Installation Guide

Guidelines for Selecting Slices for File Systems

When you create file systems for a boot environment, the rules are identical to the rules for creating file systems for the Solaris operating environment. Solaris Live Upgrade cannot prevent you from creating invalid configurations for critical file systems. For example, you could type a lucreate command that would create separate file systems for root (/) and /kernel—an invalid division of root (/).

Do not overlap slices when re-slicing disks. If this condition exists, the new boot environment appears to have been created, but when activated, the boot environment does not boot. The overlapping file systems might be corrupted.

For Solaris Live Upgrade to work properly, the vfstab file on the active boot environment must have valid contents and must have an entry for root (/) at the minimum.

Guidelines for Selecting a Slice for the root (/) File System

When you create an inactive boot environment, you need to identify a slice where the root (/) file system is to be copied. Use the following guidelines when you select a slice for the root (/) file system. The slice must comply with the following:

The Choices menu displays most free slices that are available for the creation of an inactive boot environment. Some slices are free, but not available to be shown in the Choices menu, such as a Veritas VxVM volume or a Solaris Volume Manager metadevice.

Guidelines for Selecting Slices for root (/) Mirrors and Metadevices

You can use Solaris Live Upgrade on a system that is currently using either Solaris Volume Manager metadevices or Veritas Volume Manager VxVM volumes. The source boot environment can be contained on any combination of physical disk slices, Solaris Volume Manager metadevices, or Veritas Volume Manager volumes. When creating a new boot environment, the slice that is chosen for the root (/) file system for the new boot environment can be either a physical disk slice or a Solaris Volume Manager metadevice. If you choose a Solaris Volume Manager metadevice for the root file system, the metadevice must be either a stripe with only a single disk or a mirror on a single-disk stripe. See metaroot(1M) for more details.

You cannot use a Veritas VxFS volume for the root (/) file system when creating a new boot environment. For any file system except the root (/) file system, you can use either a physical disk slice, a Solaris Volume Manager metadevice, or a Veritas VXFS volume.

Table 31–2 describes the acceptable disk configurations for creating a boot environment when using metadevices or volumes.

Table 31-2 Acceptable Slices for Metadevices or Volumes

Product 

Source Slice 

If Target Is a Metadevice for a root (/) File System

If Target Is Not a root (/) File System, But Is for /usr, /var, or /opt

Solaris Volume Manger 

For the root (/) file system, the source can be a metadevice or physical slice.

The root (/) file system, must be either a stripe with only a single disk or a mirror on a single-disk stripe.

Other file systems can be either a physical slice or metadevice. 

Veritas VxVM Volume Manager 

For the root (/) file system, the source can be a volume or physical slice.

The root (/) file system, cannot be a VxVM volume; root (/) must be a physical slice.

Other file systems can be either a physical slice or volume. 

When creating a new boot environment, the lucreate -m command recognizes the following three types of devices only:

Using boot environments with metadevices or volumes has special considerations when upgrading or installing a flash archive. See “Upgrading Metadevices and Volumes” for details.


Note -

If you have problems upgrading with Veritas VxVM, see “System Panics When Upgrading With Solaris Live Upgrade Running Veritas VxVm”.


Guidelines for Selecting a Slice for a swap File System

The swap slice cannot be in use by any boot environment except the current boot environment or, if the -s option is used, the source boot environment. The boot environment creation fails if the swap slice is being used by any other boot environment, whether the slice contains a swap, UFS, or any other file system.

Guidelines for Selecting Slices for Shareable File Systems

Solaris Live Upgrade copies the entire contents of a slice to the designated new boot environment slice. You might want some large file systems on that slice to be shared between boot environments rather than copied to conserve space and copying time. File systems that are critical to the operating environment such as root (/) and /var must be copied. File systems such as /home are not critical file systems and could be shared between boot environments. Shareable file systems must be user-defined file systems and on separate swap slices on both the active and new boot environments. You can reconfigure the disk several ways, depending your needs.

For a description of shareable and critical file systems, see “Creating a Boot Environment Overview”.