Command Line Interface Guide

omconfig storage Commands 253
omconfig Discard Preserved Cache
Use the following omconfig storage command syntax to discard the preserved
cache on the controller.
NOTE: To check if the controller has a preserved cache, type omreport
storage controller controller=id
. If the system displays
Preserved Cache=yes, it indicates the presence of the preserved cache.
Complete Syntax
omconfig storage controller action=
discardpreservedcache controller=id force=
enabled/disabled
If you set force=enabled, the cache is discarded irrespective of whether
the controller detects a foreign or an offline virtual disk.
Example Syntax
To discard the preserved cache, type:
omconfig storage controller action=
discardpreservedcache controller=1 force=enabled
CAUTION: Discarding the preserved cache can result in data loss. It is
recommended that you run this command using the
force=disabled
option.
NOTE: If a foreign configuration is detected, then the preceding command using
force=disabled option fails. To avoid data loss, import the foreign configuration and
flush the preserved cache to disk. To discard preserved cache forcefully, either
clear the foreign configuration and run the proceeding command, or run the
proceeding command using force=enabled option.
omconfig Create Encryption Key
Use the following omconfig storage command syntax to create the encryption
key for the controller.
Complete Syntax
omconfig storage controller action=
createsecuritykey controller=id keyid=<keyid
string> passphrase=<passphrase string> [escrow=
yes] [filepath=<Absolute path to the escrow file>]