[CentOS] [Fwd: Re: Getting started with NFS]

Sat Jul 4 20:26:13 UTC 2009
Rob Kampen <rkampen at kampensonline.com>

Niki Kovacs wrote:
>
> ------------------------------------------------------------------------
>
> Subject:
> Re: [CentOS] Getting started with NFS
> From:
> Niki Kovacs <contact at kikinovak.net>
> Date:
> Sat, 04 Jul 2009 10:33:31 +0200
> To:
> Frank Cox <theatre at sasktel.net>
>
> To:
> Frank Cox <theatre at 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 at 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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rkampen.vcf
Type: text/x-vcard
Size: 196 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20090704/68fd4697/attachment-0005.vcf>