1 Linux SCSI Disk Driver (sd) Parameters
2 ======================================
6 Enable/disable drive write & read cache.
8 cache_type string | WCE RCD | Write cache | Read cache
9 ----------------------------+---------+-------------+------------
10 write through | 0 0 | off | on
11 none | 0 1 | off | off
12 write back | 1 0 | on | on
13 write back, no read (daft) | 1 1 | on | off
15 To set cache type to "write back" and save this setting to the drive:
17 # echo "write back" > cache_type
19 To modify the caching mode without making the change persistent, prepend
20 "temporary " to the cache type string. E.g.:
22 # echo "temporary write back" > cache_type