<div dir="ltr"><div>Guys , thanks much for your time on the issue, really appreciate it . I had tried everything suggested so far (lvresize/extend) updated filesystem tools etc </div><div><br></div><div>@Stuart D Gathman , YOU ARE THE MAN SIR :) and nailed it down .</div>
<div><br></div><div>I wanted to reproduce the same issue again and i did that not know how ignorant I was being ..</div><div><br></div><div><div># lvextend -L +40G /dev/vg0/bin-logs </div><div> Extending logical volume bin-logs to 110.00 GB</div>
<div> Logical volume bin-logs successfully resized</div></div><div><br></div><div><br></div><div><div>lvs</div><div> LV VG Attr LSize Origin Snap% Move Log Copy% Convert</div><div> bin-logs vg0 -wi-ao <b>110.00G</b> </div>
<div> data vg0 -wi-ao 380.00G </div></div><div><div><br></div></div><div><span class="Apple-style-span" style="background-color:rgb(255,255,255)"><font class="Apple-style-span" color="#ff0000">resize2fs /dev/vg0/bin-logs </font></span></div>
<div><div><span class="Apple-style-span" style="background-color:rgb(255,255,255)"><font class="Apple-style-span" color="#ff0000">resize2fs 1.39 (29-May-2006)</font></span></div><div><span class="Apple-style-span" style="background-color:rgb(255,255,255)"><font class="Apple-style-span" color="#ff0000">resize2fs: Filesystem has unsupported feature(s) while trying to open /dev/vg0/bin-logs</font></span></div>
<div><span class="Apple-style-span" style="background-color:rgb(255,255,255)"><font class="Apple-style-span" color="#ff0000">Couldn't find valid filesystem superblock.</font></span></div></div><div><br></div><div>#this is where I would get psyched , i did the same thing to all my ext2/3 filesystems and have extended file systems online without an issue for years ..but did I fforget the file system type this time , yes indeed I for got we have started doing ext4 on all our new servers and didn't realise ext4 fancies it's own bells and whistles ..</div>
<div><br></div><div>I ran the all new resize4fs as suggested by Stuart , and it made my day in fact it made for the whole week's frustration :)</div><div><br></div><div><div><font class="Apple-style-span" color="#33ff33" style="background-color:rgb(0,102,0)">resize4fs /dev/vg0/logs </font></div>
<div><font class="Apple-style-span" color="#33ff33" style="background-color:rgb(0,102,0)">resize4fs 1.41.12 (17-May-2010)</font></div><div><font class="Apple-style-span" color="#33ff33" style="background-color:rgb(0,102,0)">Filesystem at /dev/vg0/logs is mounted on /bin-logs; on-line resizing required</font></div>
<div><font class="Apple-style-span" color="#33ff33" style="background-color:rgb(0,102,0)">old desc_blocks = 7, new_desc_blocks = 9</font></div><div><font class="Apple-style-span" color="#33ff33" style="background-color:rgb(0,102,0)">Performing an on-line resize of /dev/vg0/logs to 37408768 (4k) blocks.</font></div>
<div><font class="Apple-style-span" color="#33ff33" style="background-color:rgb(0,102,0)"><br></font></div><div><font class="Apple-style-span" color="#33ff33"><span class="Apple-style-span" style="background-color:rgb(0,102,0)">The filesystem on /dev/vg0/logs is now 37408768 blocks long</span>.</font></div>
</div><div><br></div><div><br></div><div>lvs</div><div><div> LV VG Attr LSize Origin Snap% Move Log Copy% Convert</div><div> data vg0 -wi-ao 350.00G </div><div> logs vg0 -wi-ao <b style="background-color:rgb(0,102,0)">142.70G </b></div>
</div><div><br></div><div><br></div><div>PS: I am raving fan of lvm all over again :)</div><div><br></div><div><br></div><div>thanks everyone and issue closed !</div><div><br></div><div><br></div><div>Tariq</div><div><br>
</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><br><br><div class="gmail_quote">On Fri, Aug 24, 2012 at 5:25 PM, Stuart D Gathman <span dir="ltr"><<a href="mailto:stuart@bmsi.com" target="_blank">stuart@bmsi.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div>
<div>On 08/23/2012 11:18 AM, tariq wali
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr"><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"> lvresize
to extend an lvm ? how </span>
<div><font color="#222222" face="arial,
sans-serif"><br>
</font></div>
<div><font color="#222222" face="arial,
sans-serif">also I cant create a new lvm don't have that
much space and the to extend the new one and it would mean
downtime . don't think it's an issue with filesystem tools ,
lvm has NEVER been consistent in my case .<br>
</font><br>
</div>
</div>
</blockquote></div>
The resize2fs on RHEL5 does not support ext4. Your error message is
the one reported when you try to resize an ext4 filesystem with
ext2/ext3 tools. You need to either install e4fsprogrs and use
resize4fs (and e4fsck), or do the resize in the virtual machine you
are apparently running a newer OS in.<br>
</div>
<br>_______________________________________________<br>
linux-lvm mailing list<br>
<a href="mailto:linux-lvm@redhat.com" target="_blank">linux-lvm@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-lvm" target="_blank">https://www.redhat.com/mailman/listinfo/linux-lvm</a><br>
read the LVM HOW-TO at <a href="http://tldp.org/HOWTO/LVM-HOWTO/" target="_blank">http://tldp.org/HOWTO/LVM-HOWTO/</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><i style="background-color:rgb(255,0,0);color:rgb(0,102,0)">Tariq Wali.</i><span><span style="background-color:rgb(255,255,153)"></span></span><br>
</div><br>
</div>