omconfig Unassign Dedicated Hot Spare

Use the following omconfig command syntax to unassign one or more physical disks that were previously assigned as a hot spare to a virtual disk.

Complete Syntax

omconfig storage vdisk action=assigndedicatedhotspare controller=id vdisk=id pdisk=<PDISKID> assign=no

where id is the controller ID and virtual disk ID. The <PDISK> variable specifies the physical disk.

To obtain the values for the controller, virtual disk, and physical disk, enter omreport storage controller to display the controller IDs and then enter omreport storage vdisk controller=ID and omreport storage pdisk controller=ID to display the IDs for the virtual disks and physical disks attached to the controller.

Example Syntax

In this example, you are unassigning physical disk 3 on connector 0 of controller 1 as a dedicated hot spare to virtual disk 4. On a SAS controller, the physical disk resides in enclosure 2.

Example for SCSI, SATA, and ATA Controllers:

To unassign the dedicated hot spare described in this example, enter:

omconfig storage vdisk action=assigndedicatedhotspare controller=1 vdisk=4 pdisk=0:3 assign=no

Example for SAS Controllers:

To unassign the dedicated hot spare described in this example, enter:

omconfig storage vdisk action=assigndedicatedhotspare controller=1 vdisk=4 pdisk=0:2:3 assign=no

omconfig Check Consistency

Use the following omconfig command syntax to initiate a check consistency on a virtual disk. The check consistency task verifies the virtual disk’s redundant data.

Complete Syntax

omconfig storage vdisk action=checkconsistency controller=id vdisk=id

where id is the controller ID and virtual disk ID as reported by the omreport command. To obtain these values, enter omreport storage controller to display the controller IDs and then enter omreport storage vdisk controller=ID to display the IDs for the virtual disks attached to the controller.

Example Syntax

For example, to run a check consistency on virtual disk 4 on controller 1, enter:

omconfig storage vdisk action=checkconsistency controller=1 vdisk=4

164

Using the Storage Management Service

Page 164
Image 164
Dell Command Line Interface manual Omconfig Unassign Dedicated Hot Spare, Omconfig Check Consistency, 164