All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Cox <chris_cox@stercomm.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Reclaim free space
Date: Thu Dec 18 15:51:02 2003	[thread overview]
Message-ID: <3FE22101.8020602@stercomm.com> (raw)
In-Reply-To: <3FE21CA1.6040201@onsitetech.com>

Ian Burrell wrote:
> How do I reclaim the free space when a logical volume is reduced?  I am 
> using a volume group on one physical volume and three logical volumes.
> 
> I wanted to split off /usr/local and give it some space from reducing 
> another volume.  I shrank the existing logical volume with "ext2fsadm". 
>  After, the volume group had the same amount of free space as before. I 
> went ahead and created the new LV in that free space but would like to 
> make it bigger.  Now "vgdisplay" shows the volume group as being 
> completely full.  Except the allocated space for the logical volumes are 
> less than the total space.

1. Shrink the filesystem (sounds like you've done this).

2. Shrink the lv (lvreduce)... be careful!!

3. Expand the filesystem to fill any gap (error) in the lvreduce.

  parent reply	other threads:[~2003-12-18 15:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-18 15:32 [linux-lvm] Reclaim free space Ian Burrell
2003-12-18 15:44 ` Ian Burrell
2003-12-18 15:51 ` Chris Cox [this message]
2003-12-18 16:06 ` Heinz J . Mauelshagen

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=3FE22101.8020602@stercomm.com \
    --to=chris_cox@stercomm.com \
    --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.