Unsolved

This post is more than 5 years old

4 Posts

60518

September 2nd, 2009 17:00

"write-through" or "write-back" on RAID 1/10

I am trying to prepare my PowerEdge 2950 before CentOS 5.3 installation(web server).
I have hardware RAID 1/10 so I will have
2 virtual disks(VD).

first  VD:(RAID 1)  -  2 physical disks
second VD:(RAID 10) -  4 physical disks

What should be write policy for the VD(RAID 1) and for the VD(RAID 10)?

I would have "/var" and maybe "tmp" on RAID 10.

6 Operator

 • 

9.3K Posts

September 3rd, 2009 12:00

Assuming you have a working PERC battery, and plan to implement OpenManage (with alerting for when/if the battery fails), I'd set it to write-back.

 

If you want to play it safe, you can do write-through, but it basically means you disable write cache (as the system will commit the data to disk before acknowledging to the OS that the data was written to disk, where write cache buffers the data and even though the data isn't on disk yet, the OS gets the acknowledgement that it's on disk).

No Events found!

Top