Expanding an LVM partition at the front
Matthew Saltzman
mjs at clemson.edu
Thu Feb 24 01:55:03 UTC 2011
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:
>
> - get a spare disk (even USB external one)
> - create new PV, add to VG, pvmove your PV to the new PV
> - destroy and recreate your PV
> - pvmove from USB PV to enlarged PV
> - remove USB PV
>
> This is less error prone. It can happen while the filesystem is R/W mounted too.
>
That sounds like a better idea. (Probably slower though.)
Thanks.
--
Matthew Saltzman
Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs
More information about the users
mailing list