[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [linux-lvm] resize an LVM physical volume
- 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
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.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]