Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

At work I administer several machines using (real) hardware raid controllers (with battery backed write caches), and these have the nasty habit of falling back to writethrough behaviour when an array becomes degraded due to a disk failure.

I cannot think of any reason why, so I have configured these arrays to be forced into writeback behaviour while using the hotspare to rebuild the array, and all seems to be running well now.

Can anyone think of a reason why it would be a good idea to switch to writethrough while an array is running in degraded mode due to disk failure? (Of course, if the BBU itself fails, writethrough instead of writeback makes complete sense).

share|improve this question
    
Um, what type of server, controller, disks and their respective makes/models? –  ewwhite Jan 14 '13 at 21:28
    
We're mostly working with Dell machines; anything from R320 to R910's and all models in-between, and MD1000/MD1200's for external storage. For raid controllers, we're using PERC5(e) cards on the oldies, and H310/H800's on the newest stuff. Mostly 7200rpm disks (and recently some cachecade SSDs), installed by Dell. –  jap Jan 14 '13 at 21:55
add comment

1 Answer

up vote 6 down vote accepted

From a protection perspective, there is no additional data loss potential from having a writeback cache enabled during a rebuild operation.

Some controllers disable the writeback cache because they don't have enough processor overhead to be able to manage the writeback cache and a rebuild at the same time. Or their firmware is not sophisticated enough to be able to handle both.

There are controllers out there that can do a rebuild while the writeback cache is enabled. You appear to not have one of those.

share|improve this answer
    
My reason for asking is the performance degradation caused by shifting to writethrough mode. And yes, I do hit those disk hard enough that it's noticable. –  jap Jan 14 '13 at 21:52
add comment

Your Answer

 
discard

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.