<div dir="ltr"><div><div><div><div><div>[ sorry for spam sending same mail from my gluser-devel subscription mail ]</div><div><br></div><div><br></div><div>Hi,<br><br></div><div>Thanks for reply !<br><br></div><div>Here is the your require info :<br>

</div><div><br></div>Before running stack.sh, <br></div>I have updated &quot;localrc&quot; config file and added below things <br>
<br>CINDER_DRIVER=glusterfs<br>CINDER_GLUSTERFS_SHARES=&quot;10.0.2.15:/vol1&quot;<br><br><br></div><div>so after completing script stack.sh execution,<br> /etc/cinder/cinder.conf files shows this as default :<br></div><br>


[DEFAULT]<br>glusterfs_shares_config = /etc/cinder/glusterfs_shares<br>volume_driver = cinder.volume.drivers.glusterfs.GlusterfsDriver<br>.<br>.<br><br></div><br></div>and /etc/cinder/gluster_shares have this content <br>


<br>10.0.2.15:/vol1<br><div><div><br><br></div><div>only things which is not get enabled in cinder.conf  is gluster mount point, <br>it remain as commented <br><br></div><div>Even though I mentioned below variable in localrc <br>


<br>GLUSTERFS_SHARES_CONFIG=&quot;/etc/cinder/glusterfs_shares&quot;<br>GLUSTERFS_MOUNT_POINT_BASE=/mnt2<br><br><br></div><div>/etc/cinder/cinder.conf - <br></div><div><br># Base dir containing mount points for gluster shares (string<br>


# value)<br>#glusterfs_mount_point_base=$state_path/mnt  &lt;---------<br><br><br></div><div><br><br><div>so, now I added glusterfs for cinder_driver <br></div><div></div><div>How  &#39;cinder create&#39; volume command aware that I want to use glusterfs to create/store volume on it<br>


</div><div>by default cinder goes for lvm/scsi right ? <br><br></div><div><br><div><div><br></div><div>Also, I&#39;m trying to use below  config parameter <br></div><div>but not succeeded <br></div><div>in cinder.conf <br>


</div><div># Support for multi lvm backend configuration (default is no support)<br>CINDER_MULTI_LVM_BACKEND=$(trueorfalse False $CINDER_MULTI_LVM_BACKEND)<div class=""><div id=":26x" class="" tabindex="0"><img class="" src="https://mail.google.com/mail/u/0/images/cleardot.gif"></div>

</div></div></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 11, 2013 at 2:11 PM, Shrinivas Kulkarni <span dir="ltr">&lt;<a href="mailto:shri2july@gmail.com" target="_blank">shri2july@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Thanks for reply !<br>
<br>
Here is the your require info :<br>
<br>
Before running stack.sh,<br>
I have updated &quot;localrc&quot; config file and added below things<br>
<br>
CINDER_DRIVER=glusterfs<br>
CINDER_GLUSTERFS_SHARES=&quot;10.0.2.15:/vol1&quot;<br>
<br>
<br>
so after completing script stack.sh execution,<br>
 /etc/cinder/cinder.conf files shows this as default :<br>
<br>
[DEFAULT]<br>
glusterfs_shares_config = /etc/cinder/glusterfs_shares<br>
volume_driver = cinder.volume.drivers.glusterfs.GlusterfsDriver<br>
.<br>
.<br>
<br>
<br>
and /etc/cinder/gluster_shares have this content<br>
<br>
10.0.2.15:/vol1<br>
<br>
<br>
only things which is not get enabled in cinder.conf  is gluster mount point,<br>
it remain as commented<br>
<br>
Even though I mentioned below variable in localrc<br>
<br>
GLUSTERFS_SHARES_CONFIG=&quot;/etc/cinder/glusterfs_shares&quot;<br>
GLUSTERFS_MOUNT_POINT_BASE=/mnt2<br>
<br>
<br>
/etc/cinder/cinder.conf -<br>
<br>
# Base dir containing mount points for gluster shares (string<br>
# value)<br>
#glusterfs_mount_point_base=$state_path/mnt  &lt;---------<br>
<br>
<br>
<br>
<br>
so, now I added glusterfs for cinder_driver<br>
How  &#39;cinder create&#39; volume command aware that I want to use glusterfs<br>
to create/store volume on it<br>
by default cinder goes for lvm/scsi right ?<br>
<br>
<br>
<br>
Also, I&#39;m trying to use below  config parameter<br>
but not succeeded<br>
in cinder.conf<br>
# Support for multi lvm backend configuration (default is no support)<br>
CINDER_MULTI_LVM_BACKEND=$(trueorfalse False $CINDER_MULTI_LVM_BACKEND)<br>
<br>
<br>
<br>
Thanks !<br>
~ Shrinivas<br>
<br>
<br>
On 10/10/13, Shrinivas Kulkarni &lt;<a href="mailto:shri2july@gmail.com">shri2july@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; Thanks for reply !<br>
&gt;<br>
&gt; Here is the your require info :<br>
&gt;<br>
&gt; Before running stack.sh,<br>
&gt; I have updated &quot;localrc&quot; config file and added below things<br>
&gt;<br>
&gt; CINDER_DRIVER=glusterfs<br>
&gt; CINDER_GLUSTERFS_SHARES=&quot;10.0.2.15:/vol1&quot;<br>
&gt;<br>
&gt;<br>
&gt; so after completing script stack.sh execution,<br>
&gt;  /etc/cinder/cinder.conf files shows this as default :<br>
&gt;<br>
&gt; [DEFAULT]<br>
&gt; glusterfs_shares_config = /etc/cinder/glusterfs_shares<br>
&gt; volume_driver = cinder.volume.drivers.glusterfs.GlusterfsDriver<br>
&gt; .<br>
&gt; .<br>
&gt;<br>
&gt;<br>
&gt; and /etc/cinder/gluster_shares have this content<br>
&gt;<br>
&gt; 10.0.2.15:/vol1<br>
&gt;<br>
&gt;<br>
&gt; only things which is not get enabled in cinder.conf  is gluster mount<br>
&gt; point,<br>
&gt; it remain as commented<br>
&gt;<br>
&gt; Even though I mentioned below variable in localrc<br>
&gt;<br>
&gt; GLUSTERFS_SHARES_CONFIG=&quot;/etc/cinder/glusterfs_shares&quot;<br>
&gt; GLUSTERFS_MOUNT_POINT_BASE=/mnt2<br>
&gt;<br>
&gt;<br>
&gt; /etc/cinder/cinder.conf -<br>
&gt;<br>
&gt; # Base dir containing mount points for gluster shares (string<br>
&gt; # value)<br>
&gt; #glusterfs_mount_point_base=$state_path/mnt  &lt;---------<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; so, now I added glusterfs for cinder_driver<br>
&gt; How  &#39;cinder create&#39; volume command aware that I want to use glusterfs to<br>
&gt; create/store volume on it<br>
&gt; by default cinder goes for lvm/scsi right ?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Also, I&#39;m trying to use below  config parameter<br>
&gt; but not succeeded<br>
&gt; in cinder.conf<br>
&gt; # Support for multi lvm backend configuration (default is no support)<br>
&gt; CINDER_MULTI_LVM_BACKEND=$(trueorfalse False $CINDER_MULTI_LVM_BACKEND)<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Oct 10, 2013 at 6:41 PM, Anush Shetty &lt;<a href="mailto:ashetty@redhat.com">ashetty@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ----- Original Message -----<br>
&gt;&gt; &gt; From: &quot;Shrinivas Kulkarni&quot; &lt;<a href="mailto:shri2july@gmail.com">shri2july@gmail.com</a>&gt;<br>
&gt;&gt; &gt; To: <a href="mailto:gluster-devel@nongnu.org">gluster-devel@nongnu.org</a>, <a href="mailto:gluster-users@nongnu.org">gluster-users@nongnu.org</a><br>
&gt;&gt; &gt; Cc: &quot;Shrinivas Kulkarni&quot; &lt;<a href="mailto:shri2july@gmail.com">shri2july@gmail.com</a>&gt;<br>
&gt;&gt; &gt; Sent: Thursday, October 10, 2013 4:18:30 PM<br>
&gt;&gt; &gt; Subject: [Gluster-devel] Need Help : How to create cinder volume on<br>
&gt;&gt; glusterfs mount point<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Hi All,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I&#39;m trying create cinder volume on glusterfs mount point<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Anyone know how to use gluster+cinder ?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Here is about my setup :<br>
&gt;&gt; &gt; 1. Insall Devstack (stack.sh) on Fedora-19<br>
&gt;&gt; &gt; 2. In my setup glusterfs driver is default driver for cinder_driver,<br>
&gt;&gt; this is<br>
&gt;&gt; &gt; enable in etc/cinder/cinder.conf during install only<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I could not found how &#39;cinder create&#39; will use glusterfs mount point<br>
&gt;&gt; &gt; for<br>
&gt;&gt; &gt; creating volume on it<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I want to use glustefs as backend for cinder volume<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Can anyone help me for this ?<br>
&gt;&gt; &gt; Any direction or if I need to edit config files ..<br>
&gt;&gt; &gt;<br>
&gt;&gt; Did you update your  /etc/cinder/shares.conf with the gluster volume and<br>
&gt;&gt; restart cinder services.<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://www.gluster.org/community/documentation/index.php/GlusterFS_Cinder" target="_blank">http://www.gluster.org/community/documentation/index.php/GlusterFS_Cinder</a><br>
&gt;&gt;<br>
&gt;&gt; -<br>
&gt;&gt; Anush<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thanks in Advance !<br>
&gt;&gt; &gt; ~ Shrinivas<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Gluster-devel mailing list<br>
&gt;&gt; &gt; <a href="mailto:Gluster-devel@nongnu.org">Gluster-devel@nongnu.org</a><br>
&gt;&gt; &gt; <a href="https://lists.nongnu.org/mailman/listinfo/gluster-devel" target="_blank">https://lists.nongnu.org/mailman/listinfo/gluster-devel</a><br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt; ~ Shrinivas<br>
&gt; -------------------------<br>
&gt;<br>
<br>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@nongnu.org">Gluster-devel@nongnu.org</a><br>
<a href="https://lists.nongnu.org/mailman/listinfo/gluster-devel" target="_blank">https://lists.nongnu.org/mailman/listinfo/gluster-devel</a><br>
</blockquote></div><br></div>