On 23 October 2011 23:11, Gerhard Magnus <magnus@xxxxxxxxxxxxxxx> wrote: > I can ping (and ssh) the server from the client. > When I restart nfs and nfslock on the server I get this in the > server /var/log/messages: > PuteF kernel: [25572.902466] NFSD: Using /var/lib/nfs/v4recovery as the > NFSv4 state recovery directory > PuteF kernel: [25572.902504] NFSD: starting 90-second grace period > PuteF rpc.mountd[8699]: Version 1.2.4 starting > But on the client, mount /home/magnusg/Music returns: > mount.nfs: access denied by server while mounting > 192.168.1.14:/home/magnusg/Music > > ------------------------------- > > Restating the problem from yesterday: > > On the server, running FC15 (192.168.1.14): > (1) My /etc/exports file looks like this: > /home/magnusg/Music 192.168.1.12,192.168.1.13(rw,insecure,sync,nohide) > (2) Using the system-config-nfs "General Options tab" I have "Allow > connections from port 1024 and higher" checked. > (3) I have services nfs and nfslock running on levels 3,4,5. > (4) In /etc/sysconfig/nfs I've set these ports: > RQUOTAD_PORT=4000 > LOCKD_TCPPORT=4001 > LOCKD_UDPPORT=4001 > MOUNTD_PORT=4002 > STATD_PORT=4003 > (5) In the firewall I have these ports open: > NFSV4 2049 (tcp) > 4000-4003 (tcp and udp) > 111 (tcp and udp) > > on the client, running FC13 (192.168.1.13): > (1) I added this to /etc/fstab: > 192.168.1.14:/home/magnusg/Music /home/magnusg/Music nfs > rw,auto,hard,intr,bg 0 0 > (2) Services netfs, nfslock and rpcbind are running on levels 3,4,5. > netfs or nfs? netfs is client rc script to mount fstabs network fs mounts (nfs, smb, ....) nfs is rc script for nfs server. I'm not sure if F13 have nfsv4. try to set mountd_nfs_v3="yes" in /etc/sysconfig/nfs file. what is return rpcinfo -p (nfs_server) from client comp? what is the status of selinux on server and client? try with: # setenforce 0 # service iptables stop on client and server and try to mount nfs share. > When I boot the client and get to the "Mounting NFS filesystems" section > I don't get error messages -- but I do see this: > mount.nfs: backgrounding 192.168.1.14:/home/magnusg/Music > : mount options > "hard,intr,bg,vers=4,addr=192.168.1.14,clientaddr=192.168.1.13 > /home/magnusg/Music remains unmounted > > > -- > users mailing list > users@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe or change subscription options: > https://admin.fedoraproject.org/mailman/listinfo/users > Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines > -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines