1752808 Members
6171 Online
108789 Solutions
New Discussion юеВ

Re: NFS issue

 
SOLVED
Go to solution
ani007
Super Advisor

NFS issue

Hi,
not able to create any file on nfs client server.

NFS server :-
abc40;I want to share /recovery directory
edit /etc/exports
#abc40:root [/root] cat /etc/exports
/recovery
abc40:root [/root]

NFS client :-
abc43,
I am able to mount the directory.
#mount -F nfs abc40:/recovery /recovery

Now the problem is i am able to mount the directory. but when i am trying to create any file under /recovery on abc43 it shows the following error

abc43:root [/recovery] touch abc
touch: abc cannot create
abc43:root [/recovery]
Please help me.
Regards,
Ani
4 REPLIES 4
Dennis Handly
Acclaimed Contributor

Re: NFS issue

>I am trying to create any file under /recovery on abc43 it shows the following error

Who are you? Use id(1). If you are root, have you exported it with root as root, or root is less than dirt, the default?
What are the permissions and ownership of /recovery?
I assume you know you must have the same UID/GID on both NFS server and client?
singh sanjeev
Trusted Contributor

Re: NFS issue

edit your exports file with permission:

#vi /etc/exports

/recovery -F nfs -o rw=abc43


then export the file system
#exportfs -av

what is the version of your os??

Sanjeev Singh
Dennis Handly
Acclaimed Contributor
Solution

Re: NFS issue

>singh: /recovery -F nfs -o rw=abc43

If you want root as root, you need: -o root=abc43
ani007
Super Advisor

Re: NFS issue

Thank you every one.
Dennis,thank you.. as per your suggation I did ": -o root=abc43" & problem fixed.