NFS mounts only work in one direction

NFS mounts only work in one direction

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



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

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".

 
 
 

1. NFS mounts only work one direction

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

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. ati-tv tuner

3. can mount nfs one direction, but not another

4. VIA chipset

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

6. installing ghostscript as filter in /etc/printcap

7. Samba works - in one direction

8. Mouse with a mind of its own

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