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

Re: moving LVM logical volumes to new disks



Igor Cicimov <icicimov@gmail.com> writes:

> On 13/11/2014 8:27 AM, "lee" <lee@yagibdah.de> wrote:
>>
>> Hi,
>>
>> what's the best way to move existing logical volumes or a whole volume
>> group to new disks?
>>
>> The target disks cannot be installed at the same time as the source
>> disks.  I will have to make some sort of copy over the network to
>> another machine, remove the old disks, install the new disks and put the
>> copy in place.
>>
>> Using dd doesn't seem to be a good option because extend sizes in the
>> old VG can be different from the extend sizes used in the new VG.
>>
>> The LVs contain VMs.  The VMs can be shut down during the migration.
>> It's not possible to make snapshots because the VG is full.
>>
>> New disks will be 6x1TB RAID-5, old ones are 2x74GB RAID-1 on a
>> ServeRaid 8k.  No more than 6 discs can be installed at the same time.
>>
>>
>> --
>> Again we must be afraid of speaking of daemons for fear that daemons
>> might swallow us.  Finally, this fear has become reasonable.
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>> Archive: [🔎] 874mu4cei0.fsf@yun.yagibdah.de">https://lists.debian.org/[🔎] 874mu4cei0.fsf@yun.yagibdah.de
>>
> How about this, sdf is one of the new disks sdb is old that needs
> replacement:
>
> Attach sdf and add it to the vg

Afaik it's rather difficult, if not impossible, to convince a ServeRaid
8k controller to present disks as JBOD.

If I could somehow install a 7th disk, moving would be much easier ...
The only USB disk I have is broken.


-- 
Again we must be afraid of speaking of daemons for fear that daemons
might swallow us.  Finally, this fear has become reasonable.


Reply to: