Battery backed write cache behavior upon disk change
Posted
by
Halfgaar
on Server Fault
See other posts from Server Fault
or by Halfgaar
Published on 2012-06-04T13:14:08Z
Indexed on
2012/06/04
16:46 UTC
Read the original article
Hit count: 303
We use 3ware Inc 9650SE SATA-II RAID PCIe
RAID controllers with battery backed write cache. Our spare hardware has the same controller.
I was wondering; are these controllers smart enough not to sync the cache when the disks have been changed? For example, if I deploy one of those spare machines by putting in the disks of another machine and that spare machine still has pending writes, will it be smart enough not to perform those writes on the replaced array?
Edit: my scenario is not really made clear, so let me give an example:
- server1 goes down because of power supply failure.
- I put the disks in server2 and start.
- I repair server1
- I put the disks back from server2 in server1 (it's not relevant right now that in reality I would probably keep server2 running).
- If server1 doesn't have safeguards, it will write to the array, thinking it's simply powering up again, corrupting it.
© Server Fault or respective owner