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.
I had read the User's Guide, and didn't find anything related to viewing/setting
physical disks cache policy. But I will follow the instructions you provide in your
post.
Please note that under the topic:
Physical Disk Management (PD Mgmt) :: Physical Disk Actions
the User's Guide lists all the actions that can be taken on physical disks, as
follows (but there is nothing about cache policies):
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.
"In Write-Back caching, the controller sends a data transfer
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> )
2. Six Seagate ST3300655SS SAS disks
------------------------------------
the controller (in write-back mode) will acknowledge that
the data has been received, so the application thinks that
the write transaction is complete;
at some point in future, the controller decides to flush
its write cache to disk;
the disk acknowledges to the controller that the data has
been written, so the controller thinks all is done;
but the disk is actually caching the data in its cache, while
it decides when to actually write it to the medium (magnetic
disk);
meanwhile, a power outage happens;
the data in the physical disks' cache is lost forever;
If the application was a database, your database will be corrupted.
So, I want to turn off the write cache (16M cache) on the physical
disks.
My question is: how do you do that with the Dell PERC 5/i controller?
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.
at5147
884 Posts
0
October 17th, 2007 20:00
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
October 17th, 2007 21:00
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
October 17th, 2007 22:00
ArashA
4 Posts
0
October 18th, 2007 17:00
at5147
884 Posts
0
October 18th, 2007 17:00
ArashA
4 Posts
0
October 18th, 2007 19:00
---------------------------
- 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
October 19th, 2007 00:00
AdDeRidder
1 Message
0
July 19th, 2011 17:00
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
4 Operator
•
9.3K Posts
0
July 19th, 2011 21:00
The original poster may not even own the server anymore, as his/her question was posted nearly 4 years ago.
rebeloper
1 Message
0
October 12th, 2011 11:00
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>