Mag Gam on 22 Jun 2007 22:07:26 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] NFS question

  • From: "Mag Gam" <magawake@gmail.com>
  • To: "Philadelphia Linux User's Group Discussion List" <plug@lists.phillylinux.org>
  • Subject: Re: [PLUG] NFS question
  • Date: Fri, 22 Jun 2007 18:07:16 -0400
  • Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=rtruCqyBAnKAGXKvda/iOTQas5tD6SB//tGeIypSGZcPAiqsrprvaaoCdupjCf6ebGs+iKn89pDWkMJl2gdK9dtDT2tT8WEiF1JB+H1txwscBTvGafg2EZMFgkouxIjXAtLORdzBjLTjFC0wfncTc7Ph++ras/FDKMnrDh6laVk=
  • Reply-to: Philadelphia Linux User's Group Discussion List <plug@lists.phillylinux.org>
  • Sender: plug-bounces@lists.phillylinux.org

So, everything working for you Doug?


On 6/19/07, Dan Widyono <dan@widyono.net> wrote:
In my exports man page I have these examples:

       /               master(rw) trusty(rw,no_root_squash)
       /projects       proj*.local.domain(rw)
       /usr            *.local.domain(ro) @trusted(rw)
       /home/joe       pc001(rw,all_squash,anonuid=150,anongid=100)
       /pub            (ro,insecure,all_squash)

Thus I'd expect you to have

        / 192.168.0.2(alldirs,ro)

But this is on a Scientific Linux system.  Sorry, I missed the beginning of
this thread where you (perhaps) mentioned your OS.

Dan W.

On Tue, Jun 19, 2007 at 01:59:56PM -0400, Doug Crompton wrote:
> Well either I am not doing something right or this is not supported im my
> kernel -
>
> In my export file... (I have tried other combinations)
>
> / -alldirs,ro   192.168.0.2
>
>
> Shutting down kernel based NFS server
> done
> Starting kernel based NFS serverexportfs: No options for / -alldirs,ro:
> suggest -alldirs,ro() to avoid warning
> exportfs: -alldirs,ro has non-inet addr
> exportfs: -alldirs,ro has non-inet addr
> exportfs: No options for / 192.168.0.2: suggest 192.168.0.2() to avoid
> warning
>
> Doug
>
>
> On Tue, 19 Jun 2007, Mag Gam wrote:
>
> > [root@centos5 ase]# cat /etc/exports
> > /media
> > / -alldirs
> >
> > Yep, a line with with "/ -alldirs", ofcourse you can control what host you
> > want to export too.
> >
> > HTH
> >
> >
> > On 6/18/07, Doug Crompton <doug@crompton.com> wrote:
> > >
> > > I understand the exportfs -a  but where does the -alldirs go in the export
> > > file. I see no documentation on that? A line with just / -alldirs ?
> > > Is this in addition to a line that maps to a specific IP address?
> > >
> > >
> > > On Mon, 18 Jun 2007, Mag Gam wrote:
> > >
> > > > Doug,
> > > >
> > > > try setting up your export file like this
> > > > / -alldirs
> > > >
> > > > exportfs -a
> > > >
> > > > is this what you were looking for?
> > > >
> > > > HTH
> > > >
>
> ___________________________________________________________________________
> Philadelphia Linux Users Group         --        http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug