<div dir="ltr">Which version of gluster are you using? I have been able to do this with 3.3 and 3.4 on CentOS. With a replica 2 volume, I have just run lvexend with the -r option on both bricks to grow the LV and XF filesystem at the same time. The clients see the new size without having to do anything else specifically in gluster to resize the volume.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 8, 2013 at 6:27 AM, COCHE Sébastien <span dir="ltr">&lt;<a href="mailto:SCOCHE@sigma.fr" target="_blank">SCOCHE@sigma.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="FR" link="blue" vlink="purple"><div><p class="MsoNormal"><span lang="EN-US">Hi all,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">I am testing gluster’s feature, and how to perform exploitation task.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I created a Gluster cluster composed of 2 nodes.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">I create a volume based on xfs filesystem (and LVM), and start a replicated gluster volume.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">I would like to expand the volume size by :<u></u><u></u></span></p><p><u></u><span lang="EN-US"><span>-<span style="font:7.0pt &quot;Times New Roman&quot;">          </span></span></span><u></u><span lang="EN-US">Expanding LV<u></u><u></u></span></p>
<p><u></u><span lang="EN-US"><span>-<span style="font:7.0pt &quot;Times New Roman&quot;">          </span></span></span><u></u><span lang="EN-US">Expanding xfs filesystem<u></u><u></u></span></p><p><u></u><span lang="EN-US"><span>-<span style="font:7.0pt &quot;Times New Roman&quot;">          </span></span></span><u></u><span lang="EN-US">Expanding gluster volume<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">My problem is: I did not see Gluster command line to take on account the new filesystem size.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">The filesystem show me the new size, when gluster volume still see the old size.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">I tried the command line : ‘gluster volume rebalance…’ but this command only work for  stipped volume or for replicated volume with more than 1 brick.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">How can I expand gluster volume ?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Thank you very much<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Best regards<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Sébastien Coché</span></b><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p></div></div><br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br></blockquote></div><br></div>