In setting up my Xserve I chose to create 3 different partitions:
1) System
2) Everything which is more or less dynamic
3) User data
To prevent that I end up with an unbootable system, or corrupted
plist-files with a full system disk I want to move everything that
"grows" (such as swapfiles, logfiles, mail spool directories, temp
dir etc.) to a second partition. I imagine that others have done so
before and was wondering if there is anywhere a "howto" or tutorial
which sums up which config files to change. Of course I could (and
will) find every location by myself, but if there is somewhere a list
it would be a great help.
Starting with swapfiles, I noticed that if I change to location of
the swapdie in /etc/rc just the system volume is mounted and
therefore I cannot select a different location. Is there any reason
why the virtual memory is initialised before all drives are mounted?
Will I get myself into a lot of trouble when I mount the volumes
earlier in the boot process (or delay the initialisation of the
dynamic_pager until after my second partition is mounted?
Also, it appears that on a clean install of Tiger, the /etc/fstab is
no longer existing. There is a /etc/fstab.hd which just tell me that
I shouldn't look at it (but doesn't hint me where I should look).
Then, in /System/Library/StartupItems/Disks I find a script that
uses /sbin/autodiskmount -va, but autodiskmount is deprecated
according to it's man page.
Altogether I am a bit confused when and where the non-system volumes
are mounted?
Any hints (or pointers to documentation or websites describing this
kind of stuff) are welcome!