filesys mirror[:name]slice [slice] size file_system optional_parameters
By using the filesys mirror keywords with the values that are listed, the JumpStart program creates the RAID-1 and RAID-0 volumes that are necessary to create a mirrored file system. You can specify filesys mirror more than once to create RAID-1 volumes (mirrors) for different file systems.
The filesys mirror keyword is only supported for initial installations.
This optional keyword enables you to name the RAID-1 volume (mirror). Mirror names must start with the letter “d”, followed by a number between 0 and 127, for example, d100. If you do not specify a mirror name, the custom JumpStart program assigns a mirror name for you. For guidelines about how to name mirrors, see RAID Volume Name Requirements and Guidelines for Custom JumpStart and Solaris Live Upgrade in Solaris 10 5/09 Installation Guide: Planning for Installation and Upgrade.
This value specifies the disk slice where the custom JumpStart program places the file system you want to duplicate. The slice value must follow the format cwtxdysz, for example c0t0d0s0 or c0t0d0s5. The custom JumpStart program creates a RAID-0 volume (single-slice concatenation) on the slice, and creates a RAID-1 volume to mirror the concatenation. You can specify up to two slices for two RAID-0 volumes.
This value specifies the size, in Mbytes, of the file system.
This value specifies the file system that you are duplicating. The custom JumpStart program creates the RAID-1 volume from the slices that are specified and mounts the RAID-1 volume on the specified file system. In addition to critical file systems, such as root (/), /usr, and /var, you can also specify swap as the file system.
If file_system is not specified, unnamed is set by default.
If unnamed is set, you cannot specify the optional_parameters value. Use one of the following values:
Specifies the file system's mount-point name, for example, /var.
Defines the slice to be used as swap.
Defines the slice as a representation of a disk region. The VTOC value is V_BACKUP. By default, slice 2 is an overlap slice that is a representation of the whole disk. You can specify overlap only when size is one of the following values:
Defines the slices as a raw slice. Therefore, the slice does not have a mount-point name. If you do not specify file_system, unnamed is used by default.
Specifies that the slice is not to be used or recognized by the JumpStart program. You can use this option to specify that you want a file system to be ignored on a disk during installation. The JumpStart program creates a new file system on the same disk with the same name. You can use ignore only when the partitioning Keyword and the existing value is specified.
One or more mount options, which is the same as the -o option of the mount(1M) command. The mount options are added to the /etc/vfstab entry for the specified file_system. If you need to specify more than one mount option, the mount options must be separated by commas and no spaces, for example, ro,quota.
If unnamed is set for the file_system value, you cannot specify the optional_parameters value. See file_system for the values that can be set.
For more information about creating mirrored file systems during your installation, see Chapter 9, Creating RAID-1 Volumes (Mirrors) During Installation (Overview), in Solaris 10 5/09 Installation Guide: Planning for Installation and Upgrade.