IBM Power Systems 57D7/57B4 Adapter Write Cache
Version 1.3 dated May 19, 2016
4.2
Command Line Interface
Alternatively, the
iprconfig
command line interface can be used to display and change the current caching
mode.
To list the current hardware RAID arrays current configured on the system use the following com-
mand:
# iprconfig -c show-arrays
Name
PCI/SCSI Location
Description
Status
------ -------------------------
------------------------- -----------------
sda
0003:70:00.0/0:2:0:0
RAID 0 Array
Optimized
sdb
0003:70:00.0/0:2:1:0
RAID 10 Array
Optimized
sdc
0003:70:00.0/0:2:2:0
RAID 5 Array
Optimized
To display the current caching mode for the first RAID array, we do the following:
# iprconfig -c query-write-cache-policy sda
write back
Here we can see the write cache policy is set to
write back
, indicating the volatile adapter write cache is
enabled
for this array.
To change this setting, you can do the following.
# iprconfig -c set-write-cache-policy sda writethrough
# iprconfig -c query-write-cache-policy sda
write through
Now let’s change it back.
# iprconfig -c set-write-cache-policy sda writeback
# iprconfig -c query-write-cache-policy sda
write back
14 of