linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Bryn M. Reeves" <breeves@redhat.com>
To: tom@nethinks.com,
	LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Question about Physical volume
Date: Fri, 20 Oct 2006 10:25:51 +0100	[thread overview]
Message-ID: <4538961F.2030902@redhat.com> (raw)
In-Reply-To: <45388202.7070305@nethinks.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas Marmetschke wrote:
> Hi,
> 
> is it possible to extend a phyiscal volume?
> 
> I have a strange problem, i resized the /dev/sda4 partion (8e Linux LVM)
> from 130GB to 220GB. so far so good.
> 

Hi Thomas,

Depending on how recent your version of LVM2 is, you can use pvresize to
do this:

# pvresize /dev/hda2

This will autodetect the new size of the PV and grow it accordingly. One
thing I noticed was that after fdisking the partition, a reboot was
needed to get kernel to see the new size - partprobe does not seem to be
sufficient.

That might have been a quirk though - check the partition sizes in
/proc/partitions to be sure.

Thanks,

Bryn.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFFOJYf6YSQoMYUY94RAuw3AJ9WIBaHGASEcJiIentE+nTJ89nRzwCgh6PD
Aw822Rs8DA7VsQGTaIms4z0=
=80Uw
-----END PGP SIGNATURE-----

  parent reply	other threads:[~2006-10-20  9:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-20  8:00 [linux-lvm] Question about Physical volume Thomas Marmetschke
2006-10-20  8:18 ` Mario Verbelen
2006-10-20  9:04 ` Choque Virtual Informations
2006-10-20  9:25 ` Bryn M. Reeves [this message]
2006-10-20 10:08   ` Thomas Marmetschke
2006-10-20 10:27     ` Bryn M. Reeves

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=4538961F.2030902@redhat.com \
    --to=breeves@redhat.com \
    --cc=linux-lvm@redhat.com \
    --cc=tom@nethinks.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).