

If a bad block is encountered, the controller rebuilds the data from the bad block onto a good block if one is available on the physical drive. The check media command sequentially checks each physical drive in a specified logical drive, block by block, for bad blocks. Note - Logical drive indexes can change whenever a logical drive is deleted, while a logical drive identifier never changes over the life of the logical drive.

If there is only one Sun StorEdge 3000 family array connected to the host, that device is selected automatically. Note - If no device is specified on the command line, and more than one array is connected to the host, a menu of devices is presented with one device file name for each array. Note - To prevent unauthorized access to administrative functions of the RAID controller, the Sun StorEdge CLI requires superuser or system administrator privileges for inband access, and uses the controller password to authorize users of the out-of-band interface.

This chapter provides the available Sun StorEdge CLI commands with sample code for logical drives, partitions, and logical volumes. Logical Drive, Partition, and Logical Volume Commands Sun StorEdge 3000 Family CLI 2.5 User’s Guide
