NFSv4 and file locking
    Leon Meßner 
    l.messner at physik.tu-berlin.de
       
    Thu Jan 12 16:52:58 UTC 2012
    
    
  
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
    
    
More information about the freebsd-questions
mailing list