Before You Begin
Due to the volume initialization that occurs on the disk controller when a new volume is created, the volume must be configured and labeled using the format(1M)utility prior to use with the Solaris OS. See Configure and Label a Hardware RAID Volume for Use in the Solaris Operating System.
Because of this limitation, raidctl(1M) blocks the creation of a hardware RAID volume if any of the member disks currently have a file system mounted.
This section describes the procedure required to create a hardware RAID volume containing the default boot device. Since the boot device always has a mounted file system when booted, an alternate boot medium must be employed, and the volume created in that environment. One alternate medium is a network installation image in single-user mode (refer to the Solaris 10 Installation Guide for more information about configuring and using network-based installations).
From the OpenBoot ok prompt, type the printenv command, and if necessary, the devalias command, to identify the default boot device. For example:
ok printenv boot-device boot-device = disk ok devalias disk disk /pci@0/pci@0/pci@2/scsi@0/disk@0,0
ok boot net -s
# raidctl -c -r 1 c0t0d0 c0t1d0 Creating RAID volume c0t0d0 will destroy all data on member disks, proceed (yes/no) ? yes Volume c0t0d0 created #
The hardware RAID volume c0t0d0 appears as a disk to the Solaris installation program.
Note - The logical device names might appear differently on your system, depending on the number and type of add-on disk controllers installed.