how to pass nfs nolock option in /etc/fstab

vincenzo romero new2xen at gmail.com
Fri Mar 28 11:34:14 PDT 2008


Hello all,

I have come across an issue where I attempted to mount my NFSroot FS
with a nolock option in order to support a database application.  In
an attempt to do so, I edited my /etc/fstab as follows:

192.168.17.1:/export/images/00A0D1E35B7E/freebsd7_x64           /
         nfs     rw,nolock              0       0

When I attempt to re-mount, I get the following error:
mount -a
mount_nfs: -o lock: option not supported
...

Upon googling folks suggested to use the -L option ... but mention
that this is not possible to pass on to /etc/fstab....

My question:  is it possible to mount an NFSroot on FreeBSD and at the
SAME time pass the nolock parameter?

thanks in advance...!

-- 
best,

Vince


More information about the freebsd-questions mailing list