From: Phillip Susi <psusi@cfl.rr.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: behzad r <b_rahimi@hotmail.com>
Subject: Re: [linux-lvm] resize an LVM physical volume
Date: Tue, 20 Apr 2010 10:23:09 -0400 [thread overview]
Message-ID: <4BCDB8CD.7030303@cfl.rr.com> (raw)
In-Reply-To: <SNT144-w65AE38C3AAEDE1D8396FA3E40A0@phx.gbl>
On 4/20/2010 9:19 AM, behzad r wrote:
> umount /partition that must be increased
> pvdisplay /dev/sde2 | grep VG
> vgchange -a n myvg
> fdisk /dev/sde
> delete the partition and recreate a new one with same start cylinder and
> increase the number of cylinder
> pvresize /dev/sde1
> vgchange -a y myvg
> reiserfsck /dev/myvg/mylv
If you use the full disk as the physical volume instead of partitioning
it, then you would not need to take it offline to extend it.
> but on bladeframe when I use the fdisk to increase the partition the
> system destroy everything the physical volume reject the partion
> /dev/sde1 (when I run pvdisplay it's not on the list anymore)and all the
> data is destroyed I got a feeling that fdisk remove the /dev/sda1 and
> re-create a new one
> here is the kernel information concerning the bladeframe
It sounds like fdisk did not recreate the partition with exactly the
same start location. It is best to put fdisk into sector mode when
doing things like this so that it will not round cylinder numbers and
possibly hide minor changes from you.
next prev parent reply other threads:[~2010-04-20 14:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-20 13:19 [linux-lvm] resize an LVM physical volume behzad r
2010-04-20 14:23 ` Phillip Susi [this message]
2010-04-21 5:38 ` Luca Berra
2010-04-21 14:58 ` behzad
2010-04-22 6:13 ` Luca Berra
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=4BCDB8CD.7030303@cfl.rr.com \
--to=psusi@cfl.rr.com \
--cc=b_rahimi@hotmail.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).