How can I tell if my hard drives have a battery backed write cache (BBWC)?
How can I tell if it is enabled and/or configured correctly?
I don't have physical access to my server. It's a GNU/Linux box.
I can provide supplemental incremental information/details as requested. My frame of reference is that of a DBA -- I have access and privileges, but (usually) only tread where I know am supposed to. :)
I've never actually seen battery backed write cache in harddisks - only in RAID controllers. How to query the controller is rather specific to your hardware. It will almost certainly require root privileges on the box.
For example, using Dell PERC controllers, and having
dell-omsa-repository
installed, I can do:On another server:
I haven't been able to find right now how to ask it what the current write cache setting is, but I think I've seen it in there before. However, if you're not using Dell RAID controllers, you will need different software.
This way you can see if the battery backup is speeding up your server, on this server it is working:
The important line here is the
Make sure you have a battery before enabling this, using:
Then you can enable using:
It is called KNOWING. A dark secret by experienced system admins. They remember what hardware they order and how they configure it. Very arcane stuff. Part of the dark art of administration and requires you to read the ancient scrolls containing the purchase orders.
In the end, if you are the DBA, ask the people responsible for the system.
Depending - if you are the DBA - on how large the company is you may not have discs, a USV or even a raid controller available at all, but run against a SAN (which has all this in a much larger configuration).