[Gluster-devel] Odd symlink problem
Simon Brock
shb at widearea.co.uk
Mon Feb 8 13:13:04 UTC 2010
This might be our setup but I thought I should mention it.
We have three machines in a gluster -- two CentOS 5 machines running 3.0.0 RPMS and a Solaris 10 machine running the latest version (yesterday) from the GIT repository. The Solaris machine uses a ZFS partition so we can take snapshots of what is going on on the other machines (which are development machines). Issues are arising with files which are symlinked into the gluster which are outside the gluster but do not exist on the Solaris machine. I can replicate the problem like this:
mkdir fred
cd fred
ln -s /var/tmp/this-does-not-exist
ls -l
shows no files
ls -l this-does-not-exist
lrwxrwxrwx 1 shb widearea 28 Feb 8 13:07 this-does-not-exist -> /var/tmp/this-does-not-exist
and on the Solaris machine we get the error:
[2010-02-08 13:07:51] E [posix.c:1834:posix_symlink] posix: lstat failed on /common/fred/this-does-not-exist: No such file or directory
I can 'cure' the problem by removing the Solaris machine and I cannot duplicate this on our other, pure CentOS, gluster.
This looks like a Solaris issue but I cannot see why from looking at the code.
I guess the real question is whether any one else can reproduce this bug using Solaris or whether (as it is quite weird) something to do with us.
TIA
Simon.------
Wide Area Communications
www.widearea.co.uk
More information about the Gluster-devel
mailing list