Niki Kovacs wrote:
Subject: Re: [CentOS] Getting started with NFS From: Niki Kovacs contact@kikinovak.net Date: Sat, 04 Jul 2009 10:33:31 +0200 To: Frank Cox theatre@sasktel.net
To: Frank Cox theatre@sasktel.net
Frank Cox a écrit :
There isn't much to setting up a simple NFS fileserver and client mount. Set up /etc/exports on the server (this assumes your client is 192.168.0.3)
/whatever/where-ever/ 192.168.0.3(rw)
Start the nfs service. Create a mount point on the client
"mkdir /mnt/fileserver"
then mount the fileserver there. "mount fileserver:/whatever/where-ever/ /mnt/fileserver"
That's about exactly what I did. I setup the NFS server on machine 'raymonde' (192.168.1.4) on my local network. Then when I do this from another machine:
[root@lifebook ~]# mount raymonde:/data /home/shares
Nothing happens for about a minute or so, and then I get the following error:
mount.nfs: Input/output error
Which leaves me clueless.
Any idea what might go wrong here?
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Niki, nfs v2 and v3 are fairly simple, however I have not yet managed v4 as it seem to need kerberos and individual user authentication rather than machine authentication as do v2 & v3. If you use a firewall on your server, you will need to set up permanent ports for the various services that nfs uses. check out /etc/sysconfig/nfs rpcinfo -p will show you what is running and what version and ports - very useful!! HTH Rob