Skip to contentSkip to conversation

How to clone LVM disk?

linux-lvm Stanislaw Senotrusov 1 participant 1 message Aug 3, 2006

lore
Share & tools
lore
#0 lore raw

Going further.

I need to clone LVM disks on regular basics, so I am trying to build some pipeline around it.

I cloned SRC disk to DST. Adjusted LVM partition on DST to fit disk. Successfully booted from it.

One day I might need to connect SRC and DST disks at the same machine, same time.

Trying to do that resulted in a system failure. I can change PV and VG uuids on DST disk, but I cant find how to change LV uuid and VG name. Maybe there are some other things to do on DST disk – did't noticed yet.

Is there any way to connect two cloned LVM disks at the same time?

Signature · 1 line
Stas Senotrusov