Setting mount_nfs options in /etc/fstab
Doug Poland
doug at polands.org
Thu Oct 6 09:18:31 PDT 2005
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
More information about the freebsd-questions
mailing list