Mounting NFS From Within a Jail

Glen Barber glen.j.barber at gmail.com
Sat May 29 13:06:32 UTC 2010


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


More information about the freebsd-jail mailing list