Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2008 00:11:20 +0800
From:      "Tim Chen" <gphoto6@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   How to disable NFS fnctl in /etc/fstab?
Message-ID:  <1f51039c0809040911oe4409b5ibe3f4dcf53528407@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
For some reason we want to disable fnctl lock for NFS
mounted partition. We can achieve this by the following
command: mount_nfs -T -L server:/home /mnt
However after several time of failure tests, we still
can not make it work in /etc/fstab.

server:/home /mnt nfs rw,tcp 0 0

It seems there is no coresponding options in /etc/fstab
so that I can disable fnctl lock for NFS. If we can not
set it right in /etc/fstab, every time the machine reboot
requires human intervention to mount the partition manually.
It is very annoying and inconvenient.

Please give us some suggestion and hint to solve this situation.

By the way, since the machine is running as a mail server which
install postfix,courier-imap, will it happen any kind of data
corruption due to NFS fnctl lock disabled?

Best regards,
Tim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1f51039c0809040911oe4409b5ibe3f4dcf53528407>