Re: [CentOS] [Fwd: Re: Getting started with NFS]
On Sat, 04 Jul 2009 10:48:37 +0200 Niki Kovacs wrote: Any idea what might go wrong here? firewall problem? Try disabling your firewall and see if it works. If it does, then here is my note about how to do make NFS work through a firewall. HOW TO SET UP A FIREWALL THAT ALLOWS NFS Create the file /etc/sysconfig/nfs and add the following contents: STATD_PORT=4001 LOCKD_TCPPORT=4002 LOCKD_UDPPORT=4002 MOUNTD_PORT=4003 Append the following to the file /etc/services: rquotad 4004/tcp # rpc.rquotad tcp port rquotad 4004/udp # rpc.rquotad udp port Restart the nfs services From there, open these ports - 111:tcp, 111:udp, 2049:tcp, 2049:udp, 4001:tcp, 4001:udp, 4002:tcp, 4002:udp, 4003:tcp, 4003:udp, 4004:tcp, 4004:udp -- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [Fwd: Re: Getting started with NFS]
Niki Kovacs wrote: Subject: Re: [CentOS] Getting started with NFS From: Niki Kovacs cont...@kikinovak.net Date: Sat, 04 Jul 2009 10:33:31 +0200 To: Frank Cox thea...@sasktel.net To: Frank Cox thea...@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: [r...@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 begin:vcard fn:Rob Kampen n:Kampen;Rob email;internet:rkam...@kampensonline.com tel;work:407-896-9556 x6344 tel;fax:407-896-7607 tel;home:407-876-4854 tel;cell:407-341-3815 version:2.1 end:vcard ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [Fwd: Re: Getting started with NFS]
Thanks everybody for the detailed hints and answers, on the list as well as offlist. I got myself a second sandbox PC today, and I just installed two vanilla CentOS 5.3 systems on them. It'll be much easier to figure out the innards of NFS without the constantly nagging fear of breaking something on my production PCs. I'll eventually keep posting follow-ups to my investigations. cheers, Niki ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [Fwd: Re: Getting started with NFS]
On Sat, Jul 4, 2009 at 9:47 PM, Niki Kovacscont...@kikinovak.net wrote: Thanks everybody for the detailed hints and answers, on the list as well as offlist. I got myself a second sandbox PC today, and I just installed two vanilla CentOS 5.3 systems on them. It'll be much easier to figure out the innards of NFS without the constantly nagging fear of breaking something on my production PCs. I'll eventually keep posting follow-ups to my investigations. cheers, Niki ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos This is a circumstance where virtualization would help. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos