Date: Thu, 6 Oct 2005 10:10:14 -0500 From: Doug Poland <doug@polands.org> To: Brian Candler <B.Candler@pobox.com> Cc: freebsd-questions@freebsd.org Subject: Re: Setting mount_nfs options in /etc/fstab Message-ID: <20051006151014.GB32796@polands.org> In-Reply-To: <20051006144532.GA77214@uk.tiscali.com> References: <20051006144532.GA77214@uk.tiscali.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 06, 2005 at 03:45:32PM +0100, Brian Candler wrote: > I am reading large log files via NFS, and I find that if I mount them > with mount_nfs -a 4 then performance is improved. > > My question is: is there any way to set the option '-a 4' in > /etc/fstab? Or am I forced to mount the filesystems the manual way in > /etc/rc.local? > > mount_nfs supports a number of options via -o, many of which it > describes as "historic" and "deprecated", but they don't include > something to set readahead as far as I can see. > Here's an fstab entry of mine for an nfs mount. fs:/data /data nfs -3,-R=3,-b,-i,-s,-r=32768,-w=32768,rw 0 0 Your options and milage may vary... -- Regards, Doug
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051006151014.GB32796>