saconfig <dev_file>
command, as described in
“Displaying the Smart Array controller configuration”
(page 45)
[-s <physical drive id>]
Configures a physical disk as a spare. The physical disk is
identified by Connector/Enclosure/Bay or WWID. Obtain
this information from the output of the
saconfig
<dev_file>
command, as described in
Smart Array controller configuration” (page 45)
.
[-c <capacity (GB)>]
Specifies the size in GB of the logical drive to be created.
If this option is omitted, the maximum capacity or the
remaining capacity is applied to the logical drive.
In the following example, a logical drive is configured on the Smart Array Controller with the
device filename
ciss5
. The RAID level is set at 1, the stripe size is set at 64 KB, and two physical
disks (identified by
2I:1:13
and
2I:1:14
) are configured as a logical drive. Another physical
disk (identified by
2I:1:15
) is configured as a spare for that logical drive:
# saconfig /dev/ciss5 -R 1 -S 64 -p 2I:1:13 -p 2I:1:14 -s 2I:1:15
Logical drive 0 created
Rebuild Priority is set to High
Use the
saconfig /dev/cissX
command to confirm the configuration:
# saconfig /dev/ciss5
******************** SmartArray RAID Controller /dev/ciss5 ********************
Auto-Fail Missing Disks at Boot = enabled
Cache Configuration Status = cache enabled
Cache Ratio = 25% Read / 75% Write
---------- PHYSICAL DRIVES ----------
Location Ct Enc Bay WWID Size Status
Internal 1I 1 12 0x500000e01117c732 36.4 GB UNASSIGNED
Internal 1I 1 11 0x500000e01115c352 36.4 GB UNASSIGNED
Internal 1I 1 10 0x5000c5000032b839 36.4 GB UNASSIGNED
Internal 1I 1 9 0x5000c5000030b0c5 36.4 GB UNASSIGNED
Internal 2I 1 16 0x500000e011213482 36.4 GB UNASSIGNED
Internal 2I 1 15 0x5000c500002084c9 73.4 GB SPARE
Internal 2I 1 14 0x5000c5000030b9c9 36.4 GB OK
Internal 2I 1 13 0x500000e01118a7a2 36.4 GB OK
---------- LOGICAL DRIVE 0 ----------
Device File = c5t0d0
RAID Level = 1+0
Size = 34700 MB
Stripe Size = 64 KB
Status = OK
Participating Physical Drive(s):
Ct Enc Bay WWID
2I 1 14 0x5000c5000030b9c9
2I 1 13 0x500000e01118a7a2
Participating Spare Drive(s):
Ct Enc Bay WWID
2I 1 15 0x5000c500002084c9
NOTE:
When RAID 1 is configured on two physical disks, the
saconfig /dev/cissX
command
output displays the RAID level as 1+0.
The saconfig configuration CLI
47