141
Syntax
storcli64 /ccontroller_id/vraid_id set wrcache=wrmode
storcli64 /ccontroller_id/vraid_id set rdcache=rdmode
Parameters
controller_id: Specifies the ID of a storage controller. If only one storage controller exists, the
ID is 0 by default. If multiple storage controllers exist, use the
storcli64 /call show command
to view the controller ID.
raid_id: Specifies the ID of the RAID array.
wrmode: Specifies a write cache policy. Options include:
wt: After the drive subsystem receives all data in a transaction, the controller sends a data
transfer completion signal to the host.
wb: The controller sends a data transfer completion signal to the host when the controller
cache has received all the data in a transaction.
awb: Forces a storage controller to use the wb policy when the storage controller has no
capacitors or the capacitors are damaged.
rdmode: Specifies a read cache policy. Options include:
ra: Allows the storage controller to read sequentially from ahead of requested data from virtual
drives and to save the additional data in the cache. Then, the subsequent users can directly
obtain these data from the cache. This reduces drive seek operations, saves response time,
and speeds up data read.
nora: The storage controller reads data from virtual drives only when it receives a data read
request and does not perform any prefetching operations.
Restrictions and guidelines
If multiple storage controllers exist, use the storcli64 /call show command to view the
controller ID.
Examples
# Set the write cache policy to wt.
[root@localhost home]# ./storcli64 /c0/v0 set wrcache=wt
Controller = 0
Status = Success
Description = None
Details Status :
==============
---------------------------------------
VD Property Value Status ErrCd ErrMsg
---------------------------------------
0 wrCache WT Success 0 -
---------------------------------------
Erasing data on a physical drive
Perform this task to start or stop erasing data on a physical drive or view the erasure process.
Syntax
storcli64 /ccontroller_id/eenclosure_id/sslot_id start erase mode
storcli64 /ccontroller_id/eenclosure_id/sslot_id show erase
storcli64 /ccontroller_id/eenclosure_id/sslot_id stop erase