Jeff Koch pisze:
var/qmail/queue
var/qmail/simscan
var/log
maybe /tmp
let me know if you guys think of any other directories that would
benefit from the speedup.
Also, since the i-ram's battery backup only lasts a few hours we added
some startup scripts to rc.local that try mounting the i-ram and then
test for the existence of some key files. If they don't exist or the
i-ram can't be mounted we then we assume the RAM got erased and use
parted to re-create the partitions and mkfs to add the xfs filesystem.
Then we mount the i-ram drive and copy over and untar the directories
that we backed up upon shutdown (and also backup every few hours).
I think this approach should substantially speedup the mailserver and
allow it to handle greater capacity.
I wonder if using ramdisk instead of a hard disk could also be a good
idea for some directories.
Maciej