[Gluster-users] Xen and Glusterfs

Matt Lawrence matt.lawrence at tamu.edu
Fri Apr 3 15:22:47 UTC 2009


Mathijs Krullaars wrote:
> Can you post your gluster configs, xen configs, fstab of the image you try to 
> boot, etc?
>
> I have a farm running xen with live migration that is all working fine, so i 
> might be able to help you with your trouble.
>   

Sure, here's the client config:

[root at xen03 ~]# cat /etc/glusterfs/glusterfs-client.vol
##############################################
###  GlusterFS Client Volume Specification  ##
##############################################

volume storage
  type protocol/client
  option transport-type tcp/client
  option remote-host 10.20.1.6
  option remote-subvolume storage
end-volume

volume storage-readahead
  type performance/read-ahead
  option page-size      128KB
  option page-count     4
  option force-atime-update off
  subvolumes storage
end-volume

volume storage-writebehind
  type performance/write-behind
  option aggregate-size 128KB
  option window-size 3MB
  option flush-behind on
  subvolumes storage-readahead
end-volume
 

And the server config:

-bash-3.2# cat /etc/glusterfs/glusterfs-server.vol
##############################################
###  GlusterFS Server Volume Specification  ##
##############################################

volume namespace
  type storage/posix
  option directory /glusterfs/namespace
end-volume

volume shelf-2
  type storage/posix
  option directory /glusterfs/shelf-2
end-volume

volume shelf-4
  type storage/posix
  option directory /glusterfs/shelf-4
end-volume

volume shelf-6
  type storage/posix
  option directory /glusterfs/shelf-6
end-volume

volume storage
  type cluster/unify
  option scheduler rr
  option scheduler.limits.min-free-disk 5
  option namespace namespace
  subvolumes shelf-2 shelf-4 shelf-6
end-volume

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

I'm running 2.0.0rc1-1

My latest test was just trying to do an install of a virtual machine.  
It hangs while trying to get to storage.  Everything else seems to work 
fine.

Any help would be greatly appreciated.

-- Matt

To simplify some of the testing




More information about the Gluster-users mailing list