Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Nikola Milutinovic <milutinn@EUnet.yu>
Subject: Re: RAID 5 Write-back cache safety ?
Date: 1997/08/20	[thread overview]
Message-ID: <33FB4E3F.4DEA@EUnet.yu> (raw)
In-Reply-To: 33FB24A2.3780@s4m.de


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.



      reply	other threads:[~1997-08-20  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-08-20  4:00 RAID 5 Write-back cache safety ? Russell Bride
1997-08-20  4:00 ` Nikola Milutinovic [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox