From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,371922f7bbe6a237 X-Google-Attributes: gidfee84,public From: Mark Sirota Subject: Re: You're lost in a maze of twisty little AdvFS concepts, all alike :-) Date: 1997/05/16 Message-ID: <337BE049.D6F@isc.upenn.edu>#1/1 X-Deja-AN: 242683964 References: <33738B6B.6113@lawrence.no.spam.edu> <3379FB57.7A52@alphawest.com.au> To: stephen.cooper@alphawest.com.au Organization: University of Pennsylvania, ISC Network Engineering Reply-To: msirota@isc.upenn.edu Newsgroups: comp.unix.osf.osf1 Stephen Cooper wrote: > Hmmm RAID 5 and advfs conjures recurring nightmares: Never use advfs > with RAID 5 unless your SWXCR controller has a battery backup, it can > completely trash a file domain if some one unplugs yout UPS :( What does AdvFS have to do with it? Using any sort of write-back cache technology without battery backup is asking for trouble. The alternative is to use write-through (where the acknowledgement is not sent until the write is done, rather than just after is it received). Actually, RAID 5 has this problem, for both write-back and write- through. Writes in RAID 5 are not atomic; there is a write-calculate- write cycle, and that provides a window of opportunity (but the window is larger for write-back than for write-through). I don't see what AdvFS has to do with it. The same problem is there for UFS. (Not that everyone should be afraid of RAID 5; battery backup and related approaches do solve the problem.) -- Mark Sirota, Network Systems Engineer University of Pennsylvania, Information Systems and Computing msirota@isc.upenn.edu, 215/573-7214