From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Date: Tue, 2 Jun 2009 11:19:20 -0700 From: "Roman V. Shaposhnik" In-reply-to: <7d3530220906021103l2f82344dh43cd1eff8fa42a99@mail.gmail.com> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-id: <1243966760.13276.61.camel@goose.sun.com> References: <7d3530220906021030w391ef36eg588f9feae05fa012@mail.gmail.com> <1243964132.13276.46.camel@goose.sun.com> <7d3530220906021103l2f82344dh43cd1eff8fa42a99@mail.gmail.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Configuring NFS Topicbox-Message-UUID: 030b4434-ead5-11e9-9d60-3106f5b1d025 On Tue, 2009-06-02 at 11:03 -0700, John Floren wrote: > On Tue, Jun 2, 2009 at 10:35 AM, Roman V. Shaposhnik wrot= e: > > On Tue, 2009-06-02 at 10:30 -0700, John Floren wrote: > >> Has anyone here successfully set up nfsserver to share Plan 9 files > >> with Unix machines? The examples given in the man pages are rather... > >> opaque. All I want to do is share one directory tree (/lib/music, in > >> particular) with a number of independent Linux laptops and > >> workstations. > > > > I used it in combination with Solaris. >=20 > Do you still have the configuration?=20 I might. For Solaris NFS was *the* only choice. For Linux I have abandoned NFS approach in favor of native 9P. You should be aware of the fact that nfsserver can only speak NFS v.2 which is *really* old. > I'm looking at the man page for > nfsserver but wondering what the machine 'ivy' does, and what exactly > 'pie' and 'yoshimi' are doing, etc. If you have practical questions -- feel free to ask them. I'll try to dig bits and pieces of my Solaris setup for you later this week. So far, I can tell you this much: nfsserver is NFS to 9P translator. Thus you can hide a whole bunch of 9P-aware services behind a single nfsserver by specifying multiple -a options (in fact these 9P services don't even have to be remote machines). Each individual -a entry will become a single NFS export share in its own right (visible via showmount -e).=20 So, when you see something like aux/nfsserver =E2=80=93a tcp!pie =E2=80=93a tcp!yoshimi all this means is that we are creating 2 NFS shares pie and yoshimi on a single NFS server. > >> I'm looking into NFS because it seems that it has about the lowest > >> barrier to entry of all the possible file-sharing methods. Any other > >> suggestions would be appreciated. > > > > Whether or not to use NFS depends greatly on what is on the other end. > > What kind of UNIX? > > >=20 > Like I said, it's a collection of Linux machines, mostly running > Debian, Ubuntu, and Redhat. In that case why not use FUSE and 9P? This will also let you mount more easily from a non-root accounts. Thanks, Roman.