[linux-lvm] Joining physical volumes
paddy
paddy at panici.net
Mon Aug 14 21:58:51 UTC 2006
On Mon, Aug 14, 2006 at 10:56:38AM -0400, Stefan Monnier wrote:
>
> For historical reasons, my hard drive has now 3 contiguous physical
> partitions, all managed by LVM for the same volume group.
>
> I'd like to get rid of this silliness and turn those 3 partitions into
> just 1. I don't have much/any extra space available and I'd rather not
> have to resort to backup/format/restore.
>
> Is there some clever way to do that? Ideally, I should be able to do the
> conversion without moving the actual data at all since the same sectors
> will be available.
I've been in the same situation before and never gotten around to doing
anything about it, until I buy a new bigger disk :-)
If the partitions are truly contiguous (not DOS extended partitions for
instance), then the PEs should all be aligned the same and it ought to
be possible, in a similar fashion to what I describe in another thread
here. I don't have a pvmerge on my boxes, but then I don't have a
pvresize or a pvextend, so maybe I'm missing a few bits :-)
does parted do anything with HM LVM ?
backups are good :-)
Regards,
Paddy
--
Perl 6 will give you the big knob. -- Larry Wall
More information about the linux-lvm
mailing list