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

Reply via email to