[Gluster-users] Can't run KVM Virtual Machines on a Gluster volume

?????? zorro at megatrone.ru
Mon Jun 25 11:33:49 UTC 2012


I encountered the same problem.
As the hypervisor using ovirt
libvirtd.log an attachment 


[root at noc-3-synt ~]# gluster volume info all

Volume Name: sd2
Type: Distribute
Volume ID: 4669a77e-3108-4a48-a4ae-14a3799da808
Status: Started
Number of Bricks: 1
Transport-type: tcp
Bricks:
Brick1: 10.1.20.7:/mht
Options Reconfigured:
nfs.disable: off
auth.allow: *
[root at noc-3-synt ~]# gluster --version
glusterfs 3.3.0 built on May 31 2012 11:16:29
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GlusterFS under the terms of the GNU General
Public License.
[root at noc-3-synt ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_noc3m77-lv_root
                       50G   22G   26G  46% /
tmpfs                 7.9G   12K  7.9G   1% /dev/shm
/dev/sda1             497M  242M  230M  52% /boot
10.1.20.7:/sd2         50G   22G   26G  46%
/rhev/data-center/mnt/10.1.20.7:_sd2




[root at noc-3-synt ~]# ls -lh
/rhev/data-center/b1c7875a-964d-4633-8ea4-2b191d68c105/68aa0dc2-9cd1-4549-80
08-30b1bae667db/images/61180d3c-63ba-41ca-989a-8bd2acff4d7e/eb866d5a-1319-4e
32-b9f3-4de3ad3272fb
-rw-rw-rw-. 1 vdsm kvm 10G Jun 22 09:28
/rhev/data-center/b1c7875a-964d-4633-8ea4-2b191d68c105/68aa0dc2-9cd1-4549-80
08-30b1bae667db/images/61180d3c-63ba-41ca-989a-8bd2acff4d7e/eb866d5a-1319-4e
32-b9f3-4de3ad3272fb




-----Original Message-----
From: gluster-users-bounces at gluster.org
[mailto:gluster-users-bounces at gluster.org] On Behalf Of Fernando Frediani
(Qube)
Sent: Monday, June 25, 2012 12:54 PM
To: 'Vijay Bellur'
Cc: 'gluster-users at gluster.org'
Subject: Re: [Gluster-users] Can't run KVM Virtual Machines on a Gluster
volume

Which logs are you talking about ?
I've posted the logs from the virt-manager running in one of the nodes. It
runs as root.
Also I've tried the same thing on a local storage and it works fine.

Fernando

-----Original Message-----
From: Vijay Bellur [mailto:vijay at gluster.com]
Sent: 24 June 2012 05:29
To: Fernando Frediani (Qube)
Cc: 'gluster-users at gluster.org'
Subject: Re: [Gluster-users] Can't run KVM Virtual Machines on a Gluster
volume

On 06/23/2012 04:16 PM, Fernando Frediani (Qube) wrote:
> I just built a 2 node(4 bricks), Distributed-Replicated and everything 
> mounts fine.
>
> Each node mounts using GlusterFS client on its hostname (mount -t 
> glusterfs hostname:VOLUME /virtual-machines)
>
> When creating a new Virtual Machine using virt-manager it creates the 
> file on the storage, but when trying to power it On, it doesn't work 
> and gives back an error message.(See below. Yes the folder has full 
> permission to All to write.)
>

Can you please post the complete client and server log files? What user is
the virt-manager running as?

-Vijay
_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirtd.log
Type: application/octet-stream
Size: 63706 bytes
Desc: not available
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20120625/40190928/attachment.obj>


More information about the Gluster-users mailing list