Mounts (was Re: cvs commit: ...)

Ade Lovett ade at FreeBSD.org
Mon Jul 10 16:27:50 EDT 2006


On Jul 10, 2006, at 12:15 , Oliver Lehmann wrote:
> Looks OK as far as I can tell (not much to test because all my  
> portstrees
> are now nearly completly empty in the database because of  
> misfunction of
> tbcleanup but this is not sooo tragic ;)

Y'know, at least with HEAD, I've had great success with the following  
setup.

On the main machine, create a single nice big partition (we'll call  
it /tbox since I have an irrational fear of the /space thingie after  
the "great hardcoded references sweep" last year :)

NFS-mount /tbox onto each of the builder boxes (as /tbox, or at least  
as the same name).

Set HOST_WORKDIR, either on a global or per-machine basis, to a local  
UFS filesystem.

Jails and builds will now automatically nullfs-mount and build  
underneath /local/work (or whatever you set HOST_WORKDIR to).

No other hacks needed.  Well, apart from delving into the depths of  
the NFS code to find out why it keeps crapping out badly, but that's  
all over -stable.

A further added advantage is that you've only got a single instance  
of the web UI, regardless of the number of builder boxes.

-aDe



More information about the tinderbox-list mailing list