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] pvscan showing 0 free on all PV's.
Date: Fri Sep 19 05:46:01 2003	[thread overview]
Message-ID: <20030919123523.P2618@sistina.com> (raw)
In-Reply-To: <3F68AE62.7000103@tupshin.com>; from tupshin@tupshin.com on Wed, Sep 17, 2003 at 11:56:34AM -0700

On Wed, Sep 17, 2003 at 11:56:34AM -0700, Tupshin Harper wrote:
> Rene Olsen wrote:
> 
> > So what I should do is the following:
> >
> > Lets say the 200GB disc is 6000 PE's big.
> >
> > e2fsadm -v -l -6076 /dev/vol1/lv_vol
> 
> yup,
> 
> > This should make the lvm 200GB smaler.
> >
> > Then after that I do
> >
> > pvmove /dev/hdh1
> 
> Not yet. e2fsadm reduced the size of the filesystem. But you need to 
> then reduce the sze of the lvm with:
> lvreduce -l 6076 /dev/vol1/lv_vol
> Then use the pvmove command.

No need to lvreduce after running e2fsadm.

e2fsadm extends/reduces an unmounted ext[23] and grows/shrinks the Logical
Volume as well (unless a not automatically fixible fsck error occurs).

> 
> -Tupshin
> 
> 
> _______________________________________________
> 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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  reply	other threads:[~2003-09-19  5:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-17  7:07 [linux-lvm] pvscan showing 0 free on all PV's Rene Olsen
2003-09-17 13:57 ` Tupshin Harper
2003-09-19  5:46   ` Heinz J . Mauelshagen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-09-16 13:19 Rene Olsen
2003-09-16 13:57 ` Tupshin Harper
2003-09-17  1:54   ` Rickard Olsson
2003-09-17  2:02     ` Tupshin Harper
2003-09-17  7:07   ` Tracy R Reed
2003-09-18  0:29     ` Rickard Olsson

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=20030919123523.P2618@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.