Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2008 11:34:11 -0700
From:      "vincenzo romero" <new2xen@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   how to pass nfs nolock option in /etc/fstab
Message-ID:  <13d67a800803281134k416f6cedied44ffe809f1a4b3@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



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