From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,dc2f46cf026221de X-Google-Attributes: gid1164f8,public From: Nikola Milutinovic Subject: Re: RAID 5 Write-back cache safety ? Date: 1997/08/20 Message-ID: <33FB4E3F.4DEA@EUnet.yu>#1/1 X-Deja-AN: 268390454 References: <33FB24A2.3780@s4m.de> Organization: EPS Elektrovojvodina Reply-To: milutinn@EUnet.yu Newsgroups: comp.sys.dec Russell Bride wrote: > > How safe is the write-back cache mechanism and what are reasonable > write rates to expect ? Write-back cache mechanism isn't security hole. If you suddenly run out of power, no metter what the caching scheme, you risk having corrupt file system, if you are running UFS. If however, you have AdvFS, than you can relay on its "file transaction logging" mechanism to roll-back unfinished file operations, just like some RDBMS. And it works fine EXCEPT WHEN YOU HAVE WRITE-BACK CACHING CONTROLLER! Agagin, if the cache is large enough, it will hold transaction log data, which will be lost in cases of irregular shutdown (power failure). The only thing you can (and should) do is install BATTERY BACKUP for controller cache. We are using Mylex 3-port controller with 16 MB of cache and battery backup module. Apart from that, we also have APC UPS. We feel rather safe. Caution: Battery backup won't help you if you're using UNIX File System. You'll have consistent image of disk blocks in cache+battery & RAID5, but that image wont be valid! Wish you luck and prompt purchase of battery backup. CU, Nix.