Command Line Interface Guide

omconfig storage Commands 231
omconfig Discard Preserved Cache
Use the following omconfig storage command syntax to discard the preserved
cache on the controller.
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.
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, you should specify the escrow file path.