Re: can't make dht work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have tried that and get the same problem every time.


Dan Parsons


On Jan 13, 2009, at 3:37 AM, Krishna Srinivas wrote:

Dan,
Can you removie the backend directories and re-create it and try this again?
Krishna

On Tue, Jan 13, 2009 at 6:31 AM, Dan Parsons <dparsons@xxxxxxxx> wrote:
I'm unable to make dht work. I simply can't copy files to it without getting the below error. If I make a subdirectory and put files inside of that, then the problem goes away, but it seems like I must be doing something wrong.
???

Client error message:
2009-01-12 16:54:03 E [dht-helper.c:216:dht_subvol_get_hashed] dht0: layout
missing path=/test3.txt parent=1
2009-01-12 16:54:03 E [dht.c:623:dht_lookup] dht0: no subvolume in layout
for path=/test3.txt
2009-01-12 16:54:03 E [fuse-bridge.c:406:fuse_entry_cbk] glusterfs- fuse: 2:
LOOKUP() /test3.txt => -1 (Invalid argument)

Command I ran:
dd if=/dev/zero of=/glustertmp/test3.txt bs=1MB count=10

Server config:
############################################################################
# UNIFY
volume posix-unify-brick
      type storage/posix
      option directory /distfs-storage-space/glusterfs/unify
end-volume

volume server
      type protocol/server
      option transport-type tcp
      option auth.addr.posix-unify-brick.allow 10.8.101.*
      subvolumes posix-unify-brick
end-volume

Client config:
#################################################################
# CLIENT-UNIFY-1
volume distfs01-unify-brick
 type protocol/client
 option transport-type tcp
 option remote-host 10.8.101.51
 option remote-subvolume posix-unify-brick
end-volume

#################################################################
# CLIENT-UNIFY-2
volume distfs02-unify-brick
 type protocol/client
 option transport-type tcp
 option remote-host 10.8.101.52
 option remote-subvolume posix-unify-brick
end-volume

#################################################################
# CLIENT-UNIFY-3
volume distfs03-unify-brick
 type protocol/client
 option transport-type tcp
 option remote-host 10.8.101.53
 option remote-subvolume posix-unify-brick
end-volume

#################################################################
# CLIENT-UNIFY-4

volume distfs04-unify-brick
 type protocol/client
 option transport-type tcp
 option remote-host 10.8.101.54
 option remote-subvolume posix-unify-brick
end-volume

# END OF CLIENT-UNIFY
################################################################

volume dht0
      type cluster/dht
      subvolumes distfs01-unify-brick distfs02-unify-brick
distfs03-unify-brick distfs04-unify-brick
end-volume


Dan Parsons




_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxx
http://lists.nongnu.org/mailman/listinfo/gluster-devel







[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux