226 IBM System x3850 X6 and x3950 X6 Planning and Implementation Guide Offline:A drive that is part of a virtual drive but which has invalid data as far as the RAIDconfiguration is concerned.7.7.3 Virtual drive statesA virtual drive is a partition in a drive group that is made up of contiguous data segments onthe drives.There are multiple virtual drive states. The following list describes all of the possible virtualdrive 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 failedor is offline. Partially Degraded:The operating condition in a RAID-6 virtual drive is not optimal. One of the configureddrives has failed or is offline. Failed:The virtual drive has failed. Offline:The virtual drive is not available to the RAID controller.7.7.4 MegaCLI utility for storage managementIn this section, we provide an overview of the MegaCLI utility. For more information, see theInstallation and User’s Guide at the following website:http://ibm.com/support/entry/portal/docdisplay?lndocid=SERV-RAIDThe MegaCLI utility is a command-line interface application. You can use this utility toconfigure, monitor, and maintain ServeRAID SAS RAID controllers and the devices thatconnect 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 inUnconfigured Good state as seen in Figure 5-25 on page 154.Follow these steps to create a virtual drive with the CLI:1. Use the following command to locate the Enclosure Device ID and the Slot Number ofboth hard drives:MegaCli -PDList -aAll2. Now we can create the virtual drive. In our example, we issue the following command tocreate a RAID-1:MegaCli -CfgLDAdd -R1[252:1,252:2] -a0Example 7-6 shows the resulting output.