|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS) |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
I have installed openSUSE 11 on mine server (name: srv), migrated also NFS server content. The server configuration has been performed using YaST and is: - no NFS v4 - export is configured - Directory: /home/nfs/public - Host Wild Card: *empty* - options: rw,root_squash,sync The client is running openSUSE 10.3 and the NFS is also configured using YaST: - Server: srv - Remote file system: /home/nfs/public - Mount point: /nfs/public - Options: defaults The NFS is mounted ok. The users and groups are synchronized, means the UID and GID has the same meaning on both servers. I can read from the NFS but can't delete or write new file. The command l on directory /nfs/public: Code:
drwxrwxr-x 10 root users 4096 2008-08-23 12:39 ./ drwxr-xr-x 7 root root 4096 2008-05-06 09:58 ../ -rw-rw-r-- 1 jmares users 9022 2007-06-25 23:40 icon.xpm rm: cannot remove `icon.xpm': Permission denied and command: echo a > a.txt bash: a.txt: Permission denied I think the configuration is okay ... Thanks a lot for any help. Jirka |
|
|||
|
I am having similar troubles, and it does not matter if the client is 10.3 or 11.0. I configured the client using yast without the "NFSv4 Share" option. When I cd into the mount:
Code:
> touch test touch: cannot touch `test': Read-only file system Code:
192.168.7.1:/home /server1 nfs defaults 0 0 Code:
/home (rw,root_squash,sync,no_subtree_check) On a side note, whenever I select the "NFSv4 Share" client option, I get a "Error Unable to mount the NFS entries from /etc/fstab." message. Disabling NFSv4 on the server side (in Yast) did not help. On my 10.3 server, I can export /home and the 10.3 and 11.0 clients have no troubles reading an writing to the share. Any help would be greatly appreciated. I have been trying every permutation that I can think of. |
|
|||
|
This problem could be because "root" owns the directory. Did you export with "no_root_squash" (if that was desired)?
|
|
|||
|
Hi,
I tried no_root_splash but no change. Then I tried change the owner from root to jmares and still no change. I missed mension that I'm trying it as user jmares. Jirka |
|
|||
|
NFS can be a little difficult. I've recently completed a few NFS3 and NFS4 configurations for RHEL 5, openSUSE, and Mandriva.
NFS3 is difficult because of firewall issues. NFS3 requires a handful of ports that change each time the service is restarted. Each distribution is different in the means to lock ports. I've had troubles with RHEL 5 and lockd timeouts. I could not determine cause and used NFS4. NFS4's firewall is easier because it requires only two ports: portmap and nfs. However, with NFS4, you need
However, since your mount completes, do the following:
|
|
|||
|
Hi, thank for your help:
So I enabled NFS v4 on server. Created one root export, eg. /home/nfs with fsid=0 and it contains other 3 exports where one of them is /home/nfs/public. In /etc/idmapd.conf is specified domain. I think I use kernel daemon, but don't know howto check. the command "exportfs -e" is not working for me (no exportfs binary available). On client "showmount -e server" shows: Export list for server: /home/nfs <anon clnt> .. /home/nfs/public <anon clnt> and "cat /proc/mounts" contains: .. ids:/home/nfs/public /nfs/public nfs rw,vers=2,rsize=8192,wsize=8192,hard,proto=tcp,tim eo=600,retrans=2,sec=sys,addr=ids 0 0 .. The server root directory /home/nfs is not mounted on client. I think everything looks ok, but there is file (i'm user jmares in group users): from server: l /home/nfs/public/icon.xpm -rw-rw-r-- 1 jmares users 9022 2007-06-25 23:40 /home/nfs/public/icon.xpm from client: l /nfs/public/icon.xpm -rw-rw-r-- 1 jmares users 9022 2007-06-25 23:40 /nfs/public/icon.xpm and touch /nfs/public/icon.xpm touch: setting times of `/nfs/public/icon.xpm': Permission denied Jirka |
![]() |
| Bookmarks |
| Tags |
| nfs |
| Thread Tools | |
| Display Modes | |
|
|