Command Line Interface - IBM 57D7 Manual

Adapter write cache
Table of Contents

Advertisement

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
------ -------------------------
sda
0003:70:00.0/0:2:0:0
sdb
0003:70:00.0/0:2:1:0
sdc
0003:70:00.0/0:2:2:0
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
IBM Power Systems 57D7/57B4 Adapter Write Cache
Description
------------------------- -----------------
RAID 0 Array
RAID 10 Array
RAID 5 Array
Version 1.3 dated May 19, 2016
Status
Optimized
Optimized
Optimized
14 of
15

Advertisement

Table of Contents
loading

This manual is also suitable for:

57b4

Table of Contents