[17404] in Athena Bugs
Re: Solaris clients with filesystem corruption
daemon@ATHENA.MIT.EDU (Kev)
Thu Dec 2 10:10:05 1999
Message-Id: <199912021509.KAA11366@mint-square.mit.edu>
To: Greg Hudson <ghudson@MIT.EDU>
cc: Garry Zacheiss <zacheiss@MIT.EDU>, bugs@MIT.EDU
In-Reply-To: Your message of "Thu, 02 Dec 1999 07:52:47 EST."
<199912021252.HAA05719@small-gods.mit.edu>
Date: Thu, 02 Dec 1999 10:09:58 -0500
From: Kev <klmitch@MIT.EDU>
> I can make the problem significantly better by making syncconf create
> new versions of the files and only move them into place if they differ
> from the old versions. I'm not sure if I can fix the problem entirely
> without writing C code, since I don't know how to get a shell script
> to fsync() a file.
After writing the files to disk, run sync a couple of times before mv'ing
the new files into place; that *should* help this problem...
--
Kevin L. Mitchell <klmitch@mit.edu>
------------------------- -. .---- --.. ..- -..- --------------------------
http://web.mit.edu/klmitch/www/ (PGP keys availiable from here)
RSA AE87D37D/1024: DE EA 1E 99 3F 2B F9 23 A0 D8 05 E0 6F BA B9 D2
DSS ED0DB34E/1024: D9BF 0E74 FDCB 43F5 C597 878F 9455 EC24 ED0D B34E
DH 2A2C31D4/2048: 1A77 4BA5 9E32 14AE 87DA 9FEC 7106 FC62 2A2C 31D4