[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] merge two lvms on same VG



On 09/05/2012 02:16 PM, tariq wali wrote:
> Hi, I had a situation to combine two LVM's on the same VG , other than
> wiping the existing ones and recreating a new one is there a way to
> merge the two on same VG ? 

No. You must delete one of the 2 and extend the remaining one.
If you don't have enough space to save all the data in the LV that you
want to delete, you can manually shrink the filesystem on it, shrink the
LV, extend the other LV, extend the filesystem and move data. Then
restart shrinking and extending until all the data is moved.


-- 
Flavio Visentin

A computer is like an air conditioner,
it stops working when you open Windows


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]