Re: [Gluster-users] Fuse problem

2009-08-11 Thread Hiren Joshi
 

 -Original Message-
 From: Jason Williams [mailto:jas...@jhu.edu] 
 Sent: 11 August 2009 15:42
 To: Hiren Joshi
 Cc: Vikas Gorur; gluster-users@gluster.org
 Subject: Re: [Gluster-users] Fuse problem
 
 Hiren Joshi wrote:
   
  
  -Original Message-
  From: Vikas Gorur [mailto:vi...@gluster.com] 
  Sent: 11 August 2009 15:34
  To: Hiren Joshi
  Cc: gluster-users@gluster.org
  Subject: Re: [Gluster-users] Fuse problem
 
 
  - Hiren Joshi j...@moonfruit.com wrote:
 
  Hello all,
   
  I'm running a 64bit Centos5 setup and am trying to mount a gluster
  filesystem (which is exported out of the same box).
   
  glusterfs --debug --volfile=/root/gluster/webspace2.vol
  /home/webspace_glust/
   
  Gives me:
  snip
  [2009-08-11 16:26:37] D [client-protocol.c:5963:init] glust1b_36:
  defaulting ping-timeout to 10
  [2009-08-11 16:26:37] D [transport.c:141:transport_load] 
 transport:
  attempt to load file 
 /usr/lib64/glusterfs/2.0.4/transport/socket.so
  [2009-08-11 16:26:37] D [transport.c:141:transport_load] 
 transport:
  attempt to load file 
 /usr/lib64/glusterfs/2.0.4/transport/socket.so
  fuse: device not found, try 'modprobe fuse' first
  Make sure you have the fuse module loaded (modprobe fuse).
 
  
  I have fuse.x86_64 2.7.4-1.el5.rf installed but:
  # modprobe fuse
  FATAL: Module fuse not found.
  
  
  Vikas
  -- 
  Engineer - http://gluster.com/
 
 
 
 That is the userland part of fuse.  There is also a kernel 
 module that 
 you will need to get and install.  I'm guessing you have yum 
 since this 
 appears to be a RHEL 5 machine so try a 'yum search fuse' to 
 see if you 
 can find the name of the kernel module.  It escapes me at the moment, 
 which is why I suggest the yum search.

yum install dkms-fuse did the trick.. thanks!


 
 --
 Jason
 
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Fuse problem

2009-08-11 Thread Geoff Galitz


  I have fuse.x86_64 2.7.4-1.el5.rf installed but:
  # modprobe fuse
  FATAL: Module fuse not found.
 
 
 That is the userland part of fuse.  There is also a kernel module that
 you will need to get and install.  I'm guessing you have yum since this
 appears to be a RHEL 5 machine so try a 'yum search fuse' to see if you
 can find the name of the kernel module.  It escapes me at the moment,
 which is why I suggest the yum search.


You are looking for the dkms-fuse package, available over yum.  You may
need to go to rpmforge to get it.

-geoff



-
Geoff Galitz
Blankenheim NRW, Germany
http://www.galitz.org/
http://german-way.com/blog/


___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Fuse problem

2009-08-11 Thread Hiren Joshi
 

 -Original Message-
 From: Vikas Gorur [mailto:vi...@gluster.com] 
 Sent: 11 August 2009 15:34
 To: Hiren Joshi
 Cc: gluster-users@gluster.org
 Subject: Re: [Gluster-users] Fuse problem
 
 
 - Hiren Joshi j...@moonfruit.com wrote:
 
  Hello all,
   
  I'm running a 64bit Centos5 setup and am trying to mount a gluster
  filesystem (which is exported out of the same box).
   
  glusterfs --debug --volfile=/root/gluster/webspace2.vol
  /home/webspace_glust/
   
  Gives me:
  snip
  [2009-08-11 16:26:37] D [client-protocol.c:5963:init] glust1b_36:
  defaulting ping-timeout to 10
  [2009-08-11 16:26:37] D [transport.c:141:transport_load] transport:
  attempt to load file /usr/lib64/glusterfs/2.0.4/transport/socket.so
  [2009-08-11 16:26:37] D [transport.c:141:transport_load] transport:
  attempt to load file /usr/lib64/glusterfs/2.0.4/transport/socket.so
  fuse: device not found, try 'modprobe fuse' first
 
 Make sure you have the fuse module loaded (modprobe fuse).
 

I have fuse.x86_64 2.7.4-1.el5.rf installed but:
# modprobe fuse
FATAL: Module fuse not found.


 Vikas
 -- 
 Engineer - http://gluster.com/
 
 
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Fuse problem

2009-08-11 Thread Liam Slusser
Looks like fuse isn't loaded.  Have you installed fuse?  The debug log below
has the hint, try modprobe fuse as root.
liam

On Tue, Aug 11, 2009 at 7:27 AM, Hiren Joshi j...@moonfruit.com wrote:

 Hello all,

 I'm running a 64bit Centos5 setup and am trying to mount a gluster
 filesystem (which is exported out of the same box).

 glusterfs --debug --volfile=/root/gluster/webspace2.vol
 /home/webspace_glust/

 Gives me:
 snip
 [2009-08-11 16:26:37] D [client-protocol.c:5963:init] glust1b_36:
 defaulting ping-timeout to 10
 [2009-08-11 16:26:37] D [transport.c:141:transport_load] transport:
 attempt to load file /usr/lib64/glusterfs/2.0.4/transport/socket.so
 [2009-08-11 16:26:37] D [transport.c:141:transport_load] transport:
 attempt to load file /usr/lib64/glusterfs/2.0.4/transport/socket.so
 fuse: device not found, try 'modprobe fuse' first
 [2009-08-11 16:26:37] D [fuse-bridge.c:2740:init] glusterfs-fuse:
 fuse_mount() failed with error No such device on mount point
 /home/webspace_glust/
 [2009-08-11 16:26:37] E [xlator.c:736:xlator_init_rec] xlator:
 Initialization of volume 'fuse' failed, review your volfile again
 [2009-08-11 16:26:37] E [glusterfsd.c:513:_xlator_graph_init] glusterfs:
 initializing translator failed
 [2009-08-11 16:26:37] E [glusterfsd.c:1217:main] glusterfs: translator
 initialization failed.  exiting


 Any thoughts?

 ___
 Gluster-users mailing list
 Gluster-users@gluster.org
 http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


[Gluster-users] Error with trash

2009-08-11 Thread eagleeyes

HI all:
 I met a error  when i using trash.
 When i  go into .trashcan on glusterfs client  ,and rename the dir  which 
had been deleted ,the glusterfs server  down , the gdb log was :

[r...@localhost /]# gdb glusterfscore.8011
GNU gdb Red Hat Linux (6.3.0.0-1.132.EL4rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-redhat-linux-gnu...Using host libthread_db 
library /lib/tls/libthread_db.so.1.
warning: core file may not match specified executable file.
Core was generated by `glusterfsd -f /etc/glusterfs/glusterfsd-server.vol -l 
/var/log/glusterfs/gluste'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libglusterfs.so.0...done.
Loaded symbols for /lib/libglusterfs.so.0
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/tls/libpthread.so.0...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/glusterfs/2.0.4/xlator/storage/posix.so...done.
Loaded symbols for /lib/glusterfs/2.0.4/xlator/storage/posix.so
Reading symbols from 
/lib/glusterfs/2.0.4/xlator/testing/features/trash.so...done.
Loaded symbols for /lib/glusterfs/2.0.4/xlator/testing/features/trash.so
Reading symbols from /lib/glusterfs/2.0.4/xlator/features/posix-locks.so...done.
Loaded symbols for /lib/glusterfs/2.0.4/xlator/features/posix-locks.so
Reading symbols from /lib/glusterfs/2.0.4/xlator/protocol/server.so...done.
Loaded symbols for /lib/glusterfs/2.0.4/xlator/protocol/server.so
Reading symbols from /lib/glusterfs/2.0.4/transport/socket.so...done.
Loaded symbols for /lib/glusterfs/2.0.4/transport/socket.so
Reading symbols from /lib/glusterfs/2.0.4/auth/addr.so...done.
Loaded symbols for /lib/glusterfs/2.0.4/auth/addr.so
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
#0  trash_common_unwind_cbk (frame=0x96897d0, cookie=0x9686228, this=0x959a0d0, 
op_ret=0, op_errno=0) at trash.c:80
80  if (local-loc1.path)
(gdb) bt
#0  trash_common_unwind_cbk (frame=0x96897d0, cookie=0x9686228, this=0x959a0d0, 
op_ret=0, op_errno=0) at trash.c:80
#1  0x0039a954 in posix_unlink (frame=0x9686228, this=0x95996c0, loc=0x9689978) 
at posix.c:896
#2  0x00a8a2be in trash_unlink (frame=0x96897d0, this=0x959a0d0, loc=0x9689978) 
at trash.c:250
#3  0x00121c4c in default_unlink (frame=0x95a1838, this=0x959aad0, 
loc=0x9689978) at defaults.c:461
#4  0x00e81f87 in server_unlink_resume (frame=0x9687610, this=0x959acc8, 
loc=0x9689978) at server-protocol.c:4316
#5  0x0012e96c in call_resume (stub=0x9689960) at call-stub.c:2329
#6  0x00e82111 in server_unlink (frame=0x9687610, bound_xl=0x959aad0, 
hdr=0x9689be8, hdrlen=172, iobuf=0x0)
at server-protocol.c:4362
#7  0x00e8879a in protocol_server_interpret (this=0x959acc8, trans=0x9649180, 
hdr_p=0x9689be8 , hdrlen=172, iobuf=0x0)
at server-protocol.c:7473
#8  0x00e891f1 in protocol_server_pollin (this=0x959acc8, trans=0x9649180) at 
server-protocol.c:7754
#9  0x00e89329 in notify (this=0x959acc8, event=2, data=0x9649180) at 
server-protocol.c:7810
#10 0x00d30c67 in socket_event_poll_in (this=0x9649180) at socket.c:714
#11 0x00d30eef in socket_event_handler (fd=13, idx=7, data=0x9649180, 
poll_in=1, poll_out=0, poll_err=0) at socket.c:814
#12 0x00132c71 in event_dispatch_epoll (event_pool=0x95949c0) at event.c:804
#13 0x00132f41 in event_dispatch (event_pool=0x95949c0) at event.c:975
#14 0x0804b6b1 in main (argc=5, argv=0xbff770e4) at glusterfsd.c:1226


   Why this happen?
2009-08-12 



eagleeyes 
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


[Gluster-users] Error with glusterfs2.0.4 which add trash

2009-08-11 Thread eagleeyes

HI all:
 I met a error  again ,but i had no action in client .
 
GNU gdb Red Hat Linux (6.3.0.0-1.132.EL4rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-redhat-linux-gnu...Using host libthread_db 
library /lib/tls/libthread_db.so.1.
warning: core file may not match specified executable file.
Core was generated by `glusterfsd -f /etc/glusterfs/glusterfsd-server.vol -l 
/var/log/glusterfs/gluste'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libglusterfs.so.0...done.
Loaded symbols for /lib/libglusterfs.so.0
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/tls/libpthread.so.0...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/glusterfs/2.0.4/xlator/storage/posix.so...done.
Loaded symbols for /lib/glusterfs/2.0.4/xlator/storage/posix.so
Reading symbols from 
/lib/glusterfs/2.0.4/xlator/testing/features/trash.so...done.
Loaded symbols for /lib/glusterfs/2.0.4/xlator/testing/features/trash.so
Reading symbols from /lib/glusterfs/2.0.4/xlator/features/posix-locks.so...done.
Loaded symbols for /lib/glusterfs/2.0.4/xlator/features/posix-locks.so
Reading symbols from /lib/glusterfs/2.0.4/xlator/protocol/server.so...done.
Loaded symbols for /lib/glusterfs/2.0.4/xlator/protocol/server.so
Reading symbols from /lib/glusterfs/2.0.4/transport/socket.so...done.
Loaded symbols for /lib/glusterfs/2.0.4/transport/socket.so
Reading symbols from /lib/glusterfs/2.0.4/auth/addr.so...done.
Loaded symbols for /lib/glusterfs/2.0.4/auth/addr.so
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
#0  trash_common_unwind_cbk (frame=0x9a3d600, cookie=0x9a0ca48, this=0x987bd28, 
op_ret=0, op_errno=0) at trash.c:80
80  if (local-loc1.path)
(gdb) bt
#0  trash_common_unwind_cbk (frame=0x9a3d600, cookie=0x9a0ca48, this=0x987bd28, 
op_ret=0, op_errno=0) at trash.c:80
#1  0x00a14954 in posix_unlink (frame=0x9a0ca48, this=0x987b440, loc=0x9a51768) 
at posix.c:896
#2  0x0096f2be in trash_unlink (frame=0x9a3d600, this=0x987bd28, loc=0x9a51768) 
at trash.c:250
#3  0x0025cc4c in default_unlink (frame=0x9a07b58, this=0x987c6e0, 
loc=0x9a51768) at defaults.c:461
#4  0x00374f87 in server_unlink_resume (frame=0x9a49020, this=0x987ccc8, 
loc=0x9a51768) at server-protocol.c:4316
#5  0x0026996c in call_resume (stub=0x9a51750) at call-stub.c:2329
#6  0x00375111 in server_unlink (frame=0x9a49020, bound_xl=0x987c6e0, 
hdr=0x9a51028, hdrlen=167, iobuf=0x0)
at server-protocol.c:4362
#7  0x0037b79a in protocol_server_interpret (this=0x987ccc8, trans=0x9964e48, 
hdr_p=0x9a51028 , hdrlen=167, iobuf=0x0)
at server-protocol.c:7473
#8  0x0037c1f1 in protocol_server_pollin (this=0x987ccc8, trans=0x9964e48) at 
server-protocol.c:7754
#9  0x0037c329 in notify (this=0x987ccc8, event=2, data=0x9964e48) at 
server-protocol.c:7810
#10 0x00158c67 in socket_event_poll_in (this=0x9964e48) at socket.c:714
#11 0x00158eef in socket_event_handler (fd=19, idx=12, data=0x9964e48, 
poll_in=1, poll_out=0, poll_err=0) at socket.c:814
#12 0x0026dc71 in event_dispatch_epoll (event_pool=0x98769c0) at event.c:804
#13 0x0026df41 in event_dispatch (event_pool=0x98769c0) at event.c:975
#14 0x0804b6b1 in main (argc=5, argv=0xbff313b4) at glusterfsd.c:1226
(gdb) quit

   Why this happen?
2009-08-12 



eagleeyes 
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Error with glusterfs2.0.4 which add trash

2009-08-11 Thread Vijay Bellur

 #0  trash_common_unwind_cbk (frame=0x9a3d600, cookie=0x9a0ca48, 
 this=0x987bd28, op_ret=0, op_errno=0) at trash.c:80
 80  if (local-loc1.path)
 (gdb) bt

This is a known issue. Patch 586 [http://patches.gluster.com/patch/586/]
fixes this.

Regards,
Vijay

___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Error with glusterfs2.0.4 which add trash

2009-08-11 Thread eagleeyes
Thanks a lot ,did this patch in glusterfs2.0.6rc4? 


2009-08-12 



eagleeyes 



发件人: Vijay Bellur 
发送时间: 2009-08-12  12:37:43 
收件人: eagleeyes 
抄送: gluster-users; Anand Babu 
主题: Re: [Gluster-users] Error with glusterfs2.0.4 which add trash 
 
 #0  trash_common_unwind_cbk (frame=0x9a3d600, cookie=0x9a0ca48, 
 this=0x987bd28, op_ret=0, op_errno=0) at trash.c:80
 80  if (local-loc1.path)
 (gdb) bt
This is a known issue. Patch 586 [http://patches.gluster.com/patch/586/]
fixes this.
Regards,
Vijay
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users