138
[root@localhost home]# ./storcli64 /c0/v0 set pdcache=off
CLI Version = 007.1017.0000.0000 May 10, 2019
Operating system = Linux 4.18.0-193.el8.x86_64
Controller = 0
Status = Success
Description = None
Detailed Status :
===============
---------------------------------------
VD Property Value Status ErrCd ErrMsg
---------------------------------------
0 PdCac Off Success 0 -
Viewing the cache state of member drives
Perform this task to view the cache state of member drives.
Syntax
storcli64 /ccontroller_id /eenclosure_id/sslot_id show all
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.
enclosure_id: Specifies the enclosure ID.
slot_id: Specifies the ID of the physical drive slot.
Usage guidelines
If multiple storage controllers exist, use the storcli64 /call show command to obtain a
controller ID.
If you use this command to view the cache state of member drives for the LSI-9560 storage
controller, the command output displays Write Cache = N/A.
Examples
# View the cache state of member drives.
[root@localhost ~]# storcli64 /c1 /e252/s10 show all
CLI Version = 007.1705.0000.0000 Mar 31, 2021
Operating system = Linux 4.18.0-193.el8.x86_64
Controller = 1
Status = Success
Description = Show Drive Information Succeeded.
Drive /c1/e252/s10 :
==================
---------------------------------------------------------------------------------
EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp Type