All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: kernel+userspace based nfsd running in parallel  on linux?
@ 2006-12-16 21:53 devzero
  0 siblings, 0 replies; 10+ messages in thread
From: devzero @ 2006-12-16 21:53 UTC (permalink / raw)
  To: astrand; +Cc: Bernd Schubert, nfs

thanks - i just came across unfs3 some hours ago after searching this list =
for a while - i didn´t know that there exists a nfsv3 userspace implem=
entation.

so - maybe it`s a good replacement for classic userspace nfsd and i don`t n=
eed knfsd at all - looks like it also supports files >2gb.

will give it a try!



> -----Urspr=FCngliche Nachricht-----
> Von: Peter =C5strand <astrand@cendio.se>
> Gesendet: 16.12.06 22:01:53
> An: devzero@web.de
> CC: Bernd Schubert <bernd-schubert@gmx.de>, nfs@lists.sourceforge.net
> Betreff: Re: [NFS] kernel+userspace based nfsd running in parallel  on li=
nux?


> On Sat, 16 Dec 2006, devzero@web.de wrote:
> =

> > > Hmm, I thing this is presently not possible. I might be wrong, but I =
think =

> > > neither knfsd nor any userspace nfs daemon presently supports binding=
 to =

> > > selected interfaces. Thinks they alsways bind to all interfaces.
> > =

> > i wonder very often, why there are so many applications out there which =

> > actually _DON`T_ support this. if you are a security aware person, this =

> =

> Actually, unfs3 does support this. Just use the -l argument. =

> =

> Regards, =

> ---
> Peter =C3&#65533;strand		ThinLinc Chief Developer
> Cendio AB		http://www.cendio.se
> Teknikringen 3
> 583 30 Link=C3=B6ping	Phone: +46-13-21 46 00
> =



___________________________________________________________________________=
___
"Ein Herz f=FCr Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.=
de
Unser Dankesch=F6n: Ihr Name auf dem Segel der 1. deutschen America's Cup-Y=
acht!


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: kernel+userspace based nfsd running in parallel on linux?
@ 2006-12-16 22:26 devzero
  2006-12-18  8:32 ` Peter Åstrand
  0 siblings, 1 reply; 10+ messages in thread
From: devzero @ 2006-12-16 22:26 UTC (permalink / raw)
  To: Bernd Schubert, Olaf Kirch; +Cc: nfs

>Oh, and what about locking? :)

good point - but not an issue here, because i only need to export read-only.

> -----Urspr=FCngliche Nachricht-----
> Von: Olaf Kirch <okir@suse.de>
> Gesendet: 16.12.06 22:55:45
> An: Bernd Schubert <bernd-schubert@gmx.de>
> CC: nfs@lists.sourceforge.net
> Betreff: Re: [NFS] kernel+userspace based nfsd running in parallel on lin=
ux?


> On Sat, Dec 16, 2006 at 05:17:30PM +0100, Bernd Schubert wrote:
> > Hmm, I thing this is presently not possible. I might be wrong, but I th=
ink =

> > neither knfsd nor any userspace nfs daemon presently supports binding t=
o =

> > selected interfaces. Thinks they alsways bind to all interfaces.
> > We doing it by using different ports for the daemons, knfsd is running =
as =

> > usual on 2049 and unfsd (unfs3) is running on another port.  One also n=
eeds =

> > to tell one of the daemon not to register to the portmapper, unfs3 also =

> > supports that.
> =

> The big problem will be mountd. There's only one portmapper, and you
> can register only one mountd - and the file handles given out by unfs
> mountd don't work with the kernel nfsd and vice versa.
> =

> Oh, and what about locking? :)
> =

> Olaf
> -- =

> Olaf Kirch   |  --- o --- Nous sommes du soleil we love when we play
> okir@suse.de |    / | \   sol.dhoop.naytheet.ah kin.ir.samse.qurax
> =



___________________________________________________________________________=
___
"Ein Herz f=FCr Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.=
de
Unser Dankesch=F6n: Ihr Name auf dem Segel der 1. deutschen America's Cup-Y=
acht!


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: kernel+userspace based nfsd running in parallel  on linux?
@ 2006-12-16 18:07 devzero
  2006-12-16 21:01 ` Peter Åstrand
  0 siblings, 1 reply; 10+ messages in thread
From: devzero @ 2006-12-16 18:07 UTC (permalink / raw)
  To: Bernd Schubert, nfs

Hi Bernd, =


> we are are already doing this for a long time.

any caveats with this? just tune one of both to use different port ?

> Hmm, I thing this is presently not possible. I might be wrong, but I thin=
k =

> neither knfsd nor any userspace nfs daemon presently supports binding to =

> selected interfaces. Thinks they alsways bind to all interfaces.

i wonder very often, why there are so many applications out there which act=
ually _DON`T_  support this. if you are a security aware person, this is a =
very nice feature to be able to make your box more secure, without any fire=
walling at all. an interface which isn`t actually listening is more secure =
than one being firewalled, because you could have misconfigured your firewa=
ll or it could be down by accident. such feature gives so much greater flex=
ibility - i wished i would be able to tell "-bind 1.2.3.4:1234" instead of =
just "-port 1234" to every type of application opening a listening socket.

> We doing it by using different ports for the daemons, knfsd is running as =

> usual on 2049 and unfsd (unfs3) is running on another port.  One also nee=
ds =

> to tell one of the daemon not to register to the portmapper, unfs3 also =

> supports that.

ah, thanks - this looks like one of those "caveats". btw - what about using=
 userspace nfsd via xinetd? xinetd supports binding to dedicated interfaces.

> > if there isn&#180;t a killer argument against this (does not work by de=
sign
> > because...), i would like to try to elaborate to make this work. if this
> > fails because there is no way to specify a dedicated interface to liste=
n on
> > - maybe this could be fixed with some few modifications to the code...
> =

> Any argument against simply using different ports?

ease of use for the clients? (because it&#180;s easier to tell them to conn=
ect to a different ip than to a different port) - what if the client doesn`=
t support connecting to different port (ok, don`t know details yet about nf=
s clients and specifying ports - but i know many apps which are not able to=
 use another port than the standard/default one.

thanks!

roland

_______________________________________________________________________
Viren-Scan f=FCr Ihren PC! Jetzt f=FCr jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=3D022222


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 10+ messages in thread
* kernel+userspace based nfsd running in parallel  on linux?
@ 2006-12-16 15:20 devzero
  2006-12-16 16:17 ` Bernd Schubert
  0 siblings, 1 reply; 10+ messages in thread
From: devzero @ 2006-12-16 15:20 UTC (permalink / raw)
  To: NFS

Hello !

for a special scenario, i&#180;m thinking about running the classic userspace nfsd in parallel with the kernel based.

i think this _could_ be possible by binding the userspace one to the primary interface (eth0, ip 1.2.3.4) and the kernel based one to a virtual interface (eth0:1, ip 1.2.3.5)

i have done similar with other daemons, providing services on the same ports, but on different interfaces - think of apache ip-based virtual hosting which serves www.domaina.com on 1.2.3.4:80 and www.domainb.com on 1.2.3.5:80

since i`m unsure if this would work, can you experts give a comment if this should at least be possible in theory ?

if there isn&#180;t a killer argument against this (does not work by design because...), i would like to try to elaborate to make this work. if this fails because there is no way to specify a dedicated interface to listen on - maybe this could be fixed with some few modifications to the code...

regards
roland


_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-12-18  8:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-16 21:53 kernel+userspace based nfsd running in parallel on linux? devzero
  -- strict thread matches above, loose matches on Subject: below --
2006-12-16 22:26 devzero
2006-12-18  8:32 ` Peter Åstrand
2006-12-16 18:07 devzero
2006-12-16 21:01 ` Peter Åstrand
2006-12-16 15:20 devzero
2006-12-16 16:17 ` Bernd Schubert
2006-12-16 21:55   ` Olaf Kirch
2006-12-17 10:25     ` Peter Åstrand
2006-12-18  7:21       ` Olaf Kirch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.