glusterfs 1.3.9 - Could not acquire lock "[Errno 38] Function not implemented"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi !
I am trying to use glusterfs 1.3.9-2 (linux/i686) as general network FS, but 
run into problems with bzr which I suspect are file lock related.
Is it posible to have flocks over glusterfs mount ?
Do I need glusterfs fuse module for that?
Do I need use posix-locks translator ? 
http://www.gluster.org/docs/index.php/GlusterFS_Translators_v1.3#posix-locks ?

I think I need to mimic std linux fs behaviour - advisory locks.
 
Thanks a lot for that great piece of software, and thanks in advance for any 
reply or hint.


[root@appserver-cz abbon2]# bzr info
bzr: ERROR: Could not acquire lock "[Errno 38] Function not implemented"
/usr/lib/python2.4/site-packages/bzrlib/lock.py:79: UserWarning: lock on <open 
file u'/usr/lib/python2.4/site-packages/abbon2/.bzr/checkout/dirstate', 
mode 'rb' at 0xf75047b8> not released
Exception exceptions.IOError: (38, 'Function not implemented') in <bound 
method _fcntl_ReadLock.__del__ of <bzrlib.lock._fcntl_ReadLock object at 
0xf74f766c>> ignored
[root@appserver-cz abbon2]# mount
(...)
glusterfs on /usr/lib/python2.4/site-packages/abbon2 type fuse 
(rw,nosuid,nodev,allow_other,default_permissions,max_read=1048576)


[root@appserver-cz abbon2]# cat /etc/fstab
(...)
/etc/glusterfs/gw_ri_abbon2.vol  /usr/lib/python2.4/site-packages/abbon2      
glusterfs       defaults        0       0


[root@appserver-cz abbon2]# cat /etc/glusterfs/gw_ri_abbon2.vol
volume local_gw_ri_abbon2
  type protocol/client
  option transport-type tcp/client     # for TCP/IP transport
  option remote-host 10.20.1.26         # IP address of the remote brick
  option remote-subvolume gw_ri_abbon2        # name of the remote volume
end-volume

Regards,
-- 
Mateusz Korniak




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux