[Gluster-users] Xen and Glusterfs

Mathijs Krullaars Mathijs at atct.nl
Fri Apr 3 16:18:32 UTC 2009


I would try it with disk = [ "file:/storage/xen/felluca.img,xvda,w" ]

If that still wouldn't work, i would make the xen image locally without 
glusterfs, so you know you have a working image, and then copy the image to 
glusterfs and try to start it from there.
At this moment you have a problem that can have a cause on multiple places, so 
i would simplify it first by making a working xen image first instead of 
trying to get the whole thing going at once.

This is a typical cfg i use that does work:

# general
name    = "http1";
memory  = 512;

# booting
kernel  = "/var/xen/domUs/domU-kernels/vmlinuz-2.6.20-r6-xenU";

# virtual harddisk
disk = [ "file:/var/xen/domUs/images/http1-domU/domU-http1-root,xvda,w",
	 "file:/var/xen/domUs/images/http1-domU/domU-http1-tmp,xvdb,w",
	 "file:/var/xen/domUs/swapspace/domU-http1-swap,xvdc,w" ];
root = "/dev/xvda ro";

# virtual network
vif = [ "bridge=xenbr0","bridge=xenbr1" ];



On Friday 03 April 2009 17:58:02 Matt Lawrence wrote:
> Mathijs Krullaars wrote:
> > And the command you mount your glusterfs with?
> > And the xen domU config?
> > And the fstab of the domU image?
>
> glusterfs --disable-direct-io-mode -f
> /etc/glusterfs/glusterfs-client.vol /storage
>
>
> [root at xen03 ~]# cat /etc/xen/felluca
> name = "felluca"
> uuid = "ebbdc9ae-6c89-438b-6a4a-4f3ea477e725"
> maxmem = 512
> memory = 512
> vcpus = 1
> bootloader = "/usr/bin/pygrub"
> on_poweroff = "destroy"
> on_reboot = "restart"
> on_crash = "restart"
> vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]
> disk = [ "tap:aio:/storage/xen/felluca.img,xvda,w" ]
> vif = [ "mac=00:16:3e:0d:5b:2c,bridge=xenbr0" ]
>
> Since it is an install, there is no fstab yet.
>
> -- Matt
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users






More information about the Gluster-users mailing list