David,

Thank you for your help.  Yours is the first intelligent response we have got.

On 02-Apr-02 [EMAIL PROTECTED] wrote:
> Welcome to NFS.  We can't believe it works at all.  ;-)
> 
>>The first try I did
>>
>>[root]# mount -o rsize=1024,wsize=1024 valencia:/home/jna/mnt/valencia
>>mount: RPC: Unable to receive; errno = Connection refused
> 
> Make sure portmap is running on both the client and the server.
>

Portmap is running on both client and server.  We see it in top and remember we
can mount zaragoza directories at valencia mount points.  This is the reverse
of what is not working.
 
>>[root]# mount -o rsize=1024,wsize=1024 valencia:/home/jna/mnt/valencia
>>mount: valencia:/home/jna failed, reason given by server: Permission denied
> 
> If you've modified /etc/exports, make sure you 'exportfs -a'.  What's
> the output of exportfs (with no arguments) on the server?
> 

[root@valencia jna]# exportfs
/home/jna       zaragoza.andante.mn.org   

which looks correct yet every time we attempt a mount from the client we see
this entry in the server's /var/log/messages:

Apr  2 09:56:08 valencia mountd[647]: refused mount request from
zaragoza.andante.mn.org for /home/jna (/): no export entry

Could this have anything to do with trying to mount 6.2 directories on a 7.1
system?

########################################################################
####################### Original Question ##############################
Ok list,

I need some help.

I have a laptop running RedHat 6.2.  I am trying to mount directories via NFS.
Now I do not want to do this if the laptop is not on my local LAN, so I am not
starting NFS in my boot scripts.  I am starting it manually.  The tower onto
which I am mounting the laptop directory is running RedHat 7.1.  The laptop is
valencia, the tower is zaragoza.

Ok first here is my /etc/exports
##############################################################################
/home/jna zaragoza.andante.mn.org(rw,no_root_squash)
##############################################################################

The first try I did
 
[root]# mount -o rsize=1024,wsize=1024 valencia:/home/jna/Ok list,

I need some help.

I have a laptop running RedHat 6.2.  I am trying to mount directories via NFS.
Now I do not want to do this if the laptop is not on my local LAN, so I am not
starting NFS in my boot scripts.  I am starting it manually.  The tower onto
which I am mounting the laptop directory is running RedHat 7.1.  The laptop is
valencia, the tower is zaragoza.

Ok first here is my /etc/exports
##############################################################################
/home/jna zaragoza.andante.mn.org(rw,no_root_squash)
##############################################################################

The first try I did
 
[root]# mount -o rsize=1024,wsize=1024 valencia:/home/jna/mnt/valencia
mount: RPC: Unable to receive; errno = Connection refused

at that point I realized that I was not starting NFS on the laptop so I did

[root@valencia jna]# /usr/sbin/rpc.mountd
[root@valencia jna]# /usr/sbin/rpc.nfsd

now I get

[root]# mount -o rsize=1024,wsize=1024 valencia:/home/jna/mnt/valencia
mount: valencia:/home/jna failed, reason given by server: Permission denied

what permissions are we talking about????  The permissions on the mount point
are 777.  The permissions on valencia:/home/jna are standard 755.  I mount in
the reverse zaragoza to valencia just fine with the same permissions.

What am I missing
All comments welcome.
mnt/valencia
mount: RPC: Unable to receive; errno = Connection refused

at that point I realized that I was not starting NFS on the laptop so I did

[root@valencia jna]# /usr/sbin/rpc.mountd
[root@valencia jna]# /usr/sbin/rpc.nfsd

now I get

[root]# mount -o rsize=1024,wsize=1024 valencia:/home/jna /mnt/valencia
mount: valencia:/home/jna failed, reason given by server: Permission denied

what permissions are we talking about????  The permissions on the mount point
are 777.  The permissions on valencia:/home/jna are standard 755.  I mount in
the reverse zaragoza to valencia just fine with the same permissions.

What am I missing
All comments welcome.

########################################################################
                
------------------------------------
John N. Alegre                   o
Andante Systems               o
eCommerce Consulting       o
Custom Web Development <*{{{{}><
------------------------------------ 
E-Mail: [EMAIL PROTECTED]
Date: 02-Apr-02
Time: 13:59:28
------------------------------------



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to