linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@enel.ucalgary.ca>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] shrink issue
Date: Wed, 17 Oct 2001 15:37:27 -0600 (MDT)	[thread overview]
Message-ID: <200110172137.f9HLbRK05494@munet-d.enel.ucalgary.ca> (raw)
In-Reply-To: <E15txpF-0008F2-00@hermes.sistina.com> from "FEJF" at Oct 17, 2001 11:03:42 PM

FEJF writes:
> Andreas Dilger, on Mittwoch, 17. Oktober 2001 22:53 wrote:
> > On Oct 17, 2001  21:24 +0200, FEJF wrote:
> > > is it possible to tell the lvmtools (when shrinking a lvm-volume with 
> > > resizereiserfs and lvreduce) which hd should be used for free space and 
> > > which should stay in the lvm ?
> > 
> > No.  When you reduce the size of an LV, the free space is made from the end
> > of the LV only.  If you want to make a particular PV free, then you need to
> > use "pvmove" to free any PEs that are allocated on it.
> 
> hmm... does "the end" means the last harddrive when counting hda, hdb...etc ?
> f.e. if i have a hdb, hdc,hdd in the lvm and want the hdc free - does it help 
> to change the hdc to hde an reduce the lvm then ?

No, the "end" means whatever PE happens to be the highest numbered one in the
LV you want to resize.  See "lvdisplay -v /dev/vgname/lvname" for the details.

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

      reply	other threads:[~2001-10-17 21:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-17 19:24 [linux-lvm] shrink issue FEJF
2001-10-17 20:53 ` Andreas Dilger
2001-10-17 21:03   ` FEJF
2001-10-17 21:37     ` Andreas Dilger [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=200110172137.f9HLbRK05494@munet-d.enel.ucalgary.ca \
    --to=adilger@enel.ucalgary.ca \
    --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 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).