User's Manual

Using the Storage Management Service 223
where
id
is the controller ID and virtual disk ID as reported by the
omreport
command. To obtain the values for controller ID and virtual disk ID, type
omreport
storage controller
to display the controller IDs and then type
omreport
storage vdisk controller=ID
to display the IDs for the virtual disks
attached to the controller.
Example Syntax
For example, to clear bad blocks on virtual disk 4 on controller 1, type:
omconfig storage vdisk action=clearvdbadblocks
controller=1 vdisk=4
omconfig Physical Disk Commands
The following sections provide the omconfig command syntax required to
execute physical disk tasks.
Table 6-24. omconfig Physical Disk Commands
Required Command Levels
(1, 2, 3)
Optional name=value pairs
omconfig storage pdisk
action=blink controller=id pdisk=<PDISKID>
action=unblink controller=id pdisk=<PDISKID>
action=remove controller=id pdisk=<PDISKID>
action=initialize controller=id pdisk=<PDISKID>
action=offline controller=id pdisk=<PDISKID>
action=online controller=id pdisk=<PDISKID>
action=assignglobalhotspare controller=id pdisk=
<PDISKID> assign=<yes|no>
action=rebuild controller=id pdisk=<PDISKID>
action=cancelrebuild controller=id pdisk=<PDISKID>
action=removedeadsegments controller=id pdisk=
<PDISKID>
action=clear controller=id pdisk=<PDISKID>
action=cancelclear controller=id pdisk=<PDISKID>