[linux-lvm] resize an LVM physical volume
bluca at comedia.it
Wed Apr 21 05:38:11 UTC 2010
On Tue, Apr 20, 2010 at 01:19:42PM +0000, behzad r wrote:
>On client system there is a lun(EMC) that contains one partition /dev/sde1 , the partition is already enveloped by LVM , they have increased the lun but I need to increase the physical partition /dev/sde1 , I have created the following procedure that is working on virtualized linux node on primergy
>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
probably the partition has been created, as per EMC specification, with
an offset bigger than 63 sectors, so when you destroy it and recreate it
does not start anymore in the same place.
A better solution would have been, as Philip said, not to partition at
all, and align the start of the data, but since you are there, you could
try using a different tool, i.e. parted to extend the partition instead
of recreating with fdisk.
Luca Berra -- bluca at comedia.it
Communication Media & Services S.r.l.
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
More information about the linux-lvm