CLI Guide
Example for SAS controllers
omconfig storage pdisk
action=assignglobalhotspare controller=1
pdisk=0:2:3 assign=yes
Omcong Available Spare
Table 119. omcong Available Spare
Description
Assigns a physical disk as a global hot spare.
Syntax
omconfig storage globalinfo
action=setavailablesparethreshold type=<pcissd>
warning_threshold=<1-99>, critical_threshold=<1-99>
where id is the controller ID. The
<pcissd> variable species the
PCISSD.
NOTE: To obtain these values, type omreport storage
controller to display the controller IDs and then type
omreport storage pdisk controller=ID to display the IDs for
the physical disks attached to the controller.
Example to Set available spare threshold on supported NVMe PCIe SSD.
Example for PCIe SSD
omconfig storage globalinfo
action=setavailablesparethreshold type=pciessd
warning_threshold=20
Omcong Rebuild Physical Disk
Table 120.
omcong Rebuild Physical Disk
Description Rebuilds 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 about Rebuild Physical Disk, see the Dell
EMC OpenManage Online Help.
Syntax
omconfig storage pdisk action=rebuild
controller=id pdisk=<PDISKID>, where id is the controller
ID. The <PDISKID> variable species the physical disk.
NOTE: To obtain these values, type omreport storage
controller to display the controller IDs and then type
omreport storage pdisk controller=ID to display the IDs for
the physical disks attached to the controller.
Example 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
omconfig storage pdisk action=rebuild
controller=1 pdisk=0:3
Example for SAS controllers
omconfig storage pdisk action=rebuild
controller=1 pdisk=0:2:3
146 Omcong storage commands