[Gluster-users] HadoopFS-like gluster setup

Peng Zhao blackass at gmail.com
Wed Jul 1 01:50:40 UTC 2009


Hi, all,
I'm new to gluster, but found it interesting. I want to setup gluster in a
way to be similar with HDFS.
There is my sample vol-file:
volume posix
 type storage/posix
 option directory /data1/gluster
end-volume

volume locks
  type features/locks
  subvolumes posix
end-volume

volume brick
 type performance/io-threads
 subvolumes locks
end-volume

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

volume compute-5-0
 type protocol/client
 option transport-type tcp
 option remote-host compute-5-0
 option remote-subvolume brick
end-volume

volume compute-5-1
 type protocol/client
 option transport-type tcp
 option remote-host compute-5-1
 option remote-subvolume brick
end-volume

volume compute-5-2
 type protocol/client
 option transport-type tcp
 option remote-host compute-5-2
 option remote-subvolume brick
end-volume

volume compute-5-3
 type protocol/client
 option transport-type tcp
 option remote-host compute-5-3
 option remote-subvolume brick
end-volume

volume compute-5-4
 type protocol/client
 option transport-type tcp
 option remote-host compute-5-4
 option remote-subvolume brick-ns
end-volume

volume primary
 type cluster/replicate
 option local-volume-name primary
 subvolumes compute-5-0 compute-5-1
end-volume

volume secondary
 type cluster/replicate
 option local-volume-name secondary
 subvolumes compute-5-2 compute-5-3
end-volume

volume unified
 type cluster/unify
 option scheduler rr
 option local-volume-name unified          # do I need this?
 option namespace compute-5-4           # do I need this?
 subvolumes primary secondary
end-volume

volume writebehind
  type performance/write-behind
  option cache-size 1MB
  subvolumes unified
end-volume

volume cache
  type performance/io-cache
  option cache-size 512MB
  subvolumes writebehind
end-volume

The glusterd is up & running and no error msg in the logs. However, it
reports some error when I tried to mount it:
[2009-07-01 09:37:36] E [xlator.c:736:xlator_init_rec] xlator:
Initialization of volume 'fuse' failed, review your volfile again
[2009-07-01 09:37:36] E [glusterfsd.c:498:_xlator_graph_init] glusterfs:
initializing translator failed
[2009-07-01 09:37:36] E [glusterfsd.c:1191:main] glusterfs: translator
initialization failed. exiting

I guess it is a very common question. Anyone has any idea?
BR,
Gnep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20090701/e9bd8355/attachment.html>


More information about the Gluster-users mailing list