[linux-lvm] How to "clone" a logical volume
mangoo at wpkg.org
Fri Mar 7 15:44:08 UTC 2008
Lionel Kernux schrieb:
> Here's what I'm trying to do:
> I have an LV that is being used as a physical disk for a XEN virtual machine.
> I want to "clone" the VM.
> lvcreate -L 75G -n virtualmachine_clone_lv VG00
> dd if=/path/to/virtualmachine_lv of=/path/to/virtualmachine_clone_lvT
> This method would be perfect if it wasn't for the fact that now I have
> 2 LV's with the same uuid....not good...
What UUID are you talking about here? Filesystem UUID, or LVM UUID?
If about LVM UUID, it will not be the same if you dd a LV - UUID is
stored somewhere else.
Filesystem UUID (if any) will remain the same, of course, as it's the
More information about the linux-lvm