Command Line Interface Guide

omconfig storage Commands 263
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>]
Example Syntax
To create the encryption key for the controller, type:
omconfig storage controller action=
createsecuritykey controller=1 keyid=Dell_123
passphrase=Dell_123 escrow=yes filepath=
C:/escrow.xml
NOTE: If you set escrow=yes, specify the escrow file path.
omconfig Change Encryption Key
Use the following omconfig storage command syntax to change the
encryption key for the controller, if passphrase is provided.