Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There are 2 possibilites to modify cache settings in the Adaptec Storage Manager. - Physical drive - Write-back or Write-through - Logical drive - Write-back, Write-back only with battery, write-through

I do have a battery, so I would set Write-back only with battery for logical drive. However, what should I set on the physical drive?

Is the write-back caching on physical drive provided by the controller backed by the battery as well - or is it provided by the drive and it should be switched to write-through? (I do not have a UPS yet). I have not found any clue in Adaptec documentation, the ASM Guide even does not mention the logical drive settings.

The adaptec model is 52445, but the settings seems to be quite generic in the Adaptec Storage Manager.

share|improve this question
You might want to mention the model of card you have; I have my doubts that every Adaptec card ever made operates in exactly the same way with regards to bettery-backed caching. – womble Jan 7 '10 at 9:19

No it doesn't cover the HDD cache in its "protection". If you are exceptionally concerned, you tell the raid controller to turn off the cache on the HDD, and turn off the write cache on the raid controller, and you are certain then that you will have the data written to the disk straight away.

Just expect a big performance hit when doing it.

share|improve this answer
I am happy with the battery protected cache. The question is: does the settings on the 'Physical drive' in the ASM concern the write-back caching on the HDD or does it concern write-back cache in the RAID card - which is battery protected, which I am quite happy with. – ondra Jan 7 '10 at 11:36

The fundamental difference between write-back and write through is as follows:

Write-back marks data areas as "dirty" and saves them in ram. At some point they are written down to disk. This gives better performance, but you have data in a volotile state which can be risky. It might violate guarantees for consistenty in databases and/or filesystems

Write-through writes the data down to disk when the write comes. This is less efficient, especially in the case of many small writes, but it makes sure your data is as safe as possible. In this case the cache is only used to speed up reads.

You can find a much longer explanation at

So, do you value performance or do you value data safety? I am not sure how much the battery backup in the controller can do, in most cases it just stores the pending writes untill the disks are powered up again and writes it down then.

If you can risk losing data written after the last backup go for write-back. You will gain performance.

If your data is critical and you want to minimize data loss go for write-through.

share|improve this answer
I know the difference between write-back and write-through. I was asking if the adaptec card settings of cache on physical drive means "caching in the batter-backed memory of adaptec card" or "caching in the non-battery-backed memory of the disk". The latter would be quite dangerous. – ondra Jan 7 '10 at 9:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.