Can NFS mount an NFS again?!

Can NFS mount an NFS again?!

Post by Anusch Daem » Thu, 12 Apr 2001 23:02:05



Hi

I want to know if NFS mounted directorys can be mounted again by NFS?!

I have the following network-setup:
NFS-Server on network 183.14.12.100 exports /home
Some Clients on it (which work perfect)
One other "NFS-Server" with NetworkInterface0 at 183.14.12.110
and the other at 192.168.0.1 and e.g. /home mounted  via NFS(works perectly)

Now, if I want to mount /home from 192.168.0.10 e.g. via NFS it says:
Permission denied.

in /etc/exports
are on both servers the two networks inserted (183.14.12.0/255.255.255.0 &
192.168.0.0/255.255.255.0)

Also, hosts.allow & hosts.deny are setup, that these two are safe?!

Any thought on it or is it not working anyways?!

Thnx*ch
--

 
 
 

Can NFS mount an NFS again?!

Post by Dean Thompso » Fri, 13 Apr 2001 00:19:14


Hi!,

Quote:> I want to know if NFS mounted directorys can be mounted again by NFS?!

Yes, they can.  As long as your nfs server is up and running, you can nfs
mount off it to as many clients as you want (or I should say, that many
clients can NFS off a single server without any problems)

Quote:

> I have the following network-setup:
> NFS-Server on network 183.14.12.100 exports /home
> Some Clients on it (which work perfect)
> One other "NFS-Server" with NetworkInterface0 at 183.14.12.110
> and the other at 192.168.0.1 and e.g. /home mounted  via NFS(works
> perectly)

> Now, if I want to mount /home from 192.168.0.10 e.g. via NFS it says:
> Permission denied.

> in /etc/exports
> are on both servers the two networks inserted (183.14.12.0/255.255.255.0 &
> 192.168.0.0/255.255.255.0)

Okay, the first thing to check is that the /etc/exports file has actually been
exported with the command "exportfs" so that it knows what is going on.  You
might like to check the /var/log/messages to see whether there are any
interesting errors occuring there.  Is it possible to mount the /home
directory on 192.168.0.10 when no one else is actually NFS mounting ?

You might like to check the /etc/exports file and just make sure that the
syntax is correct as well.  Failing that, try a restart of the nfs server and
see if that makes a difference (I have seen some strange things happen where
the server doesn't always know that the /etc/exports file has been changed,
even after a "exportfs" command has been issued).

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

 
 
 

Can NFS mount an NFS again?!

Post by James E. Hick » Fri, 13 Apr 2001 02:08:22


Most NFS implementations follow the spec and do not allow the
reexporting of NFS mounted drives.
The reason for this is security. NFS access can be by user or host name.
If an authenticated user reexports the file system to
without the proper permissions, the security policy has just been
compromised.
RedHat 5.x was broken and allowed reexporting, I am not sure if any
other linux versions are still broken.
--
Jim Hicks
EriQa Labs Inc.
2105 Denton Drive
Austin, TX
(512)680-8394
 
 
 

1. /var/mail: to NFS mount or not to NFS mount?

... that is the question.

Assuming a homogenous Sun/Solaris environment, what are
people's opinions of NFS mounting /var/mail on workstations,
as opposed to using IMAP to read one's email.  Assume that
all workstations are on the same LAN.

How scalable is either solution?

TIA,

--
Rich Teer

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-online.net

2. SAMBA and SOLARIS 7

3. nfs mount to a nfs mount fails

4. Netscape w/ Term

5. nfs mount problem: mount: can't get address for nfs-server.kauai

6. KDE

7. Frequency of NFS lock problems w/ NFS mounted mail spool

8. Kmail crashing

9. linux NFS server problem - can't ls in the NFS mounted directory.

10. HACMP NFS cluster and stale NFS mounts

11. NFS backup auto mount on client when NFS server fail...!

12. trouble mount nfs share from linux nfs server, protocol not supported

13. nfs clients don't see other mounts under nfs export