Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 May 2010 09:06:28 -0400
From:      Glen Barber <glen.j.barber@gmail.com>
To:        Tim Gustafson <tjg@soe.ucsc.edu>
Cc:        freebsd-jail@freebsd.org
Subject:   Re: Mounting NFS From Within a Jail
Message-ID:  <4C011154.6030407@gmail.com>
In-Reply-To: <945052632.315351275084473673.JavaMail.root@mail-01.cse.ucsc.edu>
References:  <945052632.315351275084473673.JavaMail.root@mail-01.cse.ucsc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Tim,

On 5/28/10 6:07 PM, Tim Gustafson wrote:
> Hi,
>
> I previously sent this message to the freebsd-questions list, but I think perhaps I should have posted it to the freebsd-jail list instead.
>
> Is it possible to mount an NFS file system from within a jail?
>

You cannot mount NFS shares inside a jail because of rpcbind.

The best solution I've found is to mount the NFS share on the jail host, 
and create a nullfs mount of that mountpoint to the jail.

Regards,

-- 
Glen Barber



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C011154.6030407>