[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gluster-devel] Problems with flock functionality with fuse-2.7.0-gl
From: |
Kevan Benson |
Subject: |
Re: [Gluster-devel] Problems with flock functionality with fuse-2.7.0-gls3 and tls 450 |
Date: |
Fri, 10 Aug 2007 11:30:37 -0700 |
User-agent: |
KMail/1.7.1 |
On Thursday 09 August 2007 19:13, Harris Landgarten wrote:
> $ ruby ./testlock.rb /mnt/glusterfs/testfile 60
>
> When another instance was started:
>
> $ ruby ./testlock.rb /mnt/glusterfs/test/testfile
> opening /mnt/glusterfs/test/testfile and locking
> ./testlock.rb:6:in `initialize': No such file or directory -
> /mnt/glusterfs/test/testfile (Errno::ENOENT) from ./testlock.rb:6:in `open'
> from ./testlock.rb:6:in `open_locked'
> from ./testlock.rb:24
>
> Glusterfs is reporting the LOCK_EX file as ENOENT when another LOCK_EX is
> requested instead of blocking.
Actually, I think you had a typo in the path. Instance 1 was
on /mnt/glusterfs/testfile and instance 2 was
on /mnt/glusterfs/test/testfile, which if it didn't exuist would result in
the error "No such file or directory" which you got.
--
- Kevan Benson
- A-1 Networks