Chapter 9. Management 523
9.13.3 Virtual drive states
A virtual drive is a partition in a drive group that is made up of contiguous data segments on
the drives.
There are multiple virtual drive states. The following list describes all of the possible virtual
drive states:
򐂰 Optimal
The virtual drive operating condition is good. All configured drives are online.
򐂰 Degraded
The virtual drive operating condition is not optimal. One of the configured drives has failed
or is offline.
򐂰 Partially Degraded
The operating condition in a RAID-6 virtual drive is not optimal. One of the configured
drives has failed or is offline.
򐂰 Failed
The virtual drive has failed.
򐂰 Offline
The virtual drive is not available to the RAID controller.
9.13.4 MegaCLI utility for storage management
In this section, we provide an overview of the MegaCLI utility. For more information, see the
Installation and User’s Guide at the following website:
http://ibm.com/support/entry/portal/docdisplay?lndocid=SERV-RAID
The MegaCLI utility is a command-line interface application. You can use this utility to
configure, monitor, and maintain ServeRAID SAS RAID controllers and the devices that
connect to them.
Creating a virtual drive with command-line interface (CLI)
In this example, we have two hard drives in slots one and two. Both hard drives must be
Unconfigured Good, as shown in Figure 9-85.
Figure 9-85 Two Unconfigured Good hard drives
Follow these steps to create a virtual drive with CLI:
1. Use the following command to locate the Enclosure Device ID and the Slot Number of
both hard drives:
MegaCli -PDList -aAll
Example 9-15 shows the resulting output.
Example 9-15 Output of the MegaCli -PDList -aAll command
Enclosure Device ID: 252
Slot Number: 1
Device Id: 8
524 IBM eX5 Implementation Guide
Sequence Number: 4
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 136.731 GB [0x11176d60 Sectors]
Non Coerced Size: 136.231 GB [0x11076d60 Sectors]
Coerced Size: 135.972 GB [0x10ff2000 Sectors]
Firmware state: Unconfigured(good), Spun Up
SAS Address(0): 0x5000c50016f81501
SAS Address(1): 0x0
Connected Port Number: 1(path0)
Inquiry Data: IBM-ESXSST9146803SS B53B3SD1GZCW0825B53B
IBM FRU/CRU: 42D0422
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Foreign State: None
Device Speed: 6.0Gb/s
Link Speed: 6.0Gb/s
Media Type: Hard Disk Device
Drive: Not Certified
Enclosure Device ID: 252
Slot Number: 2
Device Id: 16
Sequence Number: 3
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 136.731 GB [0x11176d60 Sectors]
Non Coerced Size: 136.231 GB [0x11076d60 Sectors]
Coerced Size: 135.972 GB [0x10ff2000 Sectors]
Firmware state: Unconfigured(good), Spun Up
SAS Address(0): 0x5000c5001cf9c455
SAS Address(1): 0x0
Connected Port Number: 0(path0)
Inquiry Data: IBM-ESXSST9146803SS B53B3SD2FM090825B53B
IBM FRU/CRU: 42D0422
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Foreign State: None
Device Speed: 6.0Gb/s
Link Speed: 6.0Gb/s
Media Type: Hard Disk Device
Drive: Not Certified
2. Now we can create the virtual drive. In our example, we issue the following command to
create a RAID-1:
MegaCli -CfgLDAdd -R1[252:1,252:2] -a0
Example 9-16 on page 525 shows the resulting output.

Get IBM eX5 Implementation Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.