[861] in testers

home help back first fref pref prev next nref lref last post

SAVECORE and afs cache size

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Thu May 24 09:47:17 1990

Date: Thu, 24 May 90 09:46:55 EDT
From: Ken Raeburn <Raeburn@MIT.Edu>
To: testers@ATHENA.MIT.EDU
If SAVECORE is set to "true", savecore should probably be run before
the afs cache size is determined, since it can drastically affect the
available space.

Perhaps something like the following would be appropriate:
	compute cachesize and save it in cacheinfo
	start afsd
	set running cache size to 1
	run savecore
	compute cachesize and set it

Also, if savecore cannot write out the entire dump file, perhaps it
should not bother, or should unlink it after it fails.

I found an incomplete dump file and a mostly-full site partition this
morning.  (And of course AFS didn't notice, and filled the partition
completely.)  After I rebooted, savecore saved the dump again.

home help back first fref pref prev next nref lref last post