All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Heinz J . Mauelshagen" <mauelshagen@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Reclaim free space
Date: Thu Dec 18 16:06:02 2003	[thread overview]
Message-ID: <20031218230029.C18654@sistina.com> (raw)
In-Reply-To: <3FE21CA1.6040201@onsitetech.com>; from ib@onsitetech.com on Thu, Dec 18, 2003 at 01:31:13PM -0800

On Thu, Dec 18, 2003 at 01:31:13PM -0800, 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". 

Hi Ian,

did e2fsadm display some error ?
That would explain that you didn't get more free space in the VG,
because the LV won't be reduced in that case.

I guess with 'allocated space' you mean the sum of the filesystem space.
Check with "tune2fs -l ..." what the actual filesystem sizes are
and how that fits the LV sizses (vgdisplay -v / lvdisplay -v /dev/VG/LV).

>   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.
> 
>   - Ian
> 
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

      parent reply	other threads:[~2003-12-18 16:06 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
2003-12-18 16:06 ` Heinz J . Mauelshagen [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=20031218230029.C18654@sistina.com \
    --to=mauelshagen@sistina.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.