Command Line Interface Guide

236 omconfig storage Commands
omconfig Clear Virtual Disk Bad Blocks
Use the following
omconfig
command syntax to clear virtual disk bad blocks.
Complete Syntax
omconfig storage vdisk action=clearvdbadblocks
controller=id vdisk=id
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 Change Virtual Disk Policy
Use the following omconfig command syntax to change a virtual disk’s read,
write, or cache policy.
Complete Syntax
omconfig storage vdisk action=changepolicy
controller=id vdisk=id [diskcachepolicy=
<enabled|disabled> | readpolicy=<ra| nra| ara|
rc|nrc> | writepolicy=<wb| wt| wc| nwc> | fwb>
cachepolicy=<d | c>]
where id is the controller ID and virtual disk ID as reported by the omreport
command. To obtain these values, 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.