[OmniOS-discuss] flock from RHEL7 client to OmniOS

Derek Yarnell derek at umiacs.umd.edu
Sat Jun 28 14:40:06 UTC 2014


Is anyone else seeing a problem with flock over NFS on more recent
clients including RHEL7 (I am guessing recent fedora releases too)?
fcntl works fine but flock has an error.  Our Nexenta 3.x and NetApp
servers work fine it seems but we also see the same issue with our Dell
FluidFS (though we are at least a full revision behind on it).  I have
tested r151008 and r151010 both exhibit the same behavior for OmniOS.

[root at walrus UMyumrepos]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.0 (Maipo)
[root at walrus UMyumrepos]# df .
Filesystem                                 1K-blocks     Used  Available
Use% Mounted on
umomni00:/volumes/zvol00/staff/UMyumrepos 8279117824 53210112 8225907712
  1% /fs/UMyumrepos
[root at walrus UMyumrepos]# flock ./test /bin/true
flock: ./test: No locks available

[root at rock UMyumrepos]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.5 (Santiago)
[root at rock UMyumrepos]# df .
Filesystem            1K-blocks     Used  Available Use% Mounted on
umomni00:/volumes/zvol00/staff/UMyumrepos
                     8279117824 53210112 8225907712   1% /fs/UMyumrepos
[root at rock UMyumrepos]# flock ./test /bin/true
[root at rock UMyumrepos]# echo $?
0

-- 
Derek T. Yarnell
University of Maryland
Institute for Advanced Computer Studies


More information about the OmniOS-discuss mailing list