Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2012 17:40:12 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Fbsd8 <fbsd8@a1poweruser.com>
Cc:        freebsd-questions@freebsd.org, blackfriar <blackfriar@inhio.eu>
Subject:   Re: NFS within a Jail?!
Message-ID:  <alpine.BSF.2.00.1208111733090.2107@wojtek.tensor.gdynia.pl>
In-Reply-To: <50266F8F.4010504@a1poweruser.com>
References:  <1344347348.23440.5.camel@blackfriar.inhio.eu> <5022715C.9010301@a1poweruser.com> <alpine.BSF.2.00.1208100812060.2876@wojtek.tensor.gdynia.pl> <50250034.8010004@a1poweruser.com> <20120810135446.GA48662@ei.bzerk.org> <50251DE5.3010106@a1poweruser.com> <alpine.BSF.2.00.1208111458230.1524@wojtek.tensor.gdynia.pl> <50266F8F.4010504@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> Since your the expert on unfs3 because you have it working, would you share 
> some technical configuration information with us?
>
> Such as
>
> What statements do you have in the host:server and remote:client /etc/rc.conf 
> to auto start them at boot time?
in client - as with any NFS, use kernel klient.

on server - just run unfsd anywhere, like /etc/rc.local

Do you really cannot use any program without rc.d script? ;)

> How do you disable the kernel nfs version so it don't interfere with unfs3?
Just don't enable it in /etc/rc.conf

You may have it in kernel. i did, now i don't. both works.

> What does your export file look like on both the host:server and 
> remote:client sides.

as described in manual of unfsd.
basics are same, details are not.

>
> Then about unfs3 performance; how many concurrent remote:clients do you 
> service? Doe's access elapse time get longer as more concurrent

over 60 but not high load clients so performance doesn't matter. That's X 
terminals booting over NFS.

Sometimes i do more - example is net-booting windoze PC to be able to do 
some recovery OR backup large amount of data to server.

There is no practical performance difference in that settings.

BUT - do make configure, then search where fsync is called and comment it 
out.

Right - not conformant, but the performance difference on writes are 
enormous.

Unless you do such a stupid things like running database servers over NFS, 
you don't need this conformance. Just do it.

> Do you run unfs3 in a jail on both the host:server and remote:client sides?

Not now. but tried. unfs doesn't need ANY special kernel calls. It runs 
just like any program using UDP/TCP communication. jail/no jail doesn't 
make a difference. As with most programs.

In kernel point of view it is just a program that use TCP/IP stack and 
open/read/write/readdir/etc. Nothing else.

> Are there any sysctl nob settings needed to make unfs3 run in a jail?
as above.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1208111733090.2107>