Re: re sharing

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

 



On Tue, 20 Jul 2004 14:13:58 -0700, Rick Stevens wrote
> dsavage@xxxxxxxxxxx wrote:
> > On Tuesday July 20, 2004 at 10:22 a.m. "Wolfgang" <wolfgang@xxxxxxxxxx>
> > wrote:
> > 
> >>But the one thing that confuses me is that, when I try to mount the nfs
> >>share from the client machine, I keep getting a "permission denied"
> >>message. (For the purpose of the test, both systems have been setup as
> >>the root user. Until I understand better how this is supposed to work,
> >>and the man pages, don't seem to make any sense to me either.)
> >>
> >>Also, the other confusing thing is that, it's suggested to setup the
> >>/etc/exports file as such:- (or use nfs server config tool)
> >>
> >>/name_of_directory 192.168.0.3(rw,no_root_squash)
> >>
> >>The mount it on the client as:-
> >>
> >>mount 192.168.0.4:/name_of_directory/ /mount_point
> >>
> >>The above configuration and mount setup, doesn't make sense. If the
> >>server address is x.x.x.3 and it's mounted as x.x.x.4! It's not
> >>possible, from what I can see here.
> >>
> >>Any other ideas/help on this matter would be greatly appreciated.
> 
> No, the first line is the exports file on the server (192.168.0.4),
> saying the only machine allowed to mount it is 192.168.0.3.
> 
> The second line is the actual mount command run on the client,
> specifying  the server at 192.168.0.4.
> > 
> > 
> > Wolf,
> > 
> > Server with /etc/exports file:  192.168.0.3
> > 
> > You might try using adding a permanent mount line in your clients'
> > /etc/fstab files with the "users" option:
> > 
> > 192.168.0.3:/name_of_NFS_shared_directory/ /local_mount_point  nfs  \
> > noauto,users,rsize=8192,wsize=8192,timeo=14,intr  0  0
> >        ^^^^^
> 
> Don't forget you also must have portmap, nfsd and rstatd running on the
> server, and (at least) portmap on the client.
> ----------------------------------------------------------------------
> - Rick Stevens, Senior Systems Engineer     rstevens@xxxxxxxxxxxxxxx 
> - - VitalStream, Inc.                      
>  http://www.vitalstream.com - -                                      
>                               - -    Working with Linux is like 
> wrestling with a worthy opponent.    - -   Working with Windows is 
> like picking on an annoyed child with a  - -                         
>    loaded handgun.                         -
> ----------------------------------------------------------------------

I'd like to thank all those who replied. This has helped me alot. Again
Thanks. It make much more sense now.

Wolf
--
Open WebMail Project (http://openwebmail.org)



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux