NFS Read/Write ?

NFS Read/Write ?

Post by Martini Roberto 259317/I » Thu, 25 Sep 1997 04:00:00



Hello All,
           I've some problem with the NFS.
I think I have well (?) configured the EXPORTS file
example :
/tmp1  remote(rw)

to allow NFS mounting of /tmp1 on the "remote" remote station with
Read/Write permission.

When I do the mounting the system tell me it mount the /tmp1
as read/write filesystem but when I attempt to write to it a
Permission Denied Message appair and obviusly the writing abort.

I'm dealing with the old 1.2.13 version of the kernel , I've
done all as ROOT of both systems ,... not enought experience ?

May someone help me ?

Thanks a lot !

               Roberto.

 
 
 

NFS Read/Write ?

Post by Detlef Beckman » Fri, 26 Sep 1997 04:00:00



> Hello All,
>            I've some problem with the NFS.
> I think I have well (?) configured the EXPORTS file
> example :
> /tmp1  remote(rw)

> to allow NFS mounting of /tmp1 on the "remote" remote station with
> Read/Write permission.

> When I do the mounting the system tell me it mount the /tmp1
> as read/write filesystem but when I attempt to write to it a
> Permission Denied Message appair and obviusly the writing abort.

> I'm dealing with the old 1.2.13 version of the kernel , I've
> done all as ROOT of both systems ,... not enought experience ?

> May someone help me ?

> Thanks a lot !

>                Roberto.

As you can mount the filesystems, I assume you have restarted
nfsd/mountd on the server machine to get /etc/exports re-read. However,
you should note that the nfsd by default maps accesses by user root
from the client to user nobody on the server machine (security reasons).
If you ***really*** want it, you can use
/tmp1  remote(rw,no_root_squash)
which will disable the mapping (at least this is true for more recent
versions of nfsd, I don't know about earlier ones).

Hope that helps,
   Detlef

 
 
 

1. RedHat 5.2 NFS read-write problems

I have recently installed RedHat 5.2 and I'm having NFS read-write
problems.   In my /etc/exports file I have:

/home (rw,map_static=/etc/nfs/aix.map)

In my  /etc/hosts.allow file I have:

rpc.mountd: ALL

RedHat is able to NFS export the filesystem okay:

Apr 14 12:37:19 act5 mountd[1383]: /home/gk4 has been mounted by
9.3.230.209
Apr 14 12:42:08 act5 mountd[1447]: exports file has anon entries, but
host
Apr 14 12:42:08 act5 mountd[1447]: has non-private IP address
9.3.230.214!
Apr 14 12:42:08 act5 nfsd[1456]: exports file has anon entries, but host

Apr 14 12:42:08 act5 nfsd[1456]: has non-private IP address 9.3.230.214!

Apr 14 12:42:23 act5 mountd[1447]: NFS mount of /home/gk4 attempted from
9.3.230.209

AIX 4.3.1 is able to NFS mount from RedHat 5.2 fine and the uid/gid seem
to get mapped okay; however, I am unable to create file in my home
account unless the directory is 777.  But when I create files they are
created with some really big uid/gid (ie., 65000).  NFS does not seem to
know who I am, yet the uid/gid on the files seem okay.

Any clues?

George

2. Install gcc + glibc

3. NFS read/write/file Owner from SCO

4. kernel

5. Mounting NFS read/write

6. PPP as client not forwarding packets

7. Drop reliance on file->f_dentry in NFS reads/writes

8. moving /usr

9. NFS READ/WRITE SIZE--HOW TO SET???

10. Lift the 256 outstanding NFS read/write request limit.

11. Remove BKL from NFS read/write code + SunRPC...

12. Mounting NFS read/write

13. NFS fs read-only when mounted read-write