If you are managing the gluster volume through ovirt, you could just select the volume in the ui and click "Optimize for virt store". It does the job of setting the required parameters for the volume.

Thanks,
Kanagaraj

On 03/02/2015 10:44 PM, Jason Brooks wrote:

----- Original Message -----
From: [email protected]
To: "Aharon Canan" <[email protected]>
Cc: [email protected]
Sent: Monday, March 2, 2015 8:25:13 AM
Subject: Re: [ovirt-users] Glusterfs storage

Thanks Aharon,

After a couple of hours, the chown 36:36 did the trick, now I have the domain
up.
This is a good way to set those perms and make them stick:

gluster volume set $yourvol storage.owner-uid 36
gluster volume set $yourvol storage.owner-gid 36


Jason


Thanks a lot

Jose


----- Mensagem original -----

De: "Aharon Canan" <[email protected]>
Para: [email protected]
Cc: [email protected]
Enviadas: Segunda-feira, 2 De Março de 2015 16:00:40
Assunto: Re: [ovirt-users] Glusterfs storage

Hi

First, You need to create gluster volume. Do not forget to start the volume.
then the "chown 36:36 <volume directory name>"

now you need to create new glusterfs domain, and to point to the <gluster
server name:/volume name>




Regards,
__________________________________________________
Aharon Canan
int phone - 8272036
ext phone - +97297692036
email - [email protected]

----- Mensagem original -----


From: [email protected]
To: [email protected]
Sent: Monday, March 2, 2015 5:55:33 PM
Subject: [ovirt-users] Glusterfs storage

Hi,

I have setup up 2 hosts, host1 with hosted engine, and on host 2, since I
have a spare disk, I want to setup a glusterfs domain storage.
I'm using Centos7 and ovirt 3.5.1.
The 2 hosts and hosted engine are up and running.
How can I configure the glusterfs storage?
I installed glusterfs server on host2:
glusterfs-api-3.6.2-1.el7.x86_64
glusterfs-fuse-3.6.2-1.el7.x86_64
glusterfs-libs-3.6.2-1.el7.x86_64
glusterfs-3.6.2-1.el7.x86_64
glusterfs-rdma-3.6.2-1.el7.x86_64
glusterfs-server-3.6.2-1.el7.x86_64
glusterfs-cli-3.6.2-1.el7.x86_64


Do I need first configure a Volume with a brick? I tried that but no success.
Also tried to ad a Data domains of type glusterfs but no success.
What am I missing?


Thanks

--

Jose Ferradeira
http://www.logicworks.pt


_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users






_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to