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

Re: clone LVM disk to a larger disk



Gilles Mocellin:
> On dim. 05 juin 2011 16:51:26 CEST, Jochen Schulz <ml@well-adjusted.de> wrote:
>> 
>> What I would probably do is:
>> 
>> - install new disk alongside the old one
>> - put one big partition on the new disk and pvcreate the partition
>> - vgextend the existing VG with the new partition
>> - vgreduce the VG, removing the old disk's partitions
> 
> You certainly forget a pvmove of the partitions between vgextend and vgreduce.

Whoops! :) Leaving it out makes the process much faster, though. You
just don't get to keep your data. In my defence, vgreduce doesn't work
for PVs still in use.

J.
-- 
My clothes aren't just fashion. They're a lifestyle.
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: Digital signature


Reply to: