Chapter 3
Managing Disk Volumes
41
See the
raidctl
(1M) man page for additional details regarding volume and disk
status.
Note –
The logical device names might appear differently on your system,
depending on the number and type of add-on disk controllers installed.
2. Type the following command:
The creation of the RAID volume is interactive, by default. For example:
As an alternative, you can use the
–f
option to force the creation if you are sure of
the member disks, and sure that the data on both member disks can be lost. For
example:
When you create a RAID mirror, the secondary drive (in this case,
c1t1d0
)
disappears from the Solaris device tree.
3. To check the status of a RAID mirror, type the following command:
The preceding example indicates that the RAID mirror is still resynchronizing with
the backup drive.
#
raidctl -c
primary secondary
#
raidctl -c c1t0d0 c1t1d0
Creating RAID volume c1t0d0 will destroy all data on member disks,
proceed (yes/no)?
yes
...
Volume c1t0d0 is created successfully!
#
#
raidctl -f -c c1t0d0 c1t1d0
Volume c1t0d0 is created successfully!
#
#
raidctl -l c1t0d0
Volume Size Stripe Status Cache RAID
Sub Size Level
Disk
----------------------------------------------------------------
c1t0d0 136.6G N/A SYNC OFF RAID1
0.0.0 136.6G GOOD
0.1.0 136.6G GOOD