I think this is an overall problem with remote volumes - you can't have reliable mandatory locks with them. At least I think I read so a couple of times (the same issue is with NFS volumes). I suggest you try to do the job without relying on the lock.
Bookmarks