<div dir="ltr"><div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">You forgot the 1st thing we told you - &quot;don&#39;t create partitions on the disk&quot;...<br>
Instead the whole disk &#39;/dev/vdX&#39; should be formatted as a PV, then you can<br>
grow it from the engine and then &#39;pvresize&#39; followed by &#39;lvresize&#39;.</blockquote><br>I didn&#39;t forget, I came across [1] which quotes [2] and [3] saying best-practice is to create a partition on the PV:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><p><strong>Not Recommended</strong></p>
  
  <p>Using the whole disk as a PV (as opposed to a partition spanning the whole disk)
  is not recommended because of the management issues it can create. Any other OS
  that looks at the disk will not recognize the LVM metadata and display the disk
  as being free, so it is likely it will be overwritten. LVM itself will work fine
  with whole disk PVs.</p></blockquote>although I am no expert in lvm so if we agree its ok, no problem, I&#39;ll change it.<br><br>[1] <a href="http://unix.stackexchange.com/questions/76588/what-is-the-best-practice-for-adding-disks-in-lvm">http://unix.stackexchange.com/questions/76588/what-is-the-best-practice-for-adding-disks-in-lvm</a><br>[2] <a href="http://tldp.org/HOWTO/LVM-HOWTO/initdisks.html">http://tldp.org/HOWTO/LVM-HOWTO/initdisks.html</a><br>[3] <a href="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Logical_Volume_Manager_Administration/LVM_components.html#multiple_partitions">https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Logical_Volume_Manager_Administration/LVM_components.html#multiple_partitions</a><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 10, 2016 at 11:02 AM, Barak Korren <span dir="ltr">&lt;<a href="mailto:bkorren@redhat.com" target="_blank">bkorren@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">&gt; able to do &quot;live&quot; storage incrase by adding a new volume to the LVM group in<br>
&gt; the following procedure:<br>
&gt;<br>
&gt;  created new virtio volume in the VM from phx-engine<br>
&gt;  fdisk /dev/vdd then: n -&gt; p -&gt; 1 -&gt; enter -&gt; enter -&gt; t -&gt; 8e -&gt; w<br>
&gt;  vgextend jenkins_lvm /dev/vdd1<br>
&gt;  lvextend /dev/mapper/jenkins_lvm-data -L28G<br>
&gt;  xfs_growfs /dev/mapper/jenkins_lvm-data<br>
&gt;<br>
&gt; I was unable to increase the volume size from the engine, and then increase<br>
&gt; the partition size(only create a new partition on the same volume with the<br>
&gt; new increased space in the volume), not sure if that is possible.<br>
&gt;<br>
</span>You forgot the 1st thing we told you - &quot;don&#39;t create partitions on the disk&quot;...<br>
Instead the whole disk &#39;/dev/vdX&#39; should be formatted as a PV, then you can<br>
grow it from the engine and then &#39;pvresize&#39; followed by &#39;lvresize&#39;.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Barak Korren<br>
<a href="mailto:bkorren@redhat.com">bkorren@redhat.com</a><br>
RHEV-CI Team<br>
</font></span></blockquote></div><br></div>