Reference Guide
216
omconfig storage 命令
omconfig 丢弃保留的高速缓存
使用以下 omconfig storage 命令语法丢弃控制器上保留的高速缓存。
注:
要检查控制器是否具有保留的高速缓存,请键入
omreport
storage controller controller=id
。
如果系统显示
Preserved Cache=yes
,则表示存在保留的高速缓存。
完整的语法
omconfig storage controller action=
discardpreservedcache
controller=id force=enabled |
disabled
如果设置 force=enabled,无论控制器是检测到外部虚拟磁盘还是脱机
虚拟磁盘,都会丢弃高速缓存。
语法示例
要丢弃保留的高速缓存,键入:
omconfig storage controller action=
discardpreservedcache controller=1 force=enabled
小心:
丢弃保留的高速缓存会导致数据丢失。建议您使用 force=disabled 选
项运行此命令。
注:
如果检测到外部配置,则使用 force=disabled 选项的处理命令会失败。
为避免数据丢失,请导入外部配置并将保留的高速缓存清除至磁盘。要强制
丢弃保留的高速缓存,请清除外部配置并运行处理命令,或使用 force=
enabled 选项运行处理命令。
omconfig 创建加密密钥
使用以下 omconfig storage 命令语法来为控制器创建加密密钥。
完整的语法
omconfig storage controller action=
createsecuritykey controller=id keyid=<keyid
string> passphrase=<passphrase string> [escrow=
yes] [filepath=<Absolute path to the escrow file>]