The crash log is attached.
Gordan
Anand Avati wrote:
Gordan,
can you please attach the backtrace from gdb and the logs of the server
during the coredump?
avati
On 06/05/2008, *gordan@xxxxxxxxxx <mailto:gordan@xxxxxxxxxx>*
<gordan@xxxxxxxxxx <mailto:gordan@xxxxxxxxxx>> wrote:
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 <mailto: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 <mailto:Gluster-devel@xxxxxxxxxx>
http://lists.nongnu.org/mailman/listinfo/gluster-devel
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxx <mailto:Gluster-devel@xxxxxxxxxx>
http://lists.nongnu.org/mailman/listinfo/gluster-devel
--
If I traveled to the end of the rainbow
As Dame Fortune did intend,
Murphy would be there to tell me
The pot's at the other end.
2008-05-07 17:20:24 W [glusterfs.c:417:glusterfs_cleanup_and_exit] glusterfs: shutting down server
TLA Repo Revision: glusterfs--mainline--2.5--patch-748
Time : 2008-05-07 17:21:58
Signal Number : 11
/usr/sbin/glusterfsd -f /etc/glusterfs/glusterfs-server.vol -l /var/log/glusterfs/glusterfsd.log -L WARNING
volume home
type protocol/server
option auth.ip.home.allow 127.0.0.1,192.168.*
option client-volume-filename /etc/glusterfs/glusterfs-client.vol
option listen-port 6997
option transport-type tcp/server
subvolumes home-afr
end-volume
volume home-afr
type cluster/afr
option read-subvolume home2
subvolumes home1 home2
end-volume
volume home1
type protocol/client
option remote-subvolume storage-home
option remote-port 6996
option remote-host 192.168.0.1
option transport-type tcp/client
end-volume
volume storage-home
type protocol/server
option auth.ip.storage-home.allow 192.168.*
option listen-port 6996
option transport-type tcp/server
subvolumes home2
end-volume
volume home2
type features/posix-locks
subvolumes home2-store
end-volume
volume home2-store
type storage/posix
option directory /gluster/home
end-volume
frame : type(1) op(11)
/lib64/libc.so.6[0x3684c300b0]
/usr/lib64/glusterfs/1.3.8pre6/xlator/features/posix-locks.so[0x2aaaab4f54ae]
/usr/lib64/glusterfs/1.3.8pre6/xlator/storage/posix.so(posix_stat+0x142)[0x2aaaab2ea554]
/usr/lib64/glusterfs/1.3.8pre6/xlator/features/posix-locks.so(pl_truncate+0xb6)[0x2aaaab4f5390]
/usr/lib64/glusterfs/1.3.8pre6/xlator/cluster/afr.so(afr_truncate+0x211)[0x2aaaabb34f2d]
/usr/lib64/libglusterfs.so.0(default_truncate+0x9d)[0x2aaaaaac7c59]
/usr/lib64/glusterfs/1.3.8pre6/xlator/protocol/server.so(server_truncate_resume+0xb0)[0x2aaaab7067a6]
/usr/lib64/libglusterfs.so.0[0x2aaaaaac1ca8]
/usr/lib64/libglusterfs.so.0(call_resume+0x31)[0x2aaaaaac0a49]
/usr/lib64/glusterfs/1.3.8pre6/xlator/protocol/server.so(server_truncate+0x12c)[0x2aaaab706546]
/usr/lib64/glusterfs/1.3.8pre6/xlator/protocol/server.so(server_protocol_interpret+0x286)[0x2aaaab70e866]
/usr/lib64/glusterfs/1.3.8pre6/xlator/protocol/server.so(notify+0xd8)[0x2aaaab70df8e]
/usr/lib64/libglusterfs.so.0(transport_notify+0x38)[0x2aaaaaabcd38]
/usr/lib64/libglusterfs.so.0(sys_epoll_iteration+0x27e)[0x2aaaaaabd22e]
/usr/lib64/libglusterfs.so.0(poll_iteration+0xdb)[0x2aaaaaabcee7]
[glusterfs](main+0x414)[0x402edc]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x3684c1d8a4]
[glusterfs][0x402a19]
---------