linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Yu Huang <paulhybryant@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] lvm can not be extended
Date: Mon, 28 Sep 2009 10:22:41 -0700	[thread overview]
Message-ID: <3b0f6ce80909281022x278fac22s385c889c43b3ca1@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0909281307510.30380@bmsred.bmsi.com>

[-- Attachment #1: Type: text/plain, Size: 1430 bytes --]

That helps a lot.

Thank you very much!

On Mon, Sep 28, 2009 at 10:10 AM, Stuart D. Gathman <stuart@bmsi.com> wrote:

> On Mon, 28 Sep 2009, Yu Huang wrote:
>
> > I am new to lvm. I have installed my ubuntu 8.04 on LVM in my machine.
> >
> > I created a volume for the root partition. I used lvextend to extend the
> > size of the root volume.
> > In lvdisplay, it shows the LV size is 25.00G. But when I use df, it shows
> > the size of the root volume is
> > 5.00G, which is the original size I allocated to it.
> >
> > Am I missing something here?
>
> Definitely.  Df shows the filesystem size, not the LV size.  You probably
> want to extend the filesystem to match the LV.  In EL5, 'resize2fs' will
> resize a filesystem while it is mounted (Leave out the size, and it will
> resize
> to match the LV).  If the version on your Ubuntu doesn't know how to
> resize online, then you'll have to boot from CD or USB and run resize2fs.
>
> --
>              Stuart D. Gathman <stuart@bmsi.com>
>    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
> "Confutatis maledictis, flammis acribus addictis" - background song for
> a Microsoft sponsored "Where do you want to go from here?" commercial.
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>

[-- Attachment #2: Type: text/html, Size: 2116 bytes --]

      reply	other threads:[~2009-09-28 17:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-28 17:05 [linux-lvm] lvm can not be extended Yu Huang
2009-09-28 17:10 ` Stuart D. Gathman
2009-09-28 17:22   ` Yu Huang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3b0f6ce80909281022x278fac22s385c889c43b3ca1@mail.gmail.com \
    --to=paulhybryant@gmail.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).