On Mon, Jun 21, 2021 at 10:29 PM <duparchy@esrf.fr> wrote:
Hi,
What are the internal commands used to clone LVM partitions ?
Are you sure this is the right mailing list?
(you can simply indicate me the source code where this is done)
If you mean how we copy disks lvm based disks (e.g. on FC/iSCSI storage domain),
we use this:
https://github.com/oVirt/vdsm/blob/4f728377f6cd6950035a7739014737789a4d6f14/lib/vdsm/storage/qemuimg.py#L232
Most flows uses this API for copying disks:
https://github.com/oVirt/vdsm/blob/master/lib/vdsm/storage/sdm/api/copy_data.py
Nir