Unsolved
This post is more than 5 years old
4 Posts
0
103742
How do I view/change physical disk cache policy on PowerEDGE 2950?
Hello,
I need to verify what is the disk cache policy of the physical disks
under the control of the Dell PERC 5/i controller in my PowerEdge
2950 servers.
Subsequently, I need to turn off write-back caching on the physical
disks (if it is on), and only use the write-back cache of the controller
(which is battery-backed), so that there is less risk of loosing data
due to a power failure (obviously, the battery backed cache in the
controller will not offer any reliability if the write-back cache is enabled
in the physical disks, since the physical disk cache is not battery-backed).
So far, I haven't been able to figure out how to use the MegaCLI utility
to do this (is there any other utility that I should be using?). For example,
the command:
$ ./MegaCli64 -LDPDInfo -a0 | grep "Disk Cache Policy"
Disk Cache Policy: Disk's Default
Disk Cache Policy: Disk's Default
$
Disk Cache Policy: Disk's Default
Disk Cache Policy: Disk's Default
$
does not give any information about the policy actually being used currently
(write-back, write-through, etc.).
Also, the command:
./MegaCli64 -pdInfo -PhysDrv \[8:0\] -a0
displays some information, but no information about the physical disk's cache
policy currently in use.
The disks are Seagate ST3300655SS, and the OS is Linux 2.6.
Just to clarify, I have no problem setting/viewing the _virtual_ disks'
caching policy through either the BIOS config utility for the controller
or the MegaCLI command line utility. It is the individual _physical_
disks' cache policy that I'm having a problem viewing/setting.
Cheers,
- Arash
.
at5147
884 Posts
0
17-10-2007 20:00 PM
In the RAID BIOS, highlight the VD and then hit F2. That should bring up the properties of the VD. There will be an advanced tab that you should be able to hit space bar on that will allow you to modify the advanced settings, which will included the caches policies.
For more information about the BIOS, please see here:
Dell™ PowerEdge™ Expandable RAID Controller 5/i User's Guide <ADMIN NOTE: Broken link has been removed from this post by Dell>
and look under Menu Navigation Controls, RAID Configuration Functions and BIOS Configuration Utility Menu Options.
ArashA
4 Posts
0
17-10-2007 21:00 PM
Table 5-4 describes the actions you can perform on physical disks. See Setting Up Virtual Disks for procedures that can be used to perform these actions.
Table 5-4. Physical Disk Options
Option
Description
Rebuild
Regenerates all data to a replacement disk in a redundant virtual disk (RAID level 1, 5, 10, or 50) after a disk failure. A disk rebuild normally occurs without interrupting normal operations on the affected virtual disk.
LED Blinking
Indicates when physical disks are being used to create a virtual disk. You can choose to start or stop the LED blinking.
Force Online
Changes the state of the selected physical disk to online.
Force Offline
Changes the state of the selected physical disk so that it is no longer part of a virtual disk.
Make Global HS
Designates the selected physical disk as a global hot spare. A global hot spare is part of a pool for all virtual disks controlled by the controller.
Remove HS
Removes a dedicated hot spare from its disk group or a global hot spare from the global pool of hot spares.
at5147
884 Posts
0
17-10-2007 22:00 PM
ArashA
4 Posts
0
18-10-2007 17:00 PM
at5147
884 Posts
0
18-10-2007 17:00 PM
ArashA
4 Posts
0
18-10-2007 19:00 PM
---------------------------
- caching policies: read-ahead, write-back, write-through, etc.
completion signal to the host when the controller cache has
received all the data in a transaction."
(from: < ADMIN NOTE: Broken link has been removed from this post by Dell> )
------------------------------------
- caching policies: read, write
Good status on a write command after the data has been transferred
into the cache, but before the data has been written to the medium."
(from http://www.seagate.com/staticfiles/support/disc/manuals/enterprise/cheetah/15K.5/SAS/100384784c.pdf )
the data has been received, so the application thinks that
the write transaction is complete;
its write cache to disk;
been written, so the controller thinks all is done;
it decides when to actually write it to the medium (magnetic
disk);
So, I want to turn off the write cache (16M cache) on the physical
disks.
- Arash
at5147
884 Posts
0
19-10-2007 00:00 AM
AdDeRidder
1 Message
0
19-07-2011 17:00 PM
Arash -
Try this :
"MegaCli64 -LDGetProp -DskCache -Lall -a0 " to print the logical disk cache policy
and this to disable it
"MegaCli64 -LDSetProp -DisDskCache -DskCache -L10 -a0 " where L10 is Logical disk 10 and a0 is controller 0
Dev Mgr
9.3K Posts
0
19-07-2011 21:00 PM
The original poster may not even own the server anymore, as his/her question was posted nearly 4 years ago.
rebeloper
1 Message
0
12-10-2011 11:00 AM
This thread appears on Google when searching for "disk cache policy."
It's important that people are aware that having the disk cache policy set to enable when using hardware RAID may cause data corruption or loss on sudden power failure or shutdown under some conditions.
To disable the disk cache policy on physical disks (not on virtual disks!) you can also do it using the open manage tools.
omconfig storage vdisk controller= vdisk= action=changepolicy diskcachepolicy=disabled
Where is the number the number of the controller and the number of the virtual disk reported by the omreport utility.
<ADMIN NOTE: Broken link has been removed from this post by Dell>