All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cameron Hutchison <camh@xdna.net>
To: LVM <linux-lvm@sistina.com>
Subject: Re: [linux-lvm] I'm confused
Date: Sat Dec  7 22:07:02 2002	[thread overview]
Message-ID: <20021208040653.GF12437@orthanc> (raw)
In-Reply-To: <3DF2B8D1.7070702@machturtle.com>

Once upon a time David Corbin said...
>
> I'm having trouble reconciling the 436MB   of the "df" with the VG Size 
> of vgdisplay.  Obviously something is wrong somewhere.  I KNOW I'm no 
> where near using up my 120G drive yet.

Nothing is wrong. Generally you can't directly reconcile the output of
df with the VG size. df output correlates to LV sizes.

Here's what you've got:

> VG Size               109.77 GB

Your volume group (vg0) is about 110GB (I gather the other 10GB of your
drive is allocated to other partitions).

> Alloc PE / Size       109 / 436 MB

You've used up (allocated) 436MB of the volume group

> Free  PE / Size       27993 / 109.35 GB

You have still almost 110GB free (since you allocated only 436MB)

> lvscan -- ACTIVE            "/dev/vg0/data" [436 MB]

Your data partition is the only LV and that is using the 436MB used in
vg0.

> /dev/vg0/data           446444    444448      1996 100% /data

Your filesystem on /dev/vg0/data is using the entire 436MB of the
partition. And its full.


What you need to do now is extend your logical volume to allocate more
space to it. Then resize the filesystem. If you have an ext2/ext3
filesystem, you use "e2fsadm --size ...". If you have xfs, you use
"xfs_growfs ...". I dont know about other filesystem types.

eg. to add 10G to your data partition (assuming xfs - that's what I use):
# lvextend --size +10G /dev/vg0/data
# xfs_growfs /dev/vg0/data

df(1) should now show a large filesystem with much more space.

  reply	other threads:[~2002-12-07 22:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-07 21:13 [linux-lvm] I'm confused David Corbin
2002-12-07 22:07 ` Cameron Hutchison [this message]
2002-12-08  5:25   ` David Corbin
2002-12-08 16:44     ` Pantaleimon
2002-12-08 20:09       ` Steven Lembark
2002-12-09  4:16         ` William Blunn
2002-12-09  4:29       ` William Blunn
2002-12-09  8:13         ` Pantaleimon

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=20021208040653.GF12437@orthanc \
    --to=camh@xdna.net \
    --cc=linux-lvm@sistina.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.