Mounting problem

Oliver Lehmann oliver at FreeBSD.org
Wed May 9 16:21:23 EDT 2012


Hi,

Beech Rintoul <beech at freebsdnorth.com> wrote:
[tcp] localhost://usr/local/tinderbox/portstrees/FreeBSD/ports:
RPCPROG_NFS: RPC: Port mapper failure - RPC: Timed out
Why do you specify localhost:// if you want to use nullfs?
I never pass -nullfs to any script but have defined my source
directories accordingly.


root at nudel scripts> ./tc getSrcMount -j 8-FreeBSD-amd64
/mnt/files/FreeBSD/8.0/src
root at nudel scripts> ./tc getPortsMount -p cvs
/mnt/files/cvs/freebsd/ports
root at nudel scripts>


 From README:

8.2 Alternative Mounting

    If you want to mount /ports inside your PortsTree or /src inside
    your Jail via nullfs or NFS from another location, use -m switch
    to create.

    Examples for NFS:

  # ./tc createPortsTree -p FreeBSD -m server:/directory
  # ./tc createJail -j 8-FreeBSD -m server:/directory

    Examples for nullfs:

  # ./tc createPortsTree -p FreeBSD -m /directory
  # ./tc createJail -j 8-FreeBSD -m /directory

    Tinderbuild will ensure that these file systems are correctly
    mounted so you do not need to mount them by your own before
    calling tinderbuild.

    If you want to change these settings later, use:

  # ./tc setPortsMount -p {portstreename} -m {mount path}
  # ./tc setSrcMount -j {jailname} -m {mount path}


More information about the tinderbox-list mailing list