NFS mounts only work one direction

NFS mounts only work one direction

Post by Bob Woodwar » Tue, 22 Oct 1996 04:00:00



I've finally convinced 'corporate' that it's a GOOD thing to set up
Linux machines to solve some of the 'little' problems we have. (First
step!)  

What I'm dealing with is I've just setup the latest version of Slackware
(from sunsite.unc.edu) on a 486 and have been able to connect to our
network. I can do an nfs mount of any of the shared drives on the other
servers of the network ONTO the Linux box. These volumes are shared
between many of them.

I can not, however, mount volumes of the Linux box onto any of the other
machines.  I've tried on a Sun Sparc-20 using Solaris 2.5 and a Data
General running DG/UX.  The DG only reports "error" and the sun
reports "RPC: Timed out".  Both of them then go into a continuous retry
routine.

The volumes I'm trying to share are mounted on the Linux box as /work1
and /work2.  I've put entries in the hosts, hosts.allow, and hosts.equiv
files for the servers that I'm wanting to give access to.
In the exports files I've put in the entries:

/work1  foo(rw,no_root_squash) bar(rw,no_root_squash)
/work2  foo(rw,no_root_squash) bar(rw,no_root_squash)

The fstab entries on the Linux system for these two volumes are:

/dev/hdb1    /work1     ext2      defaults     1    1
/dev/hdb2    /work2     ext2      defaults     1    1

The vfstab entries on the sun are:

linuxfs:/work1   -   /linuxfs/work1   nfs    -    yes   rw
linuxfs:/work2   -   /linuxfs/work2   nfs    -    yes   rw

Quote:>From the sun, the commands that I've tried are:

mount /linuxfs/work1
mount -F nfs -o rsize=1024,wsize=1024 linuxfs:/work1 /linuxfs/work1

Anybody have any idea of what I've done wrong or where to go from here?
I'm also hoping to simplify the line to put multiple servers with the
same rw/no_root_squash options.  Can I just put something like the
following?

/work1   foo,bar(rw,no_root_squash)
/work2   foo,bar(rw,no_root_squash)

Thanks in advanced.
--
####################################################################

Data Processing Department

Visit our Web Site to learn how to get your pictures downloaded to you
via the Internet!  Point your browser to "http://www.filmworks.com".

 
 
 

NFS mounts only work one direction

Post by Scott K. Ell » Wed, 23 Oct 1996 04:00:00


: I can not, however, mount volumes of the Linux box onto any of the other
: machines.  I've tried on a Sun Sparc-20 using Solaris 2.5 and a Data
: General running DG/UX.  The DG only reports "error" and the sun
: reports "RPC: Timed out".  Both of them then go into a continuous retry
: routine.

Are you sure you're running rpc.nfsd and rpc.mountd?  Some distributions
come with them disabled by default.  Check your rc.net* scripts.

 
 
 

NFS mounts only work one direction

Post by Bob Woodwar » Wed, 23 Oct 1996 04:00:00




> : I can not, however, mount volumes of the Linux box onto any of the other
> : machines.  I've tried on a Sun Sparc-20 using Solaris 2.5 and a Data
> : General running DG/UX.  The DG only reports "error" and the sun
> : reports "RPC: Timed out".  Both of them then go into a continuous retry
> : routine.

> Are you sure you're running rpc.nfsd and rpc.mountd?  Some distributions
> come with them disabled by default.  Check your rc.net* scripts.Yep.  From 'ps -ef |grep rpc' I get back:

 6546  p1 S     0:00          \_ grep rpc LESSOPEN=|lesspipe.sh %s ignoreeof=10
   91  ?  S     0:01 /usr/sbin/rpc.mountd INIT_VERSION=sysvinit-2.62 TERM=linux
   94  ?  S     0:01 /usr/sbin/rpc.nfsd INIT_VERSION=sysvinit-2.62 TERM=linux HO

Kind of messy display compaired to how the sun displays but it shows the important
information.  Any and all other comments are STRONGLY encouraged!  :-)
--
####################################################################

Data Processing Department

Visit our Web Site to learn how to get your pictures downloaded to you
via the Internet!  Point your browser to "http://www.filmworks.com".

 
 
 

NFS mounts only work one direction

Post by Yuan Chan » Thu, 24 Oct 1996 04:00:00



>Yep.  From 'ps -ef |grep rpc' I get back:

>  6546  p1 S     0:00          \_ grep rpc LESSOPEN=|lesspipe.sh %s ignoreeof=10
>    91  ?  S     0:01 /usr/sbin/rpc.mountd INIT_VERSION=sysvinit-2.62 TERM=linux
>    94  ?  S     0:01 /usr/sbin/rpc.nfsd INIT_VERSION=sysvinit-2.62 TERM=linux HO

How about "rpcinfo -p".  I have an NFS partition exported from Linux and
mounted on a SparcStation (Sol 2.5).  So it's workable.
-----
Yuan Chang
Product Specialist
THESE Co., Ltd.  Taiwan

 
 
 

NFS mounts only work one direction

Post by Bob Woodwar » Thu, 24 Oct 1996 04:00:00




> >Yep.  From 'ps -ef |grep rpc' I get back:

> >  6546  p1 S     0:00          \_ grep rpc LESSOPEN=|lesspipe.sh %s ignoreeof=10
> >    91  ?  S     0:01 /usr/sbin/rpc.mountd INIT_VERSION=sysvinit-2.62 TERM=linux
> >    94  ?  S     0:01 /usr/sbin/rpc.nfsd INIT_VERSION=sysvinit-2.62 TERM=linux HO

> How about "rpcinfo -p".  I have an NFS partition exported from Linux and
> mounted on a SparcStation (Sol 2.5).  So it's workable.
> -----

rpcinfo -p results in:
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100003    2   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100005    1   udp    809  mountd
    100005    1   tcp    811  mountd

I'm beginning to think maybe something is wrong with DNS on the sun to cause the RPC timeouts.  Is that a possibility?  The sun is where I have
the resolv.conf entry for nameserver pointing to.
--
####################################################################

Data Processing Department

Visit our Web Site to learn how to get your pictures downloaded to you
via the Internet!  Point your browser to "http://www.filmworks.com".

 
 
 

1. NFS mounts only work in one direction

I posted this over in the network newsgroup but didn't get too much
response there.

I've finally convinced 'corporate' that it's a GOOD thing to set up
Linux machines to solve some of the 'little' problems we have. (First
step!)

What I'm dealing with is I've just setup the latest version of Slackware
(from sunsite.unc.edu) on a 486 and have been able to connect to our
network. I can do an nfs mount of any of the shared drives on the other
servers of the network ONTO the Linux box. These volumes are shared
between many of them.

I can not, however, mount volumes of the Linux box onto any of the other
machines.  I've tried on a Sun Sparc-20 using Solaris 2.5 and a Data
General running DG/UX.  The DG only reports "error" and the sun reports
"RPC: Timed out".  Both of them then go into a continuous retry routine.

The volumes I'm trying to share are mounted on the Linux box as /work1
and /work2.  I've put entries in the hosts, hosts.allow, and hosts.equiv
files for the servers that I'm wanting to give access to.

In the exports file I've put in the entries:

/work1  foo(rw,no_root_squash) bar(rw,no_root_squash)
/work2  foo(rw,no_root_squash) bar(rw,no_root_squash)

The fstab entries on the Linux system for these two volumes are:

/dev/hdb1    /work1     ext2      defaults     1    1
/dev/hdb2    /work2     ext2      defaults     1    1

The vfstab entries on the sun are:

linuxfs:/work1   -   /linuxfs/work1   nfs    -    yes   rw
linuxfs:/work2   -   /linuxfs/work2   nfs    -    yes   rw

mount /linuxfs/work1
mount -F nfs -o rsize=1024,wsize=1024 linuxfs:/work1 /linuxfs/work1

Anybody have any idea of what I've done wrong or where to go from here?
I'm also hoping to simplify the line to put multiple servers with the
same rw/no_root_squash options.  Can I just put something like the
following?

/work1   foo,bar(rw,no_root_squash)
/work2   foo,bar(rw,no_root_squash)

Thanks in advanced.
--
####################################################################

Data Processing Department

Visit our Web Site to learn how to get your pictures downloaded to you
via the Internet!  Point your browser to "http://www.filmworks.com".

2. CDU33a problems after install

3. can mount nfs one direction, but not another

4. Cron jobs quit working after date change

5. NFS mount won't mount at boot, but mount -a works fine.

6. X11 3.1.2 and a 386dx40

7. Samba works - in one direction

8. X server tcp related errors

9. NFS cant mount from one network, mounts from another fine???

10. IP forwarding working in one direction only !?

11. Host to host NIC bonding works only in one direction

12. PPP works only in one direction

13. ssh works one direction and not the other