Re: Expanding an LVM partition at the front

2011-02-23 Thread Matthew Saltzman
On Mon, 2011-02-21 at 21:00 +0100, Roberto Ragusa wrote: > On 02/21/2011 08:17 PM, Matthew Saltzman wrote: > > So is there a utility that can move the front of a physical volume > > partition? (gparted and fdisk apparently can't). > > [...] > Another probably much safer solution would be: > >

Re: Expanding an LVM partition at the front

2011-02-21 Thread Roberto Ragusa
On 02/21/2011 09:17 PM, Richard Shaw wrote: > I'm not positive this would work and it certainly isn't elegant but... > > Could you just: > - Create a partition in the space preceding the current partition > - Add the partition to the existing vg > - Allocate those extents to the current lv > - Ex

Re: Expanding an LVM partition at the front

2011-02-21 Thread Richard Shaw
On Mon, Feb 21, 2011 at 2:00 PM, Roberto Ragusa wrote: > On 02/21/2011 08:17 PM, Matthew Saltzman wrote: >> I deleted the partition immediately in front of an LVM physical volume. >> I'd like to use the freed space as part of the LVM volume group.  I know >> I could create a new partition in the s

Re: Expanding an LVM partition at the front

2011-02-21 Thread Roberto Ragusa
On 02/21/2011 08:17 PM, Matthew Saltzman wrote: > I deleted the partition immediately in front of an LVM physical volume. > I'd like to use the freed space as part of the LVM volume group. I know > I could create a new partition in the same place, make it a physical > volume and add it to the grou

Expanding an LVM partition at the front

2011-02-21 Thread Matthew Saltzman
I deleted the partition immediately in front of an LVM physical volume. I'd like to use the freed space as part of the LVM volume group. I know I could create a new partition in the same place, make it a physical volume and add it to the group, but because the space is contiguous, I wondered if it