I just did a bit more digging, and it seems related to the posix-lock
feature. If I remove that from the volume stacks, everything works fine.
The machine on which glusterfsd core dumps is the secondary server (as per
the afr component list ordering) and is x86-64. The primary (IA32) machine
continues fine without the core dump.
Configs for both sides are attached. Have I made a mistake in the configs?
Gordan
On Tue, 6 May 2008, gordan@xxxxxxxxxx wrote:
Hi,
I've just observed what seems like a problem related to remote startind
glusterfsd over ssh. If I ssh into one of my glusterfs servers, su to root
and start glusterfsd, it starts fine and everything works. However, as soon
as I log out, glusterfsd seems to die and core dump.
If I do it with nohup it doesn't seem to happen, so I'm guessing it's the
session reset that causes the problem. I'm guessing this isn't the expected
behaviour. An uncaught signal (SIGHUP?) somewhere, perhaps?
This only seems to have started happening since I added the posix lock brick
and re-ordered the storage volume bricks so they are listed in the same order
on all servers.
Gordan
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxx
http://lists.nongnu.org/mailman/listinfo/gluster-devel
#volume home2-store
volume home2
type storage/posix
option directory /gluster/home
end-volume
#volume home2
# type features/posix-locks
# subvolumes home2-store
#end-volume
volume storage-home
type protocol/server
option transport-type tcp/server
option listen-port 6996
subvolumes home2
option auth.ip.storage-home.allow 192.168.*
end-volume
volume home1
type protocol/client
option transport-type tcp/client
option remote-host 192.168.0.1
option remote-port 6996
option remote-subvolume storage-home
end-volume
volume home-afr
type cluster/afr
option read-subvolume home2
subvolumes home1 home2
end-volume
volume home
type protocol/server
option transport-type tcp/server
option listen-port 6997
option client-volume-filename /etc/glusterfs/glusterfs-client.vol
subvolumes home-afr
option auth.ip.home.allow 127.0.0.1,192.168.*
end-volume
volume home
type protocol/client
option transport-type tcp/client
option remote-host 127.0.0.1
option remote-port 6997
option remote-subvolume home
end-volume
#volume home1-store
volume home1
type storage/posix
option directory /gluster/home
end-volume
#volume home1
# type features/posix-locks
# subvolumes home1-store
#end-volume
volume storage-home
type protocol/server
option transport-type tcp/server
option listen-port 6996
subvolumes home1
option auth.ip.storage-home.allow 192.168.*
end-volume
volume home2
type protocol/client
option transport-type tcp/client
option remote-host 192.168.3.1
option remote-port 6996
option remote-subvolume storage-home
end-volume
volume home-afr
type cluster/afr
option read-subvolume home1
subvolumes home1 home2
end-volume
volume home
type protocol/server
option transport-type tcp/server
option listen-port 6997
option client-volume-filename /etc/glusterfs/glusterfs-client.vol
subvolumes home-afr
option auth.ip.home.allow 127.0.0.1,192.168.*
end-volume
volume home
type protocol/client
option transport-type tcp/client
option remote-host 127.0.0.1
option remote-port 6997
option remote-subvolume home
end-volume