Index
Subject
: Re: LUG: How to physically resize a logical volume group?
From
: Jack Neely <jjneely@ncsu.[redacted]>
Date
: Wed, 27 Jul 2011 16:53:47 -0400
Parent
On Wed, Jul 27, 2011 at 02:31:23PM -0400, Quang Le wrote:
> Hi all,
>
> I have some unpartitioned space lying next to a (physical) partition
> containing a logical volume group, how can I merge 2 partitions into 1?
> I mean logically, I know how to add a space to a logical volume group;
> but I don' t like the fact that physically they are still 2 separate
> partitions.
>
> Please help this newbie, thanks!
>
Unless you really want to pretty much reinstall that computer I would
just add the spare partition as a physical volume. Add it to your
volume group and then grow your logical volume. Otherwise, you'd have
to destroy BOTH partitions to make one big partition.
Also, this kind of arrangement is what LVM is good at. You are already
using LVM so you wont see a performance hit by using two physical
volumes rather than one. (At least, not compared to just using the raw
partitions.)
Jack
--
Jack Neely <jjneely@ncsu.[redacted]>
Linux Czar, OIT Campus Linux Services
Office of Information Technology, NC State University
GPG Fingerprint: 1917 5AC1 E828 9337 7AA4 EA6B 213B 765F 3B6A 5B89
Replies
: