That helps a lot. <br><br>Thank you very much!<br><br><div class="gmail_quote">On Mon, Sep 28, 2009 at 10:10 AM, Stuart D. Gathman <span dir="ltr"><<a href="mailto:stuart@bmsi.com">stuart@bmsi.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">On Mon, 28 Sep 2009, Yu Huang wrote:<br>
<br>
> I am new to lvm. I have installed my ubuntu 8.04 on LVM in my machine.<br>
><br>
> I created a volume for the root partition. I used lvextend to extend the<br>
> size of the root volume.<br>
> In lvdisplay, it shows the LV size is 25.00G. But when I use df, it shows<br>
> the size of the root volume is<br>
> 5.00G, which is the original size I allocated to it.<br>
><br>
> Am I missing something here?<br>
<br>
</div></div>Definitely.  Df shows the filesystem size, not the LV size.  You probably<br>
want to extend the filesystem to match the LV.  In EL5, 'resize2fs' will<br>
resize a filesystem while it is mounted (Leave out the size, and it will resize<br>
to match the LV).  If the version on your Ubuntu doesn't know how to<br>
resize online, then you'll have to boot from CD or USB and run resize2fs.<br>
<br>
--<br>
              Stuart D. Gathman <<a href="mailto:stuart@bmsi.com">stuart@bmsi.com</a>><br>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154<br>
"Confutatis maledictis, flammis acribus addictis" - background song for<br>
a Microsoft sponsored "Where do you want to go from here?" commercial.<br>
<br>
_______________________________________________<br>
linux-lvm mailing list<br>
<a href="mailto:linux-lvm@redhat.com">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>