Dell Command Line Interface Network Card User Manual


 
174 Using the Storage Management Service
Example for SAS Controllers:
To unassign the physical disk described in this example as a global hot spare, enter:
omconfig storage pdisk action=assignglobalhotspare controller=1
pdisk=0:2:3 assign=no
omconfig Rebuild Physical Disk
Use the following omconfig command syntax to rebuild a failed physical disk. Rebuilding a disk may take
several hours. If you need to cancel the rebuild, use the Cancel Rebuild task. For more information,
see the online help.
Complete Syntax
omconfig storage pdisk action=rebuild controller=id pdisk=<PDISKID>
where id is the controller ID. The <PDISK> variable specifies the physical disk.
To obtain these values, enter omreport storage controller to display the controller IDs and then enter
omreport storage pdisk controller=ID to display the IDs for the physical disks attached to the controller.
Example Syntax
In this example, you want to rebuild physical disk 3 on connector 0 of controller 1. On a SAS controller,
the physical disk resides in enclosure 2.
Example for SCSI, SATA, and ATA Controllers:
To rebuild the physical disk described in this example, enter:
omconfig storage pdisk action=rebuild controller=1 pdisk=0:3
Example for SAS Controllers:
To rebuild the physical disk described in this example, enter:
omconfig storage pdisk action=rebuild controller=1 pdisk=0:2:3
omconfig Cancel Rebuild Physical Disk
Use the following omconfig command syntax to cancel a rebuild that is in progress. If you cancel a
rebuild, the virtual disk remains in a degraded state. See the online help for more information.
Complete Syntax
omconfig storage pdisk action=cancelrebuild controller=id pdisk=
<PDISKID>
where id is the controller ID. The <PDISK> variable specifies the physical disk.
To obtain these values, enter omreport storage controller to display the controller IDs and then enter
omreport storage pdisk controller=ID to display the IDs for the physical disks attached to the controller.