[Novalug] How do you do NFS ??

Jon LaBadie novalugml@jgcomp.com
Thu Aug 8 14:35:31 EDT 2013


Just from looking at the nfs manpage you might want to look at the
sync mount option (greater consistancy, lower performance) and
the noac option.

Jon

On Thu, Aug 08, 2013 at 08:43:57AM -0400, Miles D. Oliver wrote:
> I'm looking for some opinions on optimizing an NFS configuration on a RHEL
> 5 environment.
> 
> I'm currently fighting an issue where I have a single NFS server and about
> 30 clients and 4 exported directories.
> 
> Of the exported directories there are many small files that are updated
> frequently and I'm having issues with complaints of inconsistent data
> between NFS clients.
> 
> The complaints are that NFS client 1 copies 5 files to /share and then NFS
> client 2 goes to access one of the files the complaint is that the file
> doesn't exist.   A look on the NFS server and indeed the file is there.
>  You try and find the file on NFS Client 3 or 4 and its hit or miss if the
> file can be found.
> 
> After a period of time (about a minute) the file is eventually seen on NFS
> client 2 but not in a timely fashion, at least to the expectations of the
> customer. The expectation is that once the file is copied from NFS client 1
> it should immediately be available from NFS client 2 or the others.
> 
> All the NFS mount parameters, (not setup by me) atimeo=30 and r/wsize=32768
> and thats about it.
> 
> I'm beginning to question if the NFS configuration settings in
> /etc/sysconfig/nfs are optimal on the NFS server and clients. the NFS
> server config has fixed ports defined but they are dynamic on the clients,
> /etc/sysconfig/nfs is essentially default on the NFS clients. There are 32
> NFS server processes.  RPCNFSDCOUNT=32
> 
> I inherited this configuration and have a case open with Red Hat. We've
> sent them numerous TCP dumps and so far we've not gotten closer with a
> consistent environment and I wanted to go back to square one in my
> investigation to ensure that we're not starting with a broken configuration
> in trying to diagnose this problem.
> 
> I'm curious about any others on the list who have similar NFS environments
> with a lot of NFS clients and have experienced the same kind of file
> inconsistencies and how you approached the problem.

> _______________________________________________
> Novalug mailing list
> Novalug@calypso.tux.org
> http://calypso.tux.org/mailman/listinfo/novalug

>>> End of included message <<<

-- 
Jon H. LaBadie                  novalugml@jgcomp.com
 11226 South Shore Rd		(703) 787-0688 (H)
 Reston, VA  20190		(609) 477-8330 (C)



More information about the Novalug mailing list