[mythtv-users] mythtv + nfs = bad?

Alex Pearson alex at apics.co.uk
Sat May 9 18:27:50 UTC 2009


mythtv-users-bounces at mythtv.org wrote on 09/05/2009 19:56:46:

> From:
> 
> David Brodbeck <gull at gull.us>
> 
> To:
> 
> Discussion about mythtv <mythtv-users at mythtv.org>
> 
> Date:
> 
> 09/05/2009 19:15
> 
> Subject:
> 
> Re: [mythtv-users] mythtv + nfs = bad?
> 
> Sent by:
> 
> mythtv-users-bounces at mythtv.org
> 
> Alex Pearson wrote:
> > Hi All,
> >         I'm not sure if this will help anyone, but I found nfs 
unstable 
> > on my box at home (which runs a number of nfs root'd servers as well 
as 
> > mythtv storage), I resolved the issue by setting the clients to tcp 
and 
> > also increasing the block size.  I now use the following mount 
options:
> >                 defaults,tcp,rsize=8192,wsize=8192 for general 
servers.
> >                 defaults,tcp,rsize=8192,wsize=8192,actimeo=0 for 
mythtv.
> 
> If you're running nfsv3, I think 8192 may actually be *smaller* than the 

> default block size.  So you may have reduced it, not increased it.
> 

Its interesting you say that, I didn't spend a lot of time looking into 
the block sizes (just dug in and had a play with them), but from the man 
page:

                      "If an rsize value is not specified, or if the 
specified rsize value is larger than the maximum that either  client  or 
server can support, the client and server negotiate the largest rsize 
value that they can both support."


So you may well have a point!  Now I don't know whether I increased, or 
decreased, the block size!  Oh well... If its not broke (which it isn't 
now)

> I'm not going to argue with it if it fixed your problem, but I now tend 
> to stay away from rsize and wsize tweaks.  They were necessary for older 

> NFS versions, but people have kept doing them as a sort of cargo cult 
> ritual even on newer versions.

I guess I'm a member of the cult ;-)  Cool, never been in a cult 
before....

> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20090509/61821021/attachment.htm>


More information about the mythtv-users mailing list