linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Bryn M. Reeves" <bmr@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] shrink VG and PV
Date: Tue, 18 May 2010 10:38:30 +0100	[thread overview]
Message-ID: <4BF26016.5030100@redhat.com> (raw)
In-Reply-To: <4BF25A40.7060304@redhat.com>

On 05/18/2010 10:13 AM, Bryn M. Reeves wrote:
> Once you have done this you should be able to issue pvresize with
> --physicalvolumesize as in your first post to reduce the space used by
> LVM2. Once that's done you can shrink your sda2 partition (note that
> this last step will likely still need a reboot - the kernel is still not
> at all happy about modifying in-use partitions, even for shrinking).

More detailed example here:

http://pastebin.org/246926

Regards,
Bryn.

      reply	other threads:[~2010-05-18  9:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-17 19:44 [linux-lvm] shrink VG and PV Dael Elcar
2010-05-17 20:56 ` Malahal Naineni
2010-05-17 21:14 ` Malahal Naineni
2010-05-17 21:30   ` Stuart D. Gathman
2010-05-18  5:29     ` kanonmatswe
2010-05-18  9:13       ` Bryn M. Reeves
2010-05-18  9:38         ` Bryn M. Reeves [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=4BF26016.5030100@redhat.com \
    --to=bmr@redhat.com \
    --cc=linux-lvm@redhat.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).