[Gluster-users] Gluster 2.x + NX Server
Ian Kelley
ian.kelley at gmail.com
Thu Dec 3 00:20:53 UTC 2009
Hey Jeff,
Thanks for the quick response.
It is an Auto Replication from the Client to two remote servers. I have the Gluster Partition mounted as /cust/home (where user directories are).
As far as I know, the NX client connects to the NX Server as user nx (local user on machine) and then it suids to the real user who logged in, and runs in their home directory.
However, when I use the Gluster Partition for the home directories, I never get the application running (even a simple /usr/bin/xeyes). When using /home/ (localFS) it works fine.
I really don't know where to go from here. Is GlusterFS somehow "seen" differently from the OS in some way that would make it not work this way. I don't see anything useful in the logs. I have turned on GlusterFS in debug mode, but don't see anything.
How goes Gluster deal with permissions and ownership, since it is distributed? Perhaps the problem is somewhere there?
Thanks!
-Ian
----------------------------------
I mounted (Gluster v2.0.8) via:
/usr/sbin/glusterfs -f /etc/glusterfs/glusterfs.vol /cust/home
My glusterfs.vol looks like this:
volume remote1
type protocol/client
option transport-type tcp
option remote-host server1.example.com
option remote-subvolume brick
end-volume
volume remote2
type protocol/client
option transport-type tcp
option remote-host server2.example.com
option remote-subvolume brick
end-volume
volume replicate
type cluster/replicate
subvolumes remote1 remote2
end-volume
volume writebehind
type performance/write-behind
option window-size 1MB
subvolumes replicate
end-volume
volume cache
type performance/io-cache
option cache-size 512MB
subvolumes writebehind
end-volume
On 2 Dec 2009, at 16:00, Jeff Evans wrote:
>
>> It works fine for replicating files, and I can login with SSH to
>> this home directory, and all works fine. Yet, when using NX
>> Server to connect (an X client) I get a failure if the users home
>> directory is the Gluster Home. With a localFS home, it works
>> fine.
>
> What do you mean by failure? Error messages? Gluster log entries?
> More info is required!
>
> I run VNC and XDMCP session from my gluster mounts, without any
> problem. I would expect NX to be no different.
>
>> So, is there -any- difference between how the OS sees a Gluster
>> Mount and a Normal Partition?
>
> Only if you mount it differently. How did you mount it? What does the
> output of mount show? Is it the same underlying FS?
>
> Jeff.
>
>
More information about the Gluster-users
mailing list