although everyone will tell you that the system runs a background sync
task that takes care of it, I have had to set up a cron job with 'sync'
that runs every 5 minutes:
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /sbin/sync
this has made sure that only 1 power outage out of 10 forces me to do
any manual intervention. Before that it was about every other power
outage, and my system has 1000+ users.
bug
On Wed, 18 Aug 1999, Ian W Douglas wrote:
> Hey all.
>
> How do I control the caching on my file system (ie: increase it or turn it
> off)?
>
> Why?
>
> Well, our server is plagued with power problems and until we can justify a
> few hundred bucks for a UPS, I'd like the system to write everything to
> disk right away ... no cached delayed writing.
>
> Thanks for any info.