Re: resize an LVM physical volume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Luca Berra <bluca <at> comedia.it> writes:

> 
> 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.
> 
> L.
> 


I did the test by changing the sector at the start and the same things happened
,the partion was no more in pvdisplay list (I'll be on client site can verify
that hope it must be the reason) , but What might happens that the fdisk changes
the start sector of a partition when we re-create a partition ?

Regards
Behzad


_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux