Trying to open AVI files with VirtualDub over Samba over GlusterFS mountpoint returns the following error message:
Other applications can open the file (e.g. VLC), but it seems that VirtualDub's locking behavior doesn't play well with a default GlusterFS setup."Cannot read from file "xxx.avi": The process cannot access the file because another process has locked a portion of the file."
Opening the same file directly from the GlusterFS "bricks" mountpoints over Samba, works fine.
[SOLUTION]
GlusterFS shared over Samba obviously has similar properties like sharing NFS.
The solution is to disable strict locking in Samba's global section in "/etc/samba/smb.conf"
Code: Select all
[global]
strict locking = no
References: