1830888 Members
1494 Online
110017 Solutions
New Discussion

NFS

 

NFS

I have a files system to export to n server (in /etc/exportfs)
/var/opt/ignite/nfs_dir anon=2,root=server1:server2:server3

I can mount the file systems in all servers, but when I used the comand find, I had the next error:

find: cannot search /var/opt/ignite/nfs_dir/home/carlos.txt

And some times I can write there, but in other I can't write.

Thanks!
17 REPLIES 17
Alan Meyer_4
Respected Contributor

Re: NFS

try this

/var/opt/ignite/nfs_dir anon=2,root=server1:server2:server3,access=server1:server2:server3

-a
" I may not be certified, but I am certifiable... "

Re: NFS

-a ???
Alan Meyer_4
Respected Contributor

Re: NFS

sorry...

-a is my signature...

-a
" I may not be certified, but I am certifiable... "

Re: NFS

I have the same problem,I can export the file system in server1, and I mounted the file system in server2, but I can create a file there.

my exportfs file is:
/var/opt/ignite/nfs_dir -anon=2,root=server2,access=server2

What can I do ??
Thanks
Alan Meyer_4
Respected Contributor

Re: NFS

what are the directory protection settings on server1 and how do they show up on server2?
" I may not be certified, but I am certifiable... "

Re: NFS

ok, in server1 I have the follow:
775 (rwxrwxrw_)for /var/opt/ignite/nfs_dir, and in server2 saw the same 775, but I can't write in server2.
baiju_3
Esteemed Contributor

Re: NFS

Hi,

Also check the permissions of the directory on the NFS client before mounting.

Thanks ,
BL.
Good things Just Got better (Plz,not stolen from advertisement -:) )
Alan Meyer_4
Respected Contributor

Re: NFS

also, did you re-export the /etc/exports settings after you changed them by issuing a exportfs -a command?
" I may not be certified, but I am certifiable... "

Re: NFS

yes I did.

Have the same permission
Alan Meyer_4
Respected Contributor

Re: NFS

are the prot 775 (rwx rwx r x) or 776 (rwx rwx rw )

also is the user the owner of the directory or in the group???
" I may not be certified, but I am certifiable... "

Re: NFS

sorry, is 775 (rwxrwxr_x) and the owner and group is root
Alan Meyer_4
Respected Contributor

Re: NFS

and what is the user/group of the person who is trying to write the file?
" I may not be certified, but I am certifiable... "

Re: NFS

Is root
Alan Meyer_4
Respected Contributor

Re: NFS

Can you create files as root on server1?
" I may not be certified, but I am certifiable... "

Re: NFS

yes, in server1 I can create files and directories, but in server2 I can't
Alan Meyer_4
Respected Contributor

Re: NFS

well, I am sorry, I must be honest and admit I've run out of answers...
" I may not be certified, but I am certifiable... "

Re: NFS

Ok, thanks!!!