<div dir="ltr"><div class="gmail_quote"><br><div dir="ltr">Hi, i was a big fan of lvm and used to advocate it's use at my workplace but each time i try to use lvreduce or lvextend on production it has ALWAYS been a major let down and messed up our production data and caused major outages and not to forget the big stick up *** . <div>

<br></div><div>please look at the sequence and this is what I did</div><div><br></div><div> vgs<div>  VG   #PV #LV #SN Attr   VSize   VFree </div><div>  vg0    1   2   0 wz--n- 492.72G     <b> 42.72G</b></div><div><b><br>

</b></div><div><b>df -kh</b></div><div><b>/dev/mapper/vg0-logs   99G   43G   52G  46% /bin-logs</b></div><div><b><br></b></div><div>I wanted to use the free 42.7 G and allocate it to /bin-logs so this is what I ran in order to extended</div>

<div><br></div><div><div># lvextend -L +42.7G -n /dev/vg0/logs</div><div>  Rounding up size to full physical extent 42.70 GB</div><div>  Extending logical volume logs to 142.70 GB</div><div>  Logical volume logs successfully resized</div>

</div><div><br></div><div><div>#resize2fs /dev/vg0/logs    ( and it gets screwed up here )</div><div>resize2fs 1.39 (29-May-2006)</div><div><b>resize2fs: Filesystem has unsupported feature(s) while trying to open /dev/vg0/logs</b></div>

<div><b>Couldn't find valid filesystem superblock.</b></div></div><div><b><br></b></div><div>and the free space of 42.7G is also gone , </div><div><br></div><div> # vgs</div><div>  VG   #PV #LV #SN Attr   VSize   VFree </div>

<div>  vg0    1   2   0 wz--n- 492.72G  <b> 20.00M</b></div><div><b><br></b></div><div><b><div>lvm version</div><div>  LVM version:     2.02.88(2)-RHEL5 (2012-01-20)</div><div>  Library version: 1.02.67-RHEL5 (2011-10-14)</div>

<div>  Driver version:  4.11.6</div><div><br></div></b></div><div><b><br></b></div><div>It' so annoying to see this happen , from what I know that's the cmd sequence to extend an existing LVM online , now I am not sure what this did to my filesystem and  hoping it hasn't ****ED my data yet .</div>

<div><br></div><div>your insights would greatly be appreciated .</div><span class="HOEnZb"><font color="#888888"><div><br></div><div><br></div><div> </div><div><br></div><div><br></div><div><br></div><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>
</font></span></div></div>
</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>