Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jan 2012 17:37:57 +0100
From:      Leon =?iso-8859-15?Q?Me=DFner?= <l.messner@physik.tu-berlin.de>
To:        freebsd-questions@freebsd.org
Cc:        l.messner@physik.tu-berlin.de
Subject:   NFSv4 and file locking
Message-ID:  <20120112163757.GA4174@emmi.physik-pool.tu-berlin.de>

next in thread | raw e-mail | index | archive | help
Hi,

Does anyone know what you have to do to get locking working under NFSv4?
I tried the following:

# mount_nfs -o nfsv4,sec=sys ip.nfsv4:/nfstest /mnt/test
# mount | grep ip.nfsv4
ip.nfsv4:/nfstest on /mnt/test (newnfs)
# kldstat | grep nfs
6    2 0xffffffff8103f000 1015f    nfscommon.ko
9    1 0xffffffff81054000 3008f    nfscl.ko
# cd /mnt/test
# lockf testlockfile ls
lockf: cannot open testlockfile: Operation not supported

Client runs 8.2-RELEASE-p6, Server runs 8-STABLE from about a month ago.

cherio,
Leon



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