Hi,<br><br>Can you send us glusterfs log files?<br><br>regards,<br><br><div class="gmail_quote">On Mon, Nov 24, 2008 at 7:32 PM, Enrico Valsecchi <span dir="ltr">&lt;<a href="mailto:admin@hostyle.it">admin@hostyle.it</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dear All,<div class="Ih2E3d"><br>
<br>
I have installed Gluster FS v. 1.3.12 on 2 server with Debian 4.05,<br>
in AFR with client side replication, explained in this page:<br>
<a href="http://www.gluster.org/docs/index.php/Setting_up_AFR_on_two_servers_with_client_side_replication" target="_blank">http://www.gluster.org/docs/index.php/Setting_up_AFR_on_two_servers_with_client_side_replication</a><br>

Tested to work!<br>
<br>
:-)<br>
<br>
Now, my idea:<br>
<br></div>
Use a Xen Hypervisor with image disk data for DomU machines on GlusterFS repository<div class="Ih2E3d"><br>
<br>
In my Gluster FS client machine (based on Centos 5.2), I have create<br>
a DomU machine with image file stored in local disk<br>
(/var/lib/xen/images/), Called &quot;Debian4&quot;<br></div><div class="Ih2E3d">
Start and finish installation without problems!<br>
<br>
Now, I have moved image file from /val/lib/xen/images/ to my GlusterFS<br>
directory (/mnt/glusterfs/)<br>
<br></div>
O.k., checked that image file, I&#39;m go to modify DomU configuration with<div><div></div><div class="Wj3C7c"><br>
new image disk path....<br>
<br>
First setting:<br>
disk = [ &#39;file:/mnt/glusterfs/debian40.img,hda1,w&#39; ]<br>
<br>
Start DomU, I retry this error:<br>
xend.err &#39;Device 768 (vbd) could not be connected. losetup /dev/loop0<br>
/mnt/glusterfs/debian40.img failed&#39;<br>
Into log explained error is:<br>
domid: 22<br>
qemu: the number of cpus is 1<br>
Watching /local/domain/22/logdirty/next-active<br>
xs_read(): vncpasswd get error.<br>
/vm/353e360e-bcdd-f237-595e-85013704aad7/vncpasswd.<br>
char device redirected to /dev/pts/4<br>
qemu_map_cache_init nr_buckets = 10000<br>
shared page at pfn 1ffff<br>
buffered io page at pfn 1fffd<br>
xs_read(/vm/353e360e-bcdd-f237-595e-85013704aad7/rtc/timeoffset): read error<br>
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0<br>
Triggered log-dirty buffer switch<br>
<br>
Second setting:<br>
disk = [ &#39;tap:aio:/mnt/glusterfs/debian40.img,hda1,w&#39; ]<br>
Machine start and stop<br>
<br>
Into log explained error is:<br>
qemu: could not open hard disk image<br>
&#39;aio:/mnt/glusterfs/debian40-dnsldap.img&#39;<br>
Watching /local/domain/21/logdirty/next-active<br>
xs_read(): vncpasswd get error.<br>
/vm/353e360e-bcdd-f237-595e-85013704aad7/vncpasswd.<br>
char device redirected to /dev/pts/4<br>
qemu_map_cache_init nr_buckets = 10000<br>
shared page at pfn 1ffff<br>
buffered io page at pfn 1fffd<br>
xs_read(/vm/353e360e-bcdd-f237-595e-85013704aad7/rtc/timeoffset): read error<br>
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0<br>
Triggered log-dirty buffer switch<br>
<br>
O.k., people have a solution?<br>
<br>
Many Thanks,<br>
<br>
Enrico Valsecchi<br>
<br>
<br>
<br>
_______________________________________________<br></div></div>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@nongnu.org" target="_blank">Gluster-devel@nongnu.org</a><br>
<a href="http://lists.nongnu.org/mailman/listinfo/gluster-devel" target="_blank">http://lists.nongnu.org/mailman/listinfo/gluster-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Raghavendra G<br><br>