Resizing a partition used by LVM
Ewan Mac Mahon
ewan at macmahon.me.uk
Sat Sep 9 12:22:17 UTC 2006
On Fri, Sep 08, 2006 at 10:40:56PM +0100, Tony Arnold wrote:
> I'm struggling to find any information on this. I've resize my physical
> volume and now I want to resize the partition that it is in. However,
> gparted won't do it; the move/resize option is greyed out for partitions
> of type LVM. I've tried it by booting from the Ubuntu desktop CD.
>
> Any suggestions?
I think this is one of those classic "don't do that" sorts of things;
the idea with LVM being that you mostly leave the PVs alone and just
rearrange the LVs on top. Have you got/can you borrow enough spare
storage to add a new PV to your volume group, pvmove all the data off
the current one, remove it from the VG, nuke it, recreate it how you
want, re-add it, then pvmove everything back again?
Is there no way of doing whatever you're actually trying to acheive at
the LV layer without altering the PVs?
Ewan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060909/49c07689/attachment.sig>
More information about the ubuntu-users
mailing list